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

Support for SoftDelete/NoPurge - EX: "Rename" a secret name by changing case - deletes old secret and fails to create new one #42

Open
felickz opened this issue Oct 1, 2021 · 0 comments

Comments

@felickz
Copy link

felickz commented Oct 1, 2021

Scenario - a vault with soft delete / no purge and "rename" a secret with only a case change (likely one of the many scenarios that fail with nopurge/softdelete)

Create a secret "test2" , then try to rename to "Test2".

image

The rename appears to succeed in GUI, but if you try to view the secret it fails.

If you try to then recreate a secret with same name (in any case):

Microsoft.Azure.KeyVault.Models.KeyVaultErrorException: Secret test2 is currently in a deleted but recoverable state, and its name cannot be reused; in this state, the secret can only be recovered or purged.

Enhancement Request: VaultExplorer to be defensive about operations that are known to cause issues with Soft Delete

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