You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Team,
As per the document, I tried to set expires while creating the secret but it didn't work. However set-attributes is working fine while updating. Can you please take look.
az keyvault secret set --name <my-key> --value <my-value> --vault-name <my-kv> --expires "2018-12-30T07:28:38Z"
@tjprescott@schaabs Is there any update on this issue yet?
We are running into the exact same issue with azcli version 2.0.70
We require to set an expiration date on creation from our organisation.
Hi Team,
As per the document, I tried to set expires while creating the secret but it didn't work. However set-attributes is working fine while updating. Can you please take look.
az keyvault secret set --name <my-key> --value <my-value> --vault-name <my-kv> --expires "2018-12-30T07:28:38Z"
{
"attributes": {
"created": "2018-12-13T07:45:37+00:00",
"enabled": true,
"expires": null,
"notBefore": null,
"recoveryLevel": "Purgeable",
"updated": "2018-12-13T07:45:37+00:00"
},
"contentType": null,
"id": "https://my-kv.vault.azure.net/secrets/<mykey>/<version>",
"kid": null,
"managed": null,
"tags": {
"file-encoding": "utf-8"
},
"value": "<myvalue>"
}
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: