Add Management Certificate
Updated: July 10, 2015
The Add Management Certificate operation adds a management certificate to the specified subscription. For more information about management certificates, see Manage Certificates.
The Add Management Certificate request may be constructed as follows. Replace <subscription-id> with the name of the subscription ID.
You must make sure that the request that is made to the management service is secure. For additional details, see Authenticating Service Management Requests.
The following table describes the request headers.
Required. Specifies the version of the operation to use for this request. This header must be set to 2012-03-01 or higher. For more information about versioning headers, see Service Management Versioning.
The format of the request body is as follows:
< SubscriptionCertificate xmlns=”http://schemas.microsoft.com/windowsazure”> <SubscriptionCertificatePublicKey>base64-public-key</SubscriptionCertificatePublicKey> <SubscriptionCertificateThumbprint>certificate-thumbprint</SubscriptionCertificateThumbprint> <SubscriptionCertificateData>base64-certificate-raw-data</SubscriptionCertificateData> </SubscriptionCertificate>
The following table describes the elements in the request body.
Specifies a base-64 encoded public key for the management certificate.
Specifies the thumbprint for the management certificate.
Specifies the base-64 encoded certificate data in .cer format.
The response includes an HTTP status code, a response body, and a set of response headers.
A successful operation returns status code 200 (OK). For information about status codes, see Service Management Status and Error Codes.
The response for this operation includes the following headers. The response may also include additional standard HTTP headers. All standard headers conform to the HTTP/1.1 protocol specification.
A value that uniquely identifies a request made against the management service.
Each subscription can store a maximum of 25 management certificates. Attempting to add a 26th certificate to a subscription will result in an error, and return status code 400 (BadRequest).