Skip to content
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

[KeyVault] - Address a few items for keys and admin and bump service version #13759

Merged
merged 13 commits into from
Feb 16, 2021

Conversation

maorleger
Copy link
Member

@maorleger maorleger commented Feb 11, 2021

What

  • Move curve from createECKeyOptions to createKeyOptions
  • Add sample clatifying when CertificatePolicy.contentType is required
  • Bump the API version to 7.2

Why

Todo

  • changelog
  • clarify whether we bump to 7.2 for keys, certs, and secrets as well


// For convenience in this sample we'll use some self-signed test certificates
// that were generated using openssl
const samplePfxBase64 =
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks suspicious but overall harmless - I just copied the same self signed test cert that dotnet uses instead of generating a different one https://github.com/Azure/azure-sdk-for-net/blob/311f34ea6ee203adb787b0319adf0415fbc30839/sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/samples/Sample3_ImportCertificate.cs#L99-L204

Debated between inlining these and making PEM and PFX files - but those are gitignored so I figured it's not worth constantly having to force add them. Let me know if you think otherwise!

@maorleger maorleger changed the title [KeyVault] - Address a few items for keys and admin [KeyVault] - Address a few items for keys and admin and bump service version Feb 16, 2021
Copy link
Contributor

@sadasant sadasant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Thank you 🌞

@maorleger maorleger merged commit 35fb851 into Azure:master Feb 16, 2021
@maorleger maorleger deleted the first-week-issues branch February 16, 2021 23:52
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-js that referenced this pull request Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants