New-AzSpringCloudKeyVaultCertificateObject
此 cmdlet 是 预览 模块的一部分。 不建议在生产环境中使用预览版本。 有关详细信息,请参阅 https://aka.ms/azps-refstatus。
为 KeyVaultCertificateProperties 创建内存中对象。
语法
Default (默认值)
New-AzSpringCloudKeyVaultCertificateObject
-Name <String>
-VaultUri <String>
[-Version <String>]
[-ExcludePrivateKey <Boolean>]
[<CommonParameters>]
说明
为 KeyVaultCertificateProperties 创建内存中对象。
示例
示例 1:为 KeyVaultCertificateProperties 创建内存中对象
New-AzSpringCloudKeyVaultCertificateObject -VaultUri "keyvaluturi" -Name 'keycert'
ActivateDate DnsName ExpirationDate IssuedDate Issuer SubjectName Thumbprint CertVersion ExcludePrivateKey KeyVaultCertName VaultUri
------------ ------- -------------- ---------- ------ ----------- ---------- ----------- ----------------- ---------------- --------
keycert keyvaluturi
为 KeyVaultCertificateProperties 创建内存中对象
参数
-ExcludePrivateKey
可选。 如果设置为 true,则不会从密钥保管库导入私钥。
参数属性
| 类型: | Boolean |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | False |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-Name
密钥保管库的证书名称。
参数属性
| 类型: | String |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-VaultUri
用户密钥保管库的保管库 URI。
参数属性
| 类型: | String |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-Version
密钥保管库的证书版本。
参数属性
| 类型: | String |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | False |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
CommonParameters
此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters。