Exporteren (0) Afdrukken
Alles uitvouwen
EN
Deze inhoud is niet beschikbaar in uw taal, maar wel in het Engels.

Add Management Certificate

Updated: April 3, 2014

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.

 

Method Request URI

POST

https://management.core.windows.net/<subscription-id>/certificates

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.

 

Request Header Description

x-ms-version

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.

 

Request Element Description

SubscriptionCertificatePublicKey

Specifies a base-64 encoded public key for the management certificate.

SubscriptionCertificateThumbprint

Specifies the thumbprint for the management certificate.

SubscriptionCertificateData

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.

 

Response Header Description

x-ms-request-id

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).

Weergeven:
© 2014 Microsoft