Class: Aws::CredentialBrokerControl::Types::SubjectTokenSourceConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::CredentialBrokerControl::Types::SubjectTokenSourceConfiguration
- Defined in:
- gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb
Overview
SubjectTokenSourceConfiguration is a union - when making an API calls you must set exactly one of the members.
SubjectTokenSourceConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of SubjectTokenSourceConfiguration corresponding to the set member.
Where an on-behalf-of token exchange gets the subject token. The token identifying the user the exchanged token will represent. Set exactly one member.
Defined Under Namespace
Classes: CredentialProvider, CredentialProviderSelf, IamIdentityCenter, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#credential_provider ⇒ String
Use an end-user token stored by the credential provider named here as the subject.
-
#credential_provider_self ⇒ Types::CredentialBrokerSelfSubjectTokenSource
Use this provider's own stored end-user token as the subject, so that the same provider both obtains the user's token and exchanges it.
-
#iam_identity_center ⇒ Types::Unit
Use the identity in the caller's IAM Identity Center session as the subject.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#credential_provider ⇒ String
Use an end-user token stored by the credential provider named here as the subject.
2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 |
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 2396 class SubjectTokenSourceConfiguration < Struct.new( :iam_identity_center, :credential_provider, :credential_provider_self, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class IamIdentityCenter < SubjectTokenSourceConfiguration; end class CredentialProvider < SubjectTokenSourceConfiguration; end class CredentialProviderSelf < SubjectTokenSourceConfiguration; end class Unknown < SubjectTokenSourceConfiguration; end end |
#credential_provider_self ⇒ Types::CredentialBrokerSelfSubjectTokenSource
Use this provider's own stored end-user token as the subject, so
that the same provider both obtains the user's token and exchanges
it. Requires the provider to allow the AUTHORIZATION_CODE grant.
2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 |
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 2396 class SubjectTokenSourceConfiguration < Struct.new( :iam_identity_center, :credential_provider, :credential_provider_self, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class IamIdentityCenter < SubjectTokenSourceConfiguration; end class CredentialProvider < SubjectTokenSourceConfiguration; end class CredentialProviderSelf < SubjectTokenSourceConfiguration; end class Unknown < SubjectTokenSourceConfiguration; end end |
#iam_identity_center ⇒ Types::Unit
Use the identity in the caller's IAM Identity Center session as the subject.
2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 |
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 2396 class SubjectTokenSourceConfiguration < Struct.new( :iam_identity_center, :credential_provider, :credential_provider_self, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class IamIdentityCenter < SubjectTokenSourceConfiguration; end class CredentialProvider < SubjectTokenSourceConfiguration; end class CredentialProviderSelf < SubjectTokenSourceConfiguration; end class Unknown < SubjectTokenSourceConfiguration; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
2396 2397 2398 |
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 2396 def unknown @unknown end |