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] Removing embedded models in azkeys #16933

Merged
merged 33 commits into from
Mar 3, 2022
Merged
Show file tree
Hide file tree
Changes from 31 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
b297517
removing embedded models in keyvault libraries
seankane-msft Jan 27, 2022
59b43df
updating autorest version and regenerating
seankane-msft Feb 9, 2022
2ee2776
removing from autorest.md file
seankane-msft Feb 9, 2022
8834d65
renaming for consistency
seankane-msft Feb 9, 2022
a8adf2f
merging main
seankane-msft Feb 10, 2022
66185ce
KeyAttributes -> KeyProperties
seankane-msft Feb 10, 2022
1039d0d
removing interfaces, returning structs directly
seankane-msft Feb 10, 2022
dcfa1e5
Update sdk/keyvault/azkeys/models.go
seankane-msft Feb 10, 2022
90cddd7
build fix
seankane-msft Feb 10, 2022
7d1069b
Merge branch 'embedded-models' of https://github.com/seankane-msft/az…
seankane-msft Feb 10, 2022
8be4272
renaming
seankane-msft Feb 10, 2022
57f0a14
fixing example name
seankane-msft Feb 10, 2022
505cabe
test fix
seankane-msft Feb 10, 2022
0ce9e60
undoing changes to azsecrets
seankane-msft Feb 16, 2022
1492954
renamings
seankane-msft Feb 16, 2022
6d2d090
formatting
seankane-msft Feb 22, 2022
1a6bdd5
removing stuttering, adding Possible***Values methods
seankane-msft Feb 23, 2022
5a3c434
fixing web keys
seankane-msft Feb 23, 2022
5f5ccd6
formatting
seankane-msft Feb 24, 2022
635151f
Clients returned by value
seankane-msft Mar 1, 2022
36f1936
merge conflicts
seankane-msft Mar 1, 2022
e83e2ec
formatting
seankane-msft Mar 1, 2022
e760c8b
prepare release
seankane-msft Mar 1, 2022
7e5a263
return clients by pointer
seankane-msft Mar 1, 2022
e3c8713
return pagers/pollers by ref
seankane-msft Mar 1, 2022
c3936db
Update sdk/keyvault/azkeys/client.go
seankane-msft Mar 1, 2022
32c5f07
charles suggestion
seankane-msft Mar 1, 2022
b8a679a
removing comment
seankane-msft Mar 1, 2022
64469a7
pagers
seankane-msft Mar 1, 2022
16e8389
constants
seankane-msft Mar 1, 2022
382b928
encryptionalgorithm -> ExportEncryAlg
seankane-msft Mar 2, 2022
74661ad
fixing broken KV test
seankane-msft Mar 3, 2022
34fc809
ignoring error altogether for broken test
seankane-msft Mar 3, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
17 changes: 9 additions & 8 deletions sdk/keyvault/azkeys/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
# Release History

## 0.3.1 (Unreleased)
## 0.4.0 (2022-03-08)

### Features Added
* Adds the `ReleasePolicy` parameter to the `UpdateKeyPropertiesOptions` struct.
* Adds the `Immutable` boolean to the `KeyReleasePolicy` model.
* Added a `ToPtr` method on `KeyType` constant

### Breaking Changes
* Changed the `Data` to `EncodedPolicy` on the `KeyReleasePolicy` struct.
* Changed the `Tags` properties from `map[string]*string` to `map[string]string`.
* Changed the `Updated`, `Created`, and `Expires` properties to `UpdatedOn`, `CreatedOn`, and `ExpiresOn`.
* Renamed `JSONWebKeyOperation` to `KeyOperation`.
* Renamed `JSONWebKeyCurveName` to `KeyCurveName`
* Renamed `JSONWebKeyOperation` to `Operation`.
* Renamed `JSONWebKeyCurveName` to `CurveName`
* Prefixed all KeyType constants with `KeyType`
* Changed `KeyBundle` to `KeyVaultKey` and `DeletedKeyBundle` to `DeletedKey`
* Renamed `KeyAttributes` to `KeyProperties`
* Renamed `ListKeyVersions` to `ListPropertiesOfKeyVersions`
* Removed `Attributes` struct
* Changed `CreateOCTKey`/`Response`/`Options` to `CreateOctKey`/`Response`/`Options`

### Bugs Fixed

### Other Changes

## 0.3.0 (2022-02-08)

### Breaking Changes
Expand Down
7 changes: 2 additions & 5 deletions sdk/keyvault/azkeys/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ These settings apply only when `--go` is specified on the command line.
go: true
version: "^3.0.0"
input-file:
- https://github.com/Azure/azure-rest-api-specs/blob/8a061f1e9031450b9eb5546d242f2a28c93eaa69/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.3-preview/common.json
- https://github.com/Azure/azure-rest-api-specs/blob/8a061f1e9031450b9eb5546d242f2a28c93eaa69/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.3-preview/keys.json
- https://github.com/Azure/azure-rest-api-specs/blob/8a061f1e9031450b9eb5546d242f2a28c93eaa69/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.3-preview/rbac.json
- https://github.com/Azure/azure-rest-api-specs/blob/8a061f1e9031450b9eb5546d242f2a28c93eaa69/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.3-preview/securitydomain.json
- https://github.com/Azure/azure-rest-api-specs/blob/ecdce42924ed0f7e60a32c74bc0eb674ca6d4aae/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.3-preview/keys.json
license-header: MICROSOFT_MIT_NO_VERSION
clear-output-folder: true
output-folder: internal/generated
Expand All @@ -18,6 +15,6 @@ openapi-type: "data-plane"
security: "AADToken"
security-scopes: "https://vault.azure.net/.default"
use: "@autorest/go@4.0.0-preview.35"
module-version: 0.3.0
module-version: 0.4.0
export-clients: true
```