Class: Aws::CredentialBrokerControl::Types::ClientSecretInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::CredentialBrokerControl::Types::ClientSecretInput
- Defined in:
- gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb
Overview
Note:
ClientSecretInput is a union - when making an API calls you must set exactly one of the members.
How the provider's OAuth client secret is supplied. Set exactly one member: give the secret value and let the service store it, or point at a Secrets Manager secret you already own. Either way, reads return only the ARN of the secret, never the value.
Defined Under Namespace
Classes: ClientSecret, ClientSecretReference, Unknown
Constant Summary collapse
- SENSITIVE =
[:client_secret]
Instance Attribute Summary collapse
-
#client_secret ⇒ String
The client secret value.
-
#client_secret_reference ⇒ Types::SecretReference
A Secrets Manager secret you own that holds the client secret.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#client_secret ⇒ String
The client secret value. The service stores it in a Secrets Manager secret that it owns.
305 306 307 308 309 310 311 312 313 314 315 316 |
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 305 class ClientSecretInput < Struct.new( :client_secret, :client_secret_reference, :unknown) SENSITIVE = [:client_secret] include Aws::Structure include Aws::Structure::Union class ClientSecret < ClientSecretInput; end class ClientSecretReference < ClientSecretInput; end class Unknown < ClientSecretInput; end end |
#client_secret_reference ⇒ Types::SecretReference
A Secrets Manager secret you own that holds the client secret.
305 306 307 308 309 310 311 312 313 314 315 316 |
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 305 class ClientSecretInput < Struct.new( :client_secret, :client_secret_reference, :unknown) SENSITIVE = [:client_secret] include Aws::Structure include Aws::Structure::Union class ClientSecret < ClientSecretInput; end class ClientSecretReference < ClientSecretInput; end class Unknown < ClientSecretInput; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
305 306 307 |
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 305 def unknown @unknown end |