You can use the Advanced Networking Services API to creates a single or multiple certificates.
1 |
Log in to vCloud Air as an administrator. See Log in to vCloud Air for information. |
2 |
Create a login session with vCloud Director. See Create a Session for a Virtual Data Center in a Service for information. |
3 |
Using the vCloud API, query vCloud Director for the ID of the edge gateway where you want to create the certificate. |
♦ | Submit the following request header and request body: PUT https://vchs.vmware.com/hybridity/api/gateways/gatewayId/certificates In the request header, include the OATH token and the Accept header that you obtained when creating a login session: Accept: application/json Content-Type: application/json X-Vcloud-Authorization: "vcloud-auth-token" In the request body, include the schema elements described in CERTIFICATE – GLOBAL SETTINGS and CERTIFICATE – x.509 CERTIFICATE SETTINGS (x509Certificates – Array). For an example of the schema elements, see Example: Request and Response to Get Certificates. The server returns status 204 NO CONTENT in the response header. The server does not return a response body. |