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

Fixed Contacts behavior #109

Closed rvelaVenafi closed 2 years ago

rvelaVenafi commented 2 years ago

Fixed the behavior of the policy specification users list when updating a VaaS policy:

  1. If there are no contacts in the PS and the application does not exist in VaaS, the application will be created with the current user as the only owner of the application.
  2. If there are no contacts in the PS and the application exists, the owners of the application should not be changed.
  3. If there are contacts in the PS, the owners of the application should exactly match the PS (regardless of whether the application is being created or already exists).