Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getUserIdentityPath (0.22 sec)

  1. cmd/iam-etcd-store.go

    	if u.Credentials.IsExpired() {
    		// Delete expired identity.
    		deleteKeyEtcd(ctx, ies.client, getUserIdentityPath(user, userType))
    		deleteKeyEtcd(ctx, ies.client, getMappedPolicyPath(user, userType, false))
    		return nil
    	}
    	if u.Credentials.AccessKey == "" {
    		u.Credentials.AccessKey = user
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. cmd/iam-object-store.go

    	var u UserIdentity
    	err := iamOS.loadIAMConfig(ctx, &u, getUserIdentityPath(user, userType))
    	if err != nil {
    		if err == errConfigNotFound {
    			return u, errNoSuchUser
    		}
    		return u, err
    	}
    
    	if u.Credentials.IsExpired() {
    		// Delete expired identity - ignoring errors here.
    		iamOS.deleteIAMConfig(ctx, getUserIdentityPath(user, userType))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  3. cmd/iam-store.go

    }
    
    func newIAMFormatVersion1() iamFormat {
    	return iamFormat{Version: iamFormatVersion1}
    }
    
    func getIAMFormatFilePath() string {
    	return iamConfigPrefix + SlashSeparator + iamFormatFile
    }
    
    func getUserIdentityPath(user string, userType IAMUserType) string {
    	var basePath string
    	switch userType {
    	case svcUser:
    		basePath = iamConfigServiceAccountsPrefix
    	case stsUser:
    		basePath = iamConfigSTSPrefix
    	default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
Back to top