import_certificates
Creates, updates, deletes, gets or lists an import_certificates resource.
Overview
| Name | import_certificates |
| Type | Resource |
| Id | azure.key_vault_certificates.import_certificates |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
import_certificate | exec | certificate_name, vault_name, value | Imports a certificate into a specified key vault. Imports an existing valid certificate, containing a private key, into Azure Key Vault. This operation requires the certificates/import permission. 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. Key Vault will only accept a key in PKCS#8 format. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
certificate_name | string | The name of the certificate. The value you provide may be copied globally for the purpose of running the service. The value provided should not include personally identifiable or sensitive information. Required. |
vault_name | string | Key vault name. (default: ) |
Lifecycle Methods
- import_certificate
Imports a certificate into a specified key vault. Imports an existing valid certificate, containing a private key, into Azure Key Vault. This operation requires the certificates/import permission. 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. Key Vault will only accept a key in PKCS#8 format.
EXEC azure.key_vault_certificates.import_certificates.import_certificate
@certificate_name='{{ certificate_name }}' --required,
@vault_name='{{ vault_name }}' --required
@@json=
'{
"value": "{{ value }}",
"pwd": "{{ pwd }}",
"policy": "{{ policy }}",
"attributes": "{{ attributes }}",
"tags": "{{ tags }}",
"preserveCertOrder": {{ preserveCertOrder }}
}'
;