Skip to content

[KeyVault] - Add support for getRandomBytes operation#15955

Merged
maorleger merged 5 commits intoAzure:mainfrom
maorleger:keyvault-rng
Jun 25, 2021
Merged

[KeyVault] - Add support for getRandomBytes operation#15955
maorleger merged 5 commits intoAzure:mainfrom
maorleger:keyvault-rng

Conversation

@maorleger
Copy link
Copy Markdown
Member

What

  • Regenerate from 7.3-preview swagger
  • Add getRandomBytes method

Why

  • For July we would like to add support for the RNG endpoint in a Managed HSM. While this is a customer ask for Java, we will add this to all languages at the same time.

@ghost ghost added the KeyVault label Jun 24, 2021
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Now that 7.3-preview is the latest, we need an entry for 7.2 as well

@maorleger maorleger marked this pull request as ready for review June 24, 2021 20:51
@maorleger maorleger requested a review from heaths June 24, 2021 22:49
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

We should avoid const enum whenever possible, not breaking as the net-effect is the same for TS and additive for JS. I plan to incrementally replace const enum with enum where I can. I did not have lot of success with preserveConstEnums though

Copy link
Copy Markdown
Member

@heaths heaths left a comment

Choose a reason for hiding this comment

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

Reviewed the .ts and .md files. LGTM

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Oh this is super cool!

Copy link
Copy Markdown
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.

The actual change looks simple an clean!

@maorleger maorleger enabled auto-merge (squash) June 25, 2021 22:09
@maorleger maorleger merged commit f3a8efe into Azure:main Jun 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants