You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/@aws-cdk/core/README.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -223,7 +223,9 @@ Using AWS Secrets Manager is the recommended way to reference secrets in a CDK a
223
223
`SecretValue` also supports the following secret sources:
224
224
225
225
-`SecretValue.plainText(secret)`: stores the secret as plain text in your app and the resulting template (not recommended).
226
-
-`SecretValue.ssmSecure(param, version)`: refers to a secret stored as a SecureString in the SSM Parameter Store.
226
+
-`SecretValue.ssmSecure(param, version)`: refers to a secret stored as a SecureString in the SSM
227
+
Parameter Store. If you don't specify the exact version, AWS CloudFormation uses the latest
228
+
version of the parameter.
227
229
-`SecretValue.cfnParameter(param)`: refers to a secret passed through a CloudFormation parameter (must have `NoEcho: true`).
228
230
-`SecretValue.cfnDynamicReference(dynref)`: refers to a secret described by a CloudFormation dynamic reference (used by `ssmSecure` and `secretsManager`).
Copy file name to clipboardExpand all lines: packages/aws-cdk-lib/README.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -254,7 +254,9 @@ Using AWS Secrets Manager is the recommended way to reference secrets in a CDK a
254
254
`SecretValue` also supports the following secret sources:
255
255
256
256
-`SecretValue.plainText(secret)`: stores the secret as plain text in your app and the resulting template (not recommended).
257
-
-`SecretValue.ssmSecure(param, version)`: refers to a secret stored as a SecureString in the SSM Parameter Store.
257
+
-`SecretValue.ssmSecure(param, version)`: refers to a secret stored as a SecureString in the SSM
258
+
Parameter Store. If you don't specify the exact version, AWS CloudFormation uses the latest
259
+
version of the parameter.
258
260
-`SecretValue.cfnParameter(param)`: refers to a secret passed through a CloudFormation parameter (must have `NoEcho: true`).
259
261
-`SecretValue.cfnDynamicReference(dynref)`: refers to a secret described by a CloudFormation dynamic reference (used by `ssmSecure` and `secretsManager`).
0 commit comments