你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Get-AzKeyVaultCertificateContact
获取为密钥保管库的证书通知注册的联系人。
语法
Get-AzKeyVaultCertificateContact
[-VaultName] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzKeyVaultCertificateContact
[-InputObject] <PSKeyVault>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzKeyVaultCertificateContact
[-ResourceId] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
说明
Get-AzKeyVaultCertificateContact cmdlet 获取为 Azure Key Vault 中的密钥保管库证书通知注册的联系人。
示例
示例 1:获取所有证书联系人
$Contacts = Get-AzKeyVaultCertificateContact -VaultName "Contoso"
Email VaultName
----- ---------
username@microsoft.com Contoso
username1@microsoft.com Contoso
此命令获取 Contoso 密钥保管库中证书对象的所有联系人,然后将其存储在$Contacts变量中。
参数
-DefaultProfile
用于与 azure 通信的凭据、帐户、租户和订阅
类型: | IAzureContextContainer |
别名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-InputObject
KeyVault 对象。
类型: | PSKeyVault |
Position: | 0 |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |
-ResourceId
KeyVault Id。
类型: | String |
Position: | 0 |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |
-VaultName
指定密钥保管库的名称。
类型: | String |
Position: | 0 |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |