Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetTempUser (0.05 sec)

  1. cmd/iam.go

    func (sys *IAMSys) SetTempUser(ctx context.Context, accessKey string, cred auth.Credentials, policyName string) (time.Time, error) {
    	if !sys.Initialized() {
    		return time.Time{}, errServerNotInitialized
    	}
    
    	if newGlobalAuthZPluginFn() != nil {
    		// If OPA is set, we do not need to set a policy mapping.
    		policyName = ""
    	}
    
    	updatedAt, err := sys.store.SetTempUser(ctx, accessKey, cred, policyName)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    		store.group.Forget(accessKey)
    	}
    
    	cache.updatedAt = time.Now()
    
    	return err
    }
    
    // SetTempUser - saves temporary (STS) credential to storage and cache. If a
    // policy name is given, it is associated with the parent user specified in the
    // credential.
    func (store *IAMStoreSys) SetTempUser(ctx context.Context, accessKey string, cred auth.Credentials, policyName string) (time.Time, error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 86.7K bytes
    - Viewed (0)
Back to top