File tree 1 file changed +16
-2
lines changed
1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -321,10 +321,24 @@ stringData:
321
321
type: Opaque
322
322
` ` `
323
323
324
+ # ##### Retrieving of binary data
325
+
326
+ Since there is no way to set a key for binary type in AWS Secret Manager, set the `<key>` part to `SecretBinary` to retrieve binary data :
327
+
328
+ ` ` ` yaml
329
+ apiVersion: v1
330
+ kind: Secret
331
+ metadata:
332
+ name: aws-example
333
+ stringData:
334
+ sample-secret: <path:arn:aws:secretsmanager:<REGION>:<ACCOUNT_NUMBER>:<SECRET_ID>#SecretBinary>
335
+ type: Opaque
336
+ ` ` `
337
+
324
338
**NOTE**
325
339
For cross account access there is the need to configure the correct permissions between accounts, please check :
326
- https://aws.amazon.com/premiumsupport/knowledge-center/secrets-manager-share-between-accounts
327
- https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access_examples_cross.html
340
+ https://aws.amazon.com/premiumsupport/knowledge-center/secrets-manager-share-between-accounts
341
+ https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access_examples_cross.html
328
342
329
343
# ## GCP Secret Manager
330
344
You can’t perform that action at this time.
0 commit comments