View a markdown version of this page

SecretKey - AWS Systems Manager Cloud Extensions

SecretKey

A Signature Version 4 (SigV4) secret key, which you supply inline or by reference to an AWS Secrets Manager secret. Exactly one member is set.

Contents

Important

This data type is a UNION, so only one of the following members can be specified when used or returned.

literal

The secret key value, supplied inline. The value is 16 to 36 letters, digits, or hyphens. The value is returned unmasked only in the create or update response that sets or rotates it. Everywhere else, the value is masked.

Type: String

Pattern: [a-zA-Z0-9-]{16,36}

Required: No

reference

The ARN of a Secrets Manager secret that holds the secret key.

Type: String

Length Constraints: Minimum length of 54. Maximum length of 566.

Pattern: arn:[a-z0-9-]+:secretsmanager:[a-z0-9-]*:[0-9]{0,12}:secret:[a-zA-Z0-9/_+=\.@-]+

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: