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
88 stars 64 forks source link

Enhance `--id` argument to preprend \VED\Policy #466

Open cdmadrigal opened 3 months ago

cdmadrigal commented 3 months ago

BUSINESS PROBLEM Currently -zone prepends \VED\Policy but --id does not. This creates some inconsistency on what is needed for certain arguments within VCert.

PROPOSED SOLUTION Have \VED\Policy be prepended to --id similar to -zone. This would create consistency across different VCert arguments where the user doesn't have to include \VED\Policy for some arguments but needed for others.

CURRENT ALTERNATIVES Include \VED\Policy for the --id value.

BeardedPrincess commented 3 months ago

@cdmadrigal .. agree this is something that should be done. Are you able to potentially create a PR for it? We should be able to do this in a way that is backwards compatible with the current behavior (basically include \VED\Policy or don't) except the difference being if you don't, it won't fail