Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewIAMRoleARN (0.12 sec)

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

    // DummyRoleARN is used to indicate that the user associated with it was
    // authenticated via policy-claim based OpenID provider.
    var DummyRoleARN = func() arn.ARN {
    	v, err := arn.NewIAMRoleARN("dummy-internal", "")
    	if err != nil {
    		panic("should not happen!")
    	}
    	return v
    }()
    
    // Config - OpenID Config
    type Config struct {
    	Enabled bool
    
    	// map of roleARN to providerCfg's
    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. internal/config/identity/plugin/config.go

    			return args, config.Errorf("Role ID must match the regexp `^[a-zA-Z0-9_-]+$`")
    		}
    
    		// Use the user provided ID here.
    		resourceID += roleID
    	}
    
    	roleArn, err := arn.NewIAMRoleARN(resourceID, serverRegion)
    	if err != nil {
    		return args, config.Errorf("unable to generate ARN from the plugin config: %v", err)
    	}
    
    	args = Args{
    		URL:         u,
    		AuthToken:   authToken,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top