Venafi / vcert-java

Java client SDK designed to simplify integrations by automating key generation and certificate enrollment using Venafi machine identity services.
Apache License 2.0
10 stars 11 forks source link

Add support for new cit attributes: csrUploadAllowed and KeyGeneratedByVenafiAllowed #88

Open angelmoo opened 2 years ago

angelmoo commented 2 years ago

Add support for new cit attributes: csrUploadAllowed and KeyGeneratedByVenafiAllowed:

When creating a new policy on VaaS using a policy specification, if policy specification's serviceGenerated attribute is true then KeyGeneratedByVenafiAllowed will be true and csrUploadAllowed will be false And if serviceGenerated is false then csrUploadAllowed will be true and KeyGeneratedByVenafiAllowed will be false if policy specification's serviceGenerated attribute is not specified, then csrUploadAllowed and KeyGeneratedByVenafiAllowed values will be true

please look at Vcert implementation: https://github.com/Venafi/vcert/pull/201