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

delete-secret --force-delete-without recovery doesn't work #83

Closed
cade-bryant-swbc opened this issue Apr 12, 2024 · 1 comment
Closed

Comments

@cade-bryant-swbc
Copy link

cade-bryant-swbc commented Apr 12, 2024

Running awslocal delete-secret with the --force-delete-without recovery flag doesn't seem to work on secrets that have already been scheduled for deletion. It gives the error:

400 Bad Request: {"__type": "InvalidRequestException", "message": "An error occurred (InvalidRequestException) when calling the DeleteSecret operation: You tried to perform the operation on a secret that's currently marked deleted."}

I am on Windows 11 and my awslocal version is aws-cli/2.2.47 Python/3.8.8 Windows/10 exe/ prompt/off

Is there a way to instantly purge a secret that has previously been scheduled for deletion?

@cade-bryant-swbc
Copy link
Author

Closing this; I realize I overlooked the fact that I need to run restore-secret first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant