Skip to content

Conversation

@bim-msft
Copy link
Contributor

@bim-msft bim-msft commented Dec 10, 2020

Fix: https://github.com/Azure/azure-cli-pr/issues/121

All BYOK keys will be treated as RSA-HSM keys, this is incorrect.

az keyvault key import --hsm-name xx -n xxx --byok-string xxxxx 

After the fix (exposed a new parameter --kty):

az keyvault key import --hsm-name xx -n xxx --byok-string xxxxx --kty RSA (default value)
az keyvault key import --hsm-name xx -n xxx --byok-string xxxxx --kty EC

This checklist is used to make sure that common guidelines for a pull request are followed.

@bim-msft
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@bim-msft bim-msft merged commit 4d9dc5a into Azure:dev Dec 11, 2020
@bim-msft bim-msft deleted the bim_byok_ec branch December 11, 2020 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants