Configure Key Providers

You can use
the
Providers
interface from the
com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms
package
to perform Key Provider management operations.
  • Verify that you have access to a working
    vSphere Trust Authority
    environment.
  • Verify that you have Trusted Infrastructure administrative privileges.
You can retrieve, add, update, remove, and retrieve details about Key Providers.
  1. Retrieve a list of Key Providers to see which Key Providers the cluster is using
    by calling the
    list_Task(java.lang.String cluster)
    method of the
    Providers
    interface
    .
  2. Add a new Key Provider which all hosts in the cluster can use
    by calling the
    create_Task(java.lang.String cluster, ProvidersTypes.CreateSpec spec)
    method of the
    Providers
    interface
    .
  3. Retrieve information about a Key Provider to verify the configuration
    by calling the
    get_Task(java.lang.String cluster, java.lang.String provider)
    method of the
    Providers
    interface
    .
  4. Update an existing Key Provider to modify the connection details and primary key for it
    by calling the
    update_Task(java.lang.String cluster, java.lang.String provider, ProvidersTypes.UpdateSpec spec)
    method of the
    Providers
    interface
    .
  5. Remove a Key Provider
    by calling the
    delete_Task(java.lang.String cluster, java.lang.String provider)
    method of the
    Providers
    interface
    .