Laura Lin
04/17/2023, 8:34 PMRahul Mehta
04/17/2023, 8:48 PMSecret
resources inside the cluster. https://external-secrets.io/v0.8.1/Laura Lin
04/17/2023, 8:50 PMRahul Mehta
04/17/2023, 8:50 PMLaura Lin
04/17/2023, 8:51 PMYee
:
?Laura Lin
04/17/2023, 8:57 PMYee
Laura Lin
04/17/2023, 9:00 PMsecret_group = test_group
secret_key = test_username
secret_string = test_password
what is the expected input supposed to be to Secret Manger? When using the AWS secret management plugin, secrets need to be specified by naming them in the format <SECRET_GROUP>:<SECRET_KEY>, where the secret string is a plain-text value, *not* key/value json.
Yee
my_secret_name
?Laura Lin
04/17/2023, 10:08 PMYee
Laura Lin
04/18/2023, 4:21 PM:
in it right? bc AWS won't let me put a :
in the name of the secret?
if the output of formatAWSSecretArn
has to match with the actual secret's ARNYee
Laura Lin
04/18/2023, 4:36 PM{secret_key:secret_value}
and the name of the secret be the secret_group?Yee
Laura Lin
04/18/2023, 4:37 PMWhen using the AWS secret management plugin, secrets need to be specified by naming them in the format <SECRET_GROUP>:<SECRET_KEY>
so where do I put secret_group and secret_key then? so that flyte can find it properlyaccount_id:secret_name in aws
and I will have to reference it by thatYee
mysecretname
and I just put in it “hello world”arn:aws:secretsmanager:us-east-2:1233456:secret:mysecretname-RJCgGN
Laura Lin
04/18/2023, 4:41 PM@task(
secret_requests=[
Secret(key=XXX, group=XXX),
]
)
Yee
Secret(group="arn:aws:secretsmanager:us-east-2:1233456:secret", key="mysecretname-RJCgGN")
Laura Lin
04/18/2023, 4:43 PMYee
Laura Lin
04/18/2023, 4:46 PMYee
Laura Lin
04/18/2023, 5:30 PMYee
Laura Lin
04/18/2023, 5:32 PMYee