vcert
vcert copied to clipboard
Add --id with 'file' option to enroll and pickup actions, deprecate --pickup-id and --pickup-id-file
BUSINESS PROBLEM
The enroll
and pickup
actions use different parameters (--pickup-id
and --pickup-id-file
) for specifying the Venafi ID of a certificate than the renew
and revoke
actions do (--id
and --id file:
). Although a minor inconsistency, it has caused confusion for new VCert users and shorter command line strings are preferred.
PROPOSED SOLUTION
Add the --id
parameter to the enroll
and pickup
actions that behaves the same as that parameter does for the renew
and revoke
actions (i.e. allows you to specify the ID string directly or a file whose content is the ID string). When --id
is available, the --pickup-id
and --pickup-id-file
should be deprecated (still supported, just not listed in the help for the actions or in other VCert documentation) since they would be redundant.
CURRENT ALTERNATIVES
The --pickup-id
and --pickup-file-id
provide the required functionality, they're just inconsistent with other actions.