SecretsManagerSecretOptions Struct
Options for referencing a secret value from Secrets Manager.
Example
ts
new codebuild.BitBucketSourceCredentials(this, 'CodeBuildBitBucketCreds', {
username: SecretValue.secretsManager('my-bitbucket-creds', { jsonField: 'username' }),
password: SecretValue.secretsManager('my-bitbucket-creds', { jsonField: 'password' }),
});
Properties
jsonFieldstringjson_fieldstrjsonFieldStringJsonFieldstringJsonField*string= returns all the content stored i…#The key of a JSON field to retrieve.
This can only be used if the secret stores a JSON object.
default
Default: returns all the content stored in the Secrets Manager secret.
Specifies the unique identifier of the version of the secret you want to use.
Can specify at most one of versionId and versionStage.
versionStagestringversion_stagestrversionStageStringVersionStagestringVersionStage*string= AWSCURRENT#Specifies the secret version that you want to retrieve by the staging label attached to the version.
Can specify at most one of versionId and versionStage.