security key-manager external azure enable
(DEPRECATED)-Create and enable an Azure Key Vault KMS configuration
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
|
|
This command is deprecated and may be removed in a future release. Use the security key-manager external azure create-config command to create an Azure Key Vault configuration and the security key-manager keystore enable command to enable it instead. |
This command enables the Azure Key Vault (AKV) associated with the given Vserver and creates a configuration with the name "default". An Azure application and an AKV must be deployed on the Azure portal prior to running this command. This command is not supported for the admin Vserver, or if a key manager for the given data Vserver is already enabled. This command is also not supported in a MetroCluster environment.
Parameters
-vserver <Vserver Name>- Vserver-
Use this parameter to specify the Vserver on which the AKV is to be enabled.
-client-id <text>- Application (Client) ID of Deployed Azure Application-
Use this parameter to specify the client (application) ID of the deployed Azure application.
-tenant-id <text>- Directory (Tenant) ID of Deployed Azure Application-
Use this parameter to specify the tenant (directory) ID of the deployed Azure application.
-name {scheme://(hostname|IPv4 Address|'['IPv6 Address']')…}- Deployed Azure Key Vault DNS Name-
Use this parameter to specify the DNS name of the deployed AKV.
[-authentication-method <AKV Authentication Method>]- Authentication Method for Azure Application-
Use this parameter to specify either client_secret authentication or certificate authentication for the deployed AKV.
-key-id {scheme://(hostname|IPv4 Address|'['IPv6 Address']')…}- Key Identifier of AKV Key Encryption Key-
Use this parameter to specify the key identifier of the AKV Key Encryption Key (KEK).
[-oauth-host <text>]- Open Authorization Host Name-
Use this parameter to specify the host name of the Open Authorization server.
[-port <integer>]- Authorization Server and Vault's Port Number-
Use this parameter to specify the port of the deployed AKV.
[-vault-host <text>]- AKV Host's Subdomain-
Use this parameter to specify the AKV vault host.
[-verify {true|false}]- Verify Identity of AKV?-
Use this parameter to specify whether to verify the identity of AKV.
[-verify-host {true|false}]- Verify Identity of AKV's Hostname?-
Use this parameter to specify whether to verify the identity of AKV hostname.
[-verify-ip {true|false}]- Verify Identity of AKV's IP Address?-
Use this parameter to specify whether to verify the identity of AKV ip address.
[-proxy-type {http|https}]- Proxy Type-
Use this parameter to specify the proxy type.
[-proxy-host <text>]- Proxy Host-
Use this parameter to specify the proxy hostname.
[-proxy-port <integer>]- Proxy Port-
Use this parameter to specify the proxy port.
[-proxy-username <text>]- Proxy Username-
Use this parameter to specify the proxy username.
[-proxy-password <text>]- Proxy Password-
Use this parameter to specify the proxy password.
[-polling-period <integer>]- Polling Period (in minutes)-
Use this parameter to specify the AKV polling period in seconds.
[-timeout <integer>]- Azure Key Vault Connection Timeout in Seconds-
Use this parameter to specify the AKV connection timeout in seconds.
Examples
The following example enables the AKV for Vserver v1. An Azure application with client-id "4a0f9c98-c5aa-4275-abe3-2780cf2801c3", tenant-id "8e21f23a-10b9-46fb-9d50-720ef604be98", client secret (not echoed to the screen for security purposes), OAuth host at 10.12.34.1 and an AKV with DNS name "https://akv-keyvault.vault.azure.net" is deployed on the Azure portal. An AKV KEK with DNS name "https://akv-keyvault.vault.azure.net/keys/key1/a8e619fd8f234db3b0b95c59540e2a74" is created on the Azure portal for the AKV.
cluster-1::>security key-manager external azure enable -client-id 4a0f9c98-c5aa-4275-abe3-2780cf2801c3 -tenant-id 8e21f23a-10b9-46fb-9d50-720ef604be98 -name https://akv-keyvault.vault.azure.net -key-id https://akv-keyvault.vault.azure.net/keys/key1/a8e619fd8f234db3b0b95c59540e2a74 -authentication-method client_secret -vserver v1 -oauth-host 10.12.34.1 Enter the client secret for Azure Key Vault: Re-enter the client secret for Azure Key Vault:
The following example enables the AKV for Vserver v1. An Azure application with client-id "4a0f9c98-c5aa-4275-abe3-2780cf2801c3", tenant-id "8e21f23a-10b9-46fb-9d50-720ef604be98", a client certificate (not echoed to the screen for security purposes), OAuth host at 10.12.34.1 and an AKV with DNS name "https://akv-keyvault.vault.azure.net" is deployed on the Azure portal. An AKV KEK with DNS name "https://akv-keyvault.vault.azure.net/keys/key1/a8e619fd8f234db3b0b95c59540e2a74" is created on the Azure portal for the AKV.
cluster-1::>security key-manager external azure enable -client-id 4a0f9c98-c5aa-4275-abe3-2780cf2801c3 -tenant-id 8e21f23a-10b9-46fb-9d50-720ef604be98 -name https://akv-keyvault.vault.azure.net -key-id https://akv-keyvault.vault.azure.net/keys/key1/a8e619fd8f234db3b0b95c59540e2a74 -authentication-method certificate -vserver v1 -oauth-host 10.12.34.1 Enter the client certificate for Azure Key Vault: