Skip to content
Discussion options

You must be logged in to vote

Debugging the command via RUST_LOG=debug actually helped!

The root cause is that we needed to have the BatchGetSecretValue policy, on top of the ListSecrets permission, as in the following:

[
  {
    "Sid": "AllowListAll",
    "Effect": "Allow",
    "Action": "secretsmanager:ListSecrets",
    "Resource": "*"
  },
  {
    "Sid": "AllowBatchReadSecrets",
    "Effect": "Allow",
    "Action": "secretsmanager:BatchGetSecretValue",
    "Resource": "*"
  }
]

for fnox exec to work properly. However, BatchGetSecretValue permission is not documented. This is a missing documentation issue rather than an implementation bug/issue.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@aytekinar
Comment options

Answer selected by aytekinar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants