Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

az sql mi partner-cert

Server trust certificate management commands.

Commands

Name Description Type Status
az sql mi partner-cert create

Upload a server trust certificate from box to Sql Managed Instance.

Core GA
az sql mi partner-cert delete

Delete a server trust certificate that was uploaded from box to Sql Managed Instance.

Core GA
az sql mi partner-cert list

Get a list of server trust certificates that were uploaded from box to the given Sql Managed Instance.

Core GA
az sql mi partner-cert show

Get a server trust certificate that was uploaded from box to Sql Managed Instance.

Core GA

az sql mi partner-cert create

Upload a server trust certificate from box to Sql Managed Instance.

az sql mi partner-cert create --certificate-name --name
 --instance-name --managed-instance --managed-instance-name --mi
 --resource-group
 [--acquire-policy-token]
 [--change-reference]
 [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
 [--public-blob]

Required Parameters

--certificate-name --name -n

Name of of the certificate to upload.

--instance-name --managed-instance --managed-instance-name --mi

Name of the managed instance.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--no-wait

Do not wait for the long-running operation to finish.

Property Value
Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--public-blob

The certificate public blob.

Property Value
Parameter group: Properties Arguments

az sql mi partner-cert delete

Delete a server trust certificate that was uploaded from box to Sql Managed Instance.

az sql mi partner-cert delete [--acquire-policy-token]
 [--certificate-name --name]
 [--change-reference]
 [--ids]
 [--instance-name --managed-instance --managed-instance-name --mi]
 [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
 [--resource-group]
 [--subscription]
 [--yes]

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--certificate-name --name -n

Name of of the certificate to delete.

Property Value
Parameter group: Resource Id Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--ids

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.

Property Value
Parameter group: Resource Id Arguments
--instance-name --managed-instance --managed-instance-name --mi

Name of the managed instance.

Property Value
Parameter group: Resource Id Arguments
--no-wait

Do not wait for the long-running operation to finish.

Property Value
Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Property Value
Parameter group: Resource Id Arguments
--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Property Value
Parameter group: Resource Id Arguments
--yes -y

Do not prompt for confirmation.

Property Value
Default value: False

az sql mi partner-cert list

Get a list of server trust certificates that were uploaded from box to the given Sql Managed Instance.

az sql mi partner-cert list --instance-name --managed-instance --managed-instance-name --mi
 --resource-group

Required Parameters

--instance-name --managed-instance --managed-instance-name --mi

Name of the managed instance.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az sql mi partner-cert show

Get a server trust certificate that was uploaded from box to Sql Managed Instance.

az sql mi partner-cert show [--certificate-name --name]
 [--ids]
 [--instance-name --managed-instance --managed-instance-name --mi]
 [--resource-group]
 [--subscription]

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--certificate-name --name -n

Name of of the certificate to get.

Property Value
Parameter group: Resource Id Arguments
--ids

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.

Property Value
Parameter group: Resource Id Arguments
--instance-name --managed-instance --managed-instance-name --mi

Name of the managed instance.

Property Value
Parameter group: Resource Id Arguments
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Property Value
Parameter group: Resource Id Arguments
--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Property Value
Parameter group: Resource Id Arguments

Feedback

Was this page helpful?