Retrieving secrets

0

If I have a secret in secrets manager with 5 secrets in, but I only want to retrieve 2 specific secrets at a time for my application is there a way I can do that? Also, when retrieving how would I only get it to output the value? For example. If I have secrets A = XXXX and secret B=YYYY combined under secret 1. How do I retrieve just A from secret 1 and, showing only the value of XXXX instead of A=XXXX?

DMaras
質問済み 7ヶ月前171ビュー
1回答
2
承認された回答

Hi,

the only way to achieve what you want is to have a distinct secret for each piece of content that you want to protect.

Decoding can only happen globally for a given secret. So, in your case, you need to store Content1 in secret A and Content2 in secret B if you want different access rights to different security principals.

Best,

Didier

profile pictureAWS
エキスパート
回答済み 7ヶ月前
profile picture
エキスパート
レビュー済み 1ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ