我正在尝试按照本教程为我的应用程序设置Azure Key Vault:https://blogs.technet.microsoft.com/kv/2015/06/02/azure-key-vault-step-by-step/
在教程的“创建和配置密钥保管库”部分中,执行以下两个步骤后:
它在我的PowerShell中显示错误消息:
New-AzureRmKeyVault:' vaultName'与预期模式不匹配' ^ [a-zA-Z0-9 - ] {3,24} $'。 在行:1个字符:1 + New-AzureRmKeyVault -VaultName ProfileKeyVault -ResourceGro ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ + CategoryInfo:CloseError:(:) [New-AzureRmKeyVault],ValidationException + FullyQualifiedErrorId:Microsoft.Azure.Commands.KeyVault.NewAzureKeyVault
答案 0 :(得分:2)
尝试将保险库名称放在引号中。
--------------------------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost | Time |
--------------------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 10 | 2380 | 1 | 00:00:01 |
| * 1 | COUNT STOPKEY | | | | | |
| * 2 | VIEW | | 10 | 2380 | 1 | 00:00:01 |
| 3 | WINDOW NOSORT | | 10 | 1300 | 1 | 00:00:01 |
| 4 | TABLE ACCESS BY INDEX ROWID | SAMPLEs | 245376 | 31898880 | 1 | 00:00:01 |
| 5 | INDEX FULL SCAN | INDEX_SP1 | 10 | | 1 | 00:00:01 |
--------------------------------------------------------------------------------------------
Predicate Information (identified by operation id):
------------------------------------------
* 1 - filter(ROWNUM<=10)
* 2 - filter("Extent1"."row_number">0)