Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/iam.go

    	m := make(map[string]interface{})
    	m[parentClaim] = parentUser
    
    	if len(policyBuf) > 0 {
    		m[policy.SessionPolicyName] = base64.StdEncoding.EncodeToString(policyBuf)
    		m[iamPolicyClaimNameSA()] = embeddedPolicyType
    	} else {
    		m[iamPolicyClaimNameSA()] = inheritedPolicyType
    	}
    
    	// Add all the necessary claims for the service account.
    	for k, v := range opts.claims {
    		_, ok := m[k]
    		if !ok {
    			m[k] = v
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    	// sessionPolicy is nil and there is embedded policy attached we remove
    	// embedded policy at that point.
    	if _, ok := m.Lookup(policy.SessionPolicyName); ok && nosp {
    		m.Delete(policy.SessionPolicyName)
    		m.Set(iamPolicyClaimNameSA(), inheritedPolicyType)
    	}
    
    	if opts.sessionPolicy != nil { // session policies is being updated
    		if err := opts.sessionPolicy.Validate(); err != nil {
    			return updatedAt, err
    		}
    
    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