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

Search certificates using certificates attributes and statuses #427

Open
brental opened this issue Feb 14, 2024 · 0 comments
Open

Search certificates using certificates attributes and statuses #427

brental opened this issue Feb 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@brental
Copy link

brental commented Feb 14, 2024

BUSINESS PROBLEM
In order to avoid creating a duplicate certificate we would like to search for certificates based on certificate attributes and statuses. Based on the response we could then either proceed with creating a certificate or abort the creation.

PROPOSED SOLUTION
Expose the ability to search for certificates using the vcert CLI in the same way as the web SDK GET Certificates endpoint:
https://docs.venafi.com/Docs/current/TopNav/Content/SDK/WebSDK/r-SDK-GET-Certificates.php?tocpath=REST%20APIs%7CWeb%20SDK%20REST%7CCertificate%20endpoints%20for%20TLS%7CCertificates%20API%7C_____5

It seems like the functionality may already be available in vcert to some extent as there are some functions for searching certificates using a search request. However, these functions are not exposed as commands. So, it would be good if these functions could be exposed as commands OR implement the appropriate command and functions if those functions do not match the above endpoint's functionality.

Suggested name for the command would be: searchcertificates

CURRENT ALTERNATIVES
Use the following web SDK endpoint:
https://docs.venafi.com/Docs/current/TopNav/Content/SDK/WebSDK/r-SDK-GET-Certificates.php?tocpath=REST%20APIs%7CWeb%20SDK%20REST%7CCertificate%20endpoints%20for%20TLS%7CCertificates%20API%7C_____5

VENAFI EXPERIENCE
I have been using Venafi products for 6 months.

@brental brental added the enhancement New feature or request label Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant