Venafi / vcert

Go client SDK and command line utility designed to simplify integrations by automating key generation and certificate enrollment using Venafi machine identity services.
https://support.venafi.com/hc/en-us/articles/217991528
Apache License 2.0
89 stars 64 forks source link

Ability to check validity of OAUTH token using vcert cli #150

Closed faisalrazzak closed 3 years ago

faisalrazzak commented 3 years ago

BUSINESS PROBLEM

Teams managing security credentials for different vendor applications through CI/CD pipelines also need the ability to constantly check the validity of tokens. This can help in building automated workflows where if a OAUTH token has expired, a new OAUTH token is automatically requested via Refresh Tokens (or) stored credentials.

PROPOSED SOLUTION

Introduce a new sub-command token and a parameter checkvalidity. The output of this command should be true or false, something that can be easily consumed in pipelines and chained with other tasks in pipelines.

vcert token --checkvalidity

CURRENT ALTERNATIVES

N/A

tr1ck3r commented 3 years ago

https://github.com/Venafi/vcert/tree/tpp-cred-mgmt