- Sort Score
- Result 10 results
- Languages All
Results 11 - 12 of 12 for isExpired (0.08 sec)
-
cmd/iam-store.go
// credential. func (store *IAMStoreSys) SetTempUser(ctx context.Context, accessKey string, cred auth.Credentials, policyName string) (time.Time, error) { if accessKey == "" || !cred.IsTemp() || cred.IsExpired() || cred.ParentUser == "" { return time.Time{}, errInvalidArgument } ttl := int64(cred.Expiration.Sub(UTCNow()).Seconds()) cache := store.lock() defer store.unlock()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Oct 14 16:35:37 UTC 2024 - 83.2K bytes - Viewed (0) -
cmd/site-replication.go
fmt.Errorf("Unable to heal service account from peer site %s -> %s : %w", latestPeerName, peerName, err), fmt.Sprintf("heal-user-%s", user)) } continue } if creds.IsTemp() && !creds.IsExpired() { var parentPolicy string u, err := globalIAMSys.GetUserInfo(ctx, creds.ParentUser) if err != nil { // Parent may be "virtual" (for ldap, oidc, client tls auth,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 185.1K bytes - Viewed (0)