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

add nil check for secret id entry on delete via accessor #19186

Merged
merged 6 commits into from
Feb 24, 2023

Conversation

davidadeleon
Copy link
Contributor

This PR adds a nil check for the secret ID entry when deleting via secret id accessor. This fixes a scenario where a secret_id can be deleted by providing a valid accessor to the destroy endpoint on any role in the same mount.

@davidadeleon davidadeleon modified the milestones: 1.10.11, 1.13.0-rc1 Feb 16, 2023
@mickael-hc
Copy link
Contributor

changes LGTM but will defer to @ncabatoff or the Vault core team for final review

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

Successfully merging this pull request may close these issues.

4 participants