-
Notifications
You must be signed in to change notification settings - Fork 7
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
Remove-TppCertificate needs to updated #4
Comments
Hey Jeremy, thanks for your post. I might just be having one of those days, and with my day job schedule lately I wouldn't be surprised, but I'm not following what the suggestion is. Remove-TppCertificate already uses that api. Could you please explain a bit more? Interesting though, now that I re-read through all this, it sounds as if -Force doesn't provide any additional functionality. I wonder if this changed in the api at some point. |
@jmeldrum76, just following up. Thanks. |
Hi Greg, Justin pinged me to comment. Sorry for the lat response. If you use the native API it deletes the Certificate and the Device and application when there are no more than one associated application. when I use your command it deletes the certificate but orphans the application and device. Let me know if that makes sense. Thanks, Jeremy Meldrum |
Thanks, @jmeldrum76, that does make sense. Just so I understand the history and can make an informed decision on how to proceed, could you explain why DELETE Certificates/{guid} works the way it does? Why delete the app/device if only 1 association? |
@jmeldrum76 just following up, thanks. Including @BeardedPrincess as well. |
Hey @jmeldrum76 just an FYI, I will look at this as part of some work I'm doing for a customer and figure out a solution. |
Hi,
Remove-TppCertificate works as you have it designed; however, The Venafi DELETE Certificates/{guid} API not only deletes the certificate but also removes the application/device objects as long as there are not additional child objects.
From Document:
"The Application object, associated with the certificate, has no children or only Generational Credential children after the Certificate object is deleted. "
This would be really helpful and would make this function way more useful.
Thanks again for your consideration.
Regards,
Jeremy Meldrum
The text was updated successfully, but these errors were encountered: