Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for iamPolicyClaimNameSA (0.16 sec)

  1. internal/auth/credentials.go

    func (cred Credentials) IsServiceAccount() bool {
    	_, ok := cred.Claims[iamPolicyClaimNameSA]
    	return cred.ParentUser != "" && ok
    }
    
    // IsImpliedPolicy - returns if the policy is implied via ParentUser or not.
    func (cred Credentials) IsImpliedPolicy() bool {
    	if cred.IsServiceAccount() {
    		return cred.Claims[iamPolicyClaimNameSA] == "inherited-policy"
    	}
    	return false
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. cmd/utils.go

    		return globalMinioModeErasureSD
    	default:
    		return globalMinioModeFS
    	}
    }
    
    func iamPolicyClaimNameOpenID() string {
    	return globalIAMSys.OpenIDConfig.GetIAMPolicyClaimName()
    }
    
    func iamPolicyClaimNameSA() string {
    	return "sa-policy"
    }
    
    // On MinIO a directory object is stored as a regular object with "__XLDIR__" suffix.
    // For ex. "prefix/" is stored as "prefix__XLDIR__"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
Back to top