Class: Aws::CloudExtensions::Types::SecretKey
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudExtensions::Types::SecretKey
- Defined in:
- gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/types.rb
Overview
SecretKey is a union - when making an API calls you must set exactly one of the members.
SecretKey is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of SecretKey corresponding to the set member.
A SigV4 secret key, supplied inline or by reference to a Secrets Manager secret. Exactly one member must be set.
Defined Under Namespace
Classes: Literal, Reference, Unknown
Constant Summary collapse
- SENSITIVE =
[:literal]
Instance Attribute Summary collapse
-
#literal ⇒ String
The secret key value supplied inline.
-
#reference ⇒ String
The ARN of a Secrets Manager secret holding the secret key.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#literal ⇒ String
The secret key value supplied inline. Returned unmasked only in the create or update response that sets or rotates it; masked everywhere else.
1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 |
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/types.rb', line 1698 class SecretKey < Struct.new( :literal, :reference, :unknown) SENSITIVE = [:literal] include Aws::Structure include Aws::Structure::Union class Literal < SecretKey; end class Reference < SecretKey; end class Unknown < SecretKey; end end |
#reference ⇒ String
The ARN of a Secrets Manager secret holding the secret key.
1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 |
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/types.rb', line 1698 class SecretKey < Struct.new( :literal, :reference, :unknown) SENSITIVE = [:literal] include Aws::Structure include Aws::Structure::Union class Literal < SecretKey; end class Reference < SecretKey; end class Unknown < SecretKey; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
1698 1699 1700 |
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/types.rb', line 1698 def unknown @unknown end |