Closed spruhanayak closed 2 months ago
Thank you for your feedback. Tagging and routing to the team member best able to assist.
Yes, "managed" means it's managed by a certificate. From https://learn.microsoft.com/rest/api/keyvault/secrets/get-secrets/get-secrets?view=rest-keyvault-secrets-7.4&tabs=HTTP#secretitem,
Name | Type | Description |
---|---|---|
managed | boolean | True if the secret's lifetime is managed by key vault. If this is a key backing a certificate, then managed will be true. |
Hi @spruhanayak. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation.
/unresolve could manage be set true for any other reasons besides being backed by a cert?
No. The documentation is correct.
Please also note, if you have general questions, you can also ask on https://stackoverflow.com with the tag azure-keyvault
.
Hi @spruhanayak. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation.
Hi @spruhanayak, since you haven’t asked that we /unresolve
the issue, we’ll close this out. If you believe further discussion is needed, please add a comment /unresolve
to reopen the issue.
Type of issue
Other (describe below)
Description
How can I retrieve metadata for keys and secrets from Azure Key Vault using the .NET SDK while ensuring that I exclude any keys and secrets associated with certificates? I know that the
managed
property can indicate whether an item is related to a certificate, but is it reliable to use this property exclusively to filter out such items? https://learn.microsoft.com/en-us/dotnet/api/azure.security.keyvault.keys.keyclient.getpropertiesofkeys?view=azure-dotnetPage URL
https://learn.microsoft.com/en-us/dotnet/api/azure.security.keyvault.keys.keyproperties.managed?view=azure-dotnet
Content source URL
https://github.com/Azure/azure-docs-sdk-dotnet/blob/master/xml/Azure.Security.KeyVault.Keys/KeyProperties.xml
Document Version Independent Id
5b1997b2-68c9-acb4-2a7d-f05a594c1343
Article author
@azure-sdk
Metadata