gpt4 book ai didi

azure - 新-AzureRmKeyVault : 'vaultName' does not match expected pattern

转载 作者:行者123 更新时间:2023-12-03 05:49:50 27 4
gpt4 key购买 nike

我正在尝试按照本教程为我的应用程序设置 Azure Key Vault:https://blogs.technet.microsoft.com/kv/2015/06/02/azure-key-vault-step-by-step/

在教程的创建和配置 key 保管库部分中,执行以下两个步骤后: enter image description here

我无法执行此步骤: enter image description here

它在我的 PowerShell 中显示错误消息:

New-AzureRmKeyVault : 'vaultName' does not match expected pattern '^[a-zA-Z0-9-]{3,24}$'. At line:1 char:1 + New-AzureRmKeyVault -VaultName ProfileKeyVault -ResourceGro ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : CloseError: (:) [New-AzureRmKeyVault], ValidationException + FullyQualifiedErrorId : Microsoft.Azure.Commands.KeyVault.NewAzureKeyVault

最佳答案

尝试将保管库名称放在引号中。

New-AzureRmKeyVault -VaultName 'Contoso03Vault' -ResourceGroupName 'Group14' -Location 'East US'

关于azure - 新-AzureRmKeyVault : 'vaultName' does not match expected pattern,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49078186/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com