-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 throws error if secret doesn't exist #25125
Comments
Thank you for your feedback. Tagging and routing to the team member best able to assist. |
@rloutlaw could you look into the "This Product" link at the bottom. It's 404'ing. |
As for the change request, we could add a That said, we are working on some new features we could take advantage of instead, but are not yet available - should be early next year. We can't change the existing method behavior, though, as that would be a breaking change. |
Note to self: we'd want to specifically handle the case where the initial delete request already 404'd e.g., here. Could also do it in the caller but would then have to duplicate. If we don't mark the operation already-completed, |
Hi @lukos, we deeply appreciate your input into this project. Regrettably, this issue has remained inactive for over 2 years, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support. |
1 similar comment
Hi @lukos, we deeply appreciate your input into this project. Regrettably, this issue has remained inactive for over 2 years, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support. |
It is not clear how to delete a secret that might not exist. In most cases, I would definitely expect the default behaviour not to throw an exception if the secret does not exist but at worst, there should be an overload that allows us to ignore the error. Throwing an error means that for every delete, I either need to call GetSecret first or catch and ignore the exception which is nasty.
Also, the link to log a problem about "This Product" is broken.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: