![](/img/trans.png)
[英]How to get Azure Key Vault secret using powershell with certificate auth?
[英]How to Get the Azure key vault certificate activation date using powershell
我希望从密钥库中获取证书的激活日期。 是否有可用的 powershell 命令。
Get-AzKeyVaultCertificate 我能够获取创建日期,但不能获取激活日期。
我遵循Microsoft-Document并尝试在我的环境中重现:
Get-AzKeyVaultCertificate -VaultName 'rithwikkey' | Select-Object Name,Created
或者,您可以使用门户获取激活日期:
这些是命令附带的唯一属性:
Get-AzKeyVaultCertificate -VaultName 'rithwikkey'
您可以在单击证书时查看激活详细信息:
使用此命令可以获取 not before 和 not after:一般来说,Not before 用作激活日期, Not After 用作到期日期
Get-AzKeyVaultCertificate -VaultName 'rithwikkey' -name 'rithwik'
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.