az synapse workspace key
Manage workspace's keys.
Commands
Name | Description | Type | Status |
---|---|---|---|
az synapse workspace key create |
Create a workspace's key. |
Core | GA |
az synapse workspace key delete |
Delete a workspace's key. The key at active status can't be deleted. |
Core | GA |
az synapse workspace key list |
List keys under specified workspace. |
Core | GA |
az synapse workspace key show |
Show a workspace's key by name. |
Core | GA |
az synapse workspace key wait |
Place the CLI in a waiting state until a condition of a workspace key is met. |
Core | GA |
az synapse workspace key create
Create a workspace's key.
az synapse workspace key create --key-identifier
--name
--resource-group
--workspace-name
[--no-wait]
Examples
Create a workspace's key.
az synapse workspace key create --name newkey --workspace-name testsynapseworkspace \
--resource-group rg --key-identifier https://{keyvaultname}.vault.azure.net/keys/{keyname}
Required Parameters
The Key Vault Url of the workspace encryption key. should be in the format of: https://{keyvaultname}.vault.azure.net/keys/{keyname}.
The workspace customer-managed key display name. All existing keys can be found using /"az synapse workspace key list/" cmdlet.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The workspace name.
Optional Parameters
Do not wait for the long-running operation to finish.
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 synapse workspace key delete
Delete a workspace's key. The key at active status can't be deleted.
az synapse workspace key delete [--ids]
[--name]
[--no-wait]
[--resource-group]
[--subscription]
[--workspace-name]
[--yes]
Examples
Delete a workspace's key.
az synapse workspace key delete --name newkey --workspace-name testsynapseworkspace \
--resource-group rg
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.
The workspace customer-managed key display name. All existing keys can be found using /"az synapse workspace key list/" cmdlet.
Do not wait for the long-running operation to finish.
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
.
The workspace name.
Do not prompt for confirmation.
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 synapse workspace key list
List keys under specified workspace.
az synapse workspace key list --resource-group
--workspace-name
Examples
List keys under specified workspace.
az synapse workspace key list --workspace-name testsynapseworkspace --resource-group rg
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The workspace name.
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 synapse workspace key show
Show a workspace's key by name.
az synapse workspace key show [--ids]
[--name]
[--resource-group]
[--subscription]
[--workspace-name]
Examples
Show a workspace's key.
az synapse workspace key show --name newkey --workspace-name testsynapseworkspace \
--resource-group rg
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.
The workspace customer-managed key display name. All existing keys can be found using /"az synapse workspace key list/" cmdlet.
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
.
The workspace name.
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 synapse workspace key wait
Place the CLI in a waiting state until a condition of a workspace key is met.
az synapse workspace key wait --key-name
[--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
[--workspace-name]
Required Parameters
The name of the workspace key.
Optional Parameters
Wait until created with 'provisioningState' at 'Succeeded'.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
Wait until the resource exists.
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.
Polling interval in seconds.
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
.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
The workspace name.
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.