Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
az acr config content-trust
- Deprecated
This command group has been deprecated and will be removed in a future release. Learn more about the transition from Docker Content Trust to the Notary Project: https://aka.ms/acr/dctdeprecation
Manage content-trust policy for Azure Container Registries.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az acr config content-trust show |
Show the configured content-trust policy for an Azure Container Registry. |
Core | Deprecated |
| az acr config content-trust update |
Update content-trust policy for an Azure Container Registry. |
Core | Deprecated |
az acr config content-trust show
This command is implicitly deprecated because command group 'acr config content-trust' is deprecated and will be removed in a future release.
Show the configured content-trust policy for an Azure Container Registry.
az acr config content-trust show --registry
[--resource-group]
Examples
Show the configured content-trust policy for an Azure Container Registry
az acr config content-trust show -r myregistry
Required Parameters
The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=<registry 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.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
az acr config content-trust update
This command is implicitly deprecated because command group 'acr config content-trust' is deprecated and will be removed in a future release.
Update content-trust policy for an Azure Container Registry.
az acr config content-trust update --registry
[--acquire-policy-token]
[--change-reference]
[--resource-group]
[--status {disabled}]
[--yes]
Examples
Update content-trust policy for an Azure Container Registry
az acr config content-trust update -r myregistry --status Enabled
Required Parameters
The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=<registry 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.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Indicates whether content-trust is enabled. Only 'disabled' is allowed.
| Property | Value |
|---|---|
| Accepted values: | disabled |
Do not prompt for confirmation.
| Property | Value |
|---|---|
| Default value: | False |
Feedback
Was this page helpful?
