[英]Is there a way to change Azure Container Registry admin passwords using Powershell?
I'm trying to automate a process to change the Azure Container Registry Admin password(s) using Powershell.我正在尝试使用 Powershell 自动化更改 Azure 容器注册表管理员密码的过程。 I know you can do it using the Azure CLI with the following:我知道您可以使用 Azure CLI 执行以下操作:
az acr credential renew --name <registryname> --password-name password
I just can't locate the equivalent Powershell commands.我只是找不到等效的 Powershell 命令。
You need to use Update-AzureRmContainerRegistryCredential
您需要使用Update-AzureRmContainerRegistryCredential
Update-AzureRmContainerRegistryCredential
[-ResourceGroupName] <String>
[-Name] <String>
-PasswordName <PasswordName>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.