Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetRoleInfo (0.05 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  2. internal/config/identity/plugin/config.go

    			Failure: &result,
    		}, nil
    
    	default:
    		return AuthNResponse{}, fmt.Errorf("Invalid status code %d from auth plugin", resp.StatusCode)
    	}
    }
    
    // GetRoleInfo - returns ARN to policies map.
    func (o *AuthNPlugin) GetRoleInfo() map[arn.ARN]string {
    	return map[arn.ARN]string{
    		o.args.RoleARN: o.args.RolePolicy,
    	}
    }
    
    // checkConnectivity returns true if we are able to connect to the plugin
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  3. cmd/iam.go

    	// Initialize RoleARNs
    	sys.rolesMap = make(map[arn.ARN]string)
    
    	// From OpenID
    	maps.Copy(sys.rolesMap, sys.OpenIDConfig.GetRoleInfo())
    
    	// From AuthN plugin if enabled.
    	if authn := newGlobalAuthNPluginFn(); authn != nil {
    		maps.Copy(sys.rolesMap, authn.GetRoleInfo())
    	}
    
    	sys.printIAMRoles()
    	sys.Unlock()
    
    	retryCtx, cancel := context.WithCancel(ctx)
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 76.5K bytes
    - Viewed (0)
Back to top