import_keys
Creates, updates, deletes, gets or lists an import_keys resource.
Overview
| Name | import_keys |
| Type | Resource |
| Id | azure.key_vault_keys.import_keys |
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_key | exec | key_name, vault_name, key | Imports an externally created key, stores it, and returns key parameters and attributes to the client. The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. This operation requires the keys/import permission. |
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 |
|---|---|---|
key_name | string | Name for the imported key. 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_key
Imports an externally created key, stores it, and returns key parameters and attributes to the client. The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. This operation requires the keys/import permission.
EXEC azure.key_vault_keys.import_keys.import_key
@key_name='{{ key_name }}' --required,
@vault_name='{{ vault_name }}' --required
@@json=
'{
"Hsm": {{ Hsm }},
"key": "{{ key }}",
"attributes": "{{ attributes }}",
"tags": "{{ tags }}",
"release_policy": "{{ release_policy }}"
}'
;