Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TokenRevokeType (0.1 sec)

  1. cmd/iam.go

    // RevokeTokens - revokes all STS tokens, or those of specified type, for a user
    // If `tokenRevokeType` is empty, all tokens are revoked.
    func (sys *IAMSys) RevokeTokens(ctx context.Context, accessKey, tokenRevokeType string) error {
    	if !sys.Initialized() {
    		return errServerNotInitialized
    	}
    
    	return sys.store.RevokeTokens(ctx, accessKey, tokenRevokeType)
    }
    
    // DeleteUser - delete user (only for long-term users not STS users).
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 76.5K bytes
    - Viewed (0)
  2. cmd/sts-handlers_test.go

    		assumeRole := cr.STSAssumeRole{
    			Client:      s.TestSuiteCommon.client,
    			STSEndpoint: s.endPoint,
    			Options: cr.STSAssumeRoleOptions{
    				AccessKey:       accessKey,
    				SecretKey:       secretKey,
    				TokenRevokeType: tc.tokenType,
    			},
    		}
    
    		value, err := assumeRole.Retrieve()
    		if err != nil {
    			c.Fatalf("err calling assumeRole: %v", err)
    		}
    
    		minioClient, err := minio.New(s.endpoint, &minio.Options{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 103.4K bytes
    - Viewed (1)
Back to top