Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: dry run mode to show full path and result of create/update #437

Open
nitrocode opened this issue Nov 15, 2023 · 0 comments

Comments

@nitrocode
Copy link
Contributor

A dry run mode would be very handy. Especially because secrets in secretsmanager take 7 days to delete.

For example, I'm using the secrets backend and I use this to write.

chamber -b secretsmanager write "service" "datadog" -- "value"

This creates service name with a datadog=value which would be nice to know before writing/updating it.

$ chamber -b secretsmanager write --dry-run "service" "datadog" -- "value"

dry-run detected
Would create "arn:aws:secretsmanager:us-east-1:123456789012:secret:service-??????" with datadog=value

This way, I would then know to do the following

$ chamber -b secretsmanager write --dry-run "service/datadog" "api_key" -- "value"

dry-run detected
Would create "arn:aws:secretsmanager:us-east-1:123456789012:secret:service/datadog-??????" with api_key=value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants