az sql mi tde-key
Manage a SQL Instance's encryption protector.
Commands
Name | Description | Type | Status |
---|---|---|---|
az sql mi tde-key set |
Sets the SQL Instance's encryption protector. |
Core | GA |
az sql mi tde-key show |
Shows a server encryption protector. |
Core | GA |
az sql mi tde-key set
Sets the SQL Instance's encryption protector.
az sql mi tde-key set --server-key-type {AzureKeyVault, ServiceManaged}
[--auto-rotation-enabled {false, true}]
[--ids]
[--kid]
[--managed-instance]
[--resource-group]
[--subscription]
Required Parameters
The type of the server key.
Optional Parameters
The key auto rotation opt in status. Can be either true or false.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
The Azure Key Vault key identifier of the server key. An example key identifier is "https://YourVaultName.vault.azure.net/keys/YourKeyName/01234567890123456789012345678901".
Name of the Azure SQL Managed Instance.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az sql mi tde-key show
Shows a server encryption protector.
az sql mi tde-key show [--ids]
[--managed-instance]
[--resource-group]
[--subscription]
Optional Parameters
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name of the Azure SQL Managed Instance.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.