v7

latestSwagger 2.0raw.githubusercontent.com2022-12-067889207.3 KB
Certificates

Imports a certificate into a specified key vault.

Imports an existing valid certificate, containing a private key, into Azure Key Vault. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates. This operation requires the certificates/import permission.

post/certificates/{certificate-name}/import

Path parameters

certificate-namestring required

The name of the certificate.

Query parameters

api-versionstring required

Client API version.

Request body

valuestring required

Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key.

pwdstring

If the private key in base64EncodedCertificate is encrypted, the password used for encryption.

tagsobject

Application specific metadata in the form of key-value pairs.

Response

Imported certificate bundle to the vault.

idstring

The certificate id.

kidstring

The key id.

sidstring

The secret id.

x5tstring base64url

Thumbprint of the certificate.

cerstring byte

CER contents of x509 certificate.

contentTypestring

The content type of the secret.

tagsobject

Application specific metadata in the form of key-value pairs