-
Notifications
You must be signed in to change notification settings - Fork 849
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Key vault] Encrypt with latest key version if not specified #23866
Comments
Hi @lzhecheng! I'm assuming you're using our azkeys module. If so, you can just pass in the empty string into the |
Hi @lzhecheng. 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. |
@gracewilcox thank you for the reply! It is very helpful! |
I mean when I encrypt() without key version here |
Hi @lzhecheng! The key vault key version is a bit of a special case, so that's why it's not as clearly documented. But if you're using our Client.Encrypt() method and pass in the empty string, the service will use the latest version of the key. Hope that helps! :) |
@gracewilcox Really appreciate it! The reason I asked about the Public doc is that I will use the api in our service so hope that we can have it officially mentioned in the doc, and this will not change in the future. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jlichwa @RandalliLama @schaabs. |
Hi lzhecheng! Docs are controlled by the service team, so routing you to them. |
Feature Request
Currently in the public doc,
key-version
is required for encryption. Is it possible that we can get rid ofkey-version
and use the latest key-version when encryption? I found that with the2016-10-01
api-version, it works.The text was updated successfully, but these errors were encountered: