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

Allow retrieval of disabled secrets #15

Open
josh-endries opened this issue May 3, 2023 · 0 comments
Open

Allow retrieval of disabled secrets #15

josh-endries opened this issue May 3, 2023 · 0 comments

Comments

@josh-endries
Copy link

It seems silly to have no way to retrieve disabled secrets. I understand that in the typical use case this makes sense, because it's disabled, but having no alternative way (that I can find via az) seems silly at best, and possibly dangerous if that secret ever gets re-enabled.

For example, if I want to find an exposed password or some value that's being rotated, heck even an email address, and I want to change or delete secrets containing that value, I have no way to do this if the secret is disabled without enabling it first, which most likely has negative repercussions (it was probably disabled for a reason). Re-enabling it might change how some app is working that uses the secret. The alternative would mean knowing ahead of time everywhere that value is used, which IME is rarely the case.

The system obviously knows the secret exists and I assume it knows the value of it, so it seems like supporting something like a "force" option makes sense when showing/retrieving the secret.

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