- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IsImpliedPolicy (0.13 sec)
-
internal/auth/credentials.go
func (cred Credentials) IsServiceAccount() bool { _, ok := cred.Claims[iamPolicyClaimNameSA] return cred.ParentUser != "" && ok } // IsImpliedPolicy - returns if the policy is implied via ParentUser or not. func (cred Credentials) IsImpliedPolicy() bool { if cred.IsServiceAccount() { return cred.Claims[iamPolicyClaimNameSA] == "inherited-policy" } return false }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 28 17:14:16 UTC 2024 - 12K bytes - Viewed (0) -
cmd/admin-handlers-users.go
Description: svc.Description, ParentUser: svc.ParentUser, Name: svc.Name, AccountStatus: svc.Status, AccessKey: svc.AccessKey, ImpliedPolicy: svc.IsImpliedPolicy(), Expiration: &expiryTime, }) } listResp := madmin.ListServiceAccountsResp{ Accounts: serviceAccountList, } data, err := json.Marshal(listResp) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 03 23:11:02 UTC 2024 - 85.1K bytes - Viewed (0)