Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for its (0.12 sec)

  1. internal/auth/credentials.go

    		return cred.Claims[iamPolicyClaimNameSA] == "inherited-policy"
    	}
    	return false
    }
    
    // IsValid - returns whether credential is valid or not.
    func (cred Credentials) IsValid() bool {
    	// Verify credentials if its enabled or not set.
    	if cred.Status == AccountOff {
    		return false
    	}
    	return IsAccessKeyValid(cred.AccessKey) && IsSecretKeyValid(cred.SecretKey) && !cred.IsExpired()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 11.7K bytes
    - Viewed (0)
Back to top