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: replacing 'purgeDisabled' attribute with 'deletionRecoveryLevel' #3432

Merged
merged 8 commits into from
Jun 30, 2017

Conversation

dragav
Copy link
Contributor

@dragav dragav commented Jun 28, 2017

Description


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

General Guidelines

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

SDK Generation Guidelines

  • If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
  • The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code.
  • The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK.

Dragos Avadanei added 5 commits June 26, 2017 16:56
…rated deletion recovery level

(restoring lost commit) adding deletion recovery level to KV attributes

updated tests and recordings
…rated deletion recovery level

(restoring lost commit) adding deletion recovery level to KV attributes

updated tests and recordings
<PackageReference Include="Newtonsoft.Json">
<Version>6.0.8</Version>
</PackageReference>
</ItemGroup>
Copy link
Contributor

Choose a reason for hiding this comment

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

Added twice?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, one was from the merge.. Fixed, thanks.

: base(enabled, notBefore, expires, created, updated)
{
PurgeDisabled = purgeDisabled;
RecoveryLevel = recoveryLevel;
Copy link
Contributor

Choose a reason for hiding this comment

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

This is breaking change. We just published a stable nuget package. Please unlist that before publishing your changes.

@@ -4,7 +4,7 @@
<PackageId>Microsoft.Azure.KeyVault</PackageId>
<Description>Azure Key Vault enables users to store and use cryptographic keys within the Microsoft Azure environment. Azure Key Vault supports multiple key types and algorithms and enables the use of Hardware Security Modules (HSM) for high value customer keys. In addition, Azure Key Vault allows users to securely store secrets in a Key Vault; secrets are limited size octet objects and Azure Key Vault applies no specific semantics to these objects. A Key Vault may contain a mix of keys and secrets at the same time, and access control for the two types of object is independently controlled. Users, subject to appropriate authorization, may: 1) Manage cryptographic keys using Create, Import, Update, Delete and other operations 2) Manage secrets using Get, Set, Delete and other operations 3) Use cryptographic keys with Sign/Verify, WrapKey/UnwrapKey and Encrypt/Decrypt operations. Operations against Key Vaults are authenticated and authorized using Azure Active Directory. Key Vault now supports certificates, a complex type that makes use of existing key and secret infrastructure for certificate operations. KV certificates also support notification and auto-renewal as well as other management features.</Description>
<AssemblyTitle>Microsoft Azure key vault</AssemblyTitle>
<VersionPrefix>2.3.1</VersionPrefix>
<VersionPrefix>2.3.2</VersionPrefix>
Copy link
Member

Choose a reason for hiding this comment

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

@dragav if you have a breaking change, you should bump up your major version

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@shahabhijeet as discussed offline, this change would have been breaking if we kept the previous SDK version (v2.3.1). Since you unlisted that package, that makes this version (2.3.2) the first release of the SDK in this version range, and so we're not breaking anybody. All other consumers of the KV SDK in the 2.3* line would have used 'prerelease' builds, which implies the possibility of changes.

Thanks for your consideration.

@shahabhijeet shahabhijeet merged commit 7b7b30f into Azure:psSdkJson6 Jun 30, 2017
@dragav dragav deleted the psSdkJson6 branch June 30, 2017 00: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.

4 participants