Bug: AWS Secrets Manager fails when multiple secrets reference the same source #293
stephenwilliams
started this conversation in
General
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I wanted to create an issue for this, but it will not allow me. So I am doing so here:
Summary
When multiple secrets in
fnox.tomlreference the same underlying AWS Secrets Manager secret (common when usingjson_pathto extract different fields), fnox fails with a duplicate secret ID error.Steps to Reproduce
fnox.tomlthat extracts multiple fields from the same secret:fnox exec -- envExpected Behavior
Both environment variables are resolved:
Actual Behavior
Impact
This prevents a common use case: storing multiple related secrets as a single JSON object in AWS Secrets Manager and extracting individual fields using
json_path.All reactions