Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetRoleInfo (0.13 sec)

  1. internal/config/identity/openid/openid.go

    	}
    	for _, v := range r.arnProviderCfgsMap {
    		if v.provider != nil {
    			return true
    		}
    	}
    	return false
    }
    
    // GetRoleInfo - returns ARN to policies map if a role policy based openID
    // provider is configured. Otherwise returns nil.
    func (r Config) GetRoleInfo() map[arn.ARN]string {
    	for _, p := range r.arnProviderCfgsMap {
    		if p.RolePolicy != "" {
    			return r.roleArnPolicyMap
    		}
    	}
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. cmd/iam.go

    	// Load RoleARNs
    	sys.rolesMap = make(map[arn.ARN]string)
    
    	// From OpenID
    	if riMap := sys.OpenIDConfig.GetRoleInfo(); riMap != nil {
    		sys.validateAndAddRolePolicyMappings(ctx, riMap)
    	}
    
    	// From AuthN plugin if enabled.
    	if authn := newGlobalAuthNPluginFn(); authn != nil {
    		riMap := authn.GetRoleInfo()
    		sys.validateAndAddRolePolicyMappings(ctx, riMap)
    	}
    
    	// Load IAM data from storage.
    	for {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
Back to top