Class: Aws::CredentialBrokerControl::Types::CustomOAuthConfigurationInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb

Overview

Settings for a provider that obtains credentials from an OAuth authorization server the service has no built-in knowledge of. Because nothing can be inferred about the server, oauthDiscovery is required so its endpoints are either discovered or stated.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_authentication_configuration ⇒ Types::ClientAuthenticationConfigurationInput

The OAuth client credentials a provider uses to authenticate to its authorization server. Supply this when creating a provider; on update, omit it to leave the existing client unchanged. Any client secret given here is write-only and is never returned on reads.



903
904
905
906
907
908
909
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 903

class CustomOAuthConfigurationInput < Struct.new(
  :client_authentication_configuration,
  :oauth_discovery,
  :on_behalf_of_token_exchange_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#oauth_discovery ⇒ Types::OAuthDiscovery

How the authorization server's OAuth endpoints are determined. Set exactly one member: give a discovery URL and let the service fetch the endpoints, or state the endpoints yourself. On reads, this reports the endpoints the service resolved and is using.



903
904
905
906
907
908
909
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 903

class CustomOAuthConfigurationInput < Struct.new(
  :client_authentication_configuration,
  :oauth_discovery,
  :on_behalf_of_token_exchange_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#on_behalf_of_token_exchange_configuration ⇒ Types::OnBehalfOfTokenExchangeConfigurationInput

Configures on-behalf-of token exchange (RFC 8693) for a credential provider, so the provider can trade a token identifying a user for a token scoped to another audience while preserving that user's identity. Supply this to enable the TOKEN_EXCHANGE grant; omit it on update to leave the existing exchange configuration unchanged.



903
904
905
906
907
908
909
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 903

class CustomOAuthConfigurationInput < Struct.new(
  :client_authentication_configuration,
  :oauth_discovery,
  :on_behalf_of_token_exchange_configuration)
  SENSITIVE = []
  include Aws::Structure
end