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

[AutoPR sdk/security/keyvault/azkeys] [keyvault] Add customization for JS codegen of AKV 7.6-preview.2 #13065

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions sdk/security/keyvault/azkeys/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Release History

## 2.0.0 (2025-02-13)
### Breaking Changes

- Type of `DeletedKeyProperties.KID` has been changed from `*ID` to `*string`
- Type of `JSONWebKey.KID` has been changed from `*ID` to `*string`
- Type of `JSONWebKey.KeyOps` has been changed from `[]*KeyOperation` to `[]*string`
- Type of `KeyAttributes.RecoveryLevel` has been changed from `*string` to `*DeletionRecoveryLevel`
- Type of `KeyOperationResult.KID` has been changed from `*ID` to `*string`
- Type of `KeyProperties.KID` has been changed from `*ID` to `*string`

### Features Added

- New value `KeyOperationExport` added to enum type `KeyOperation`
- New value `SignatureAlgorithmRSNULL` added to enum type `SignatureAlgorithm`
- New enum type `DeletionRecoveryLevel` with values `DeletionRecoveryLevelCustomizedRecoverable`, `DeletionRecoveryLevelCustomizedRecoverableProtectedSubscription`, `DeletionRecoveryLevelCustomizedRecoverablePurgeable`, `DeletionRecoveryLevelPurgeable`, `DeletionRecoveryLevelRecoverable`, `DeletionRecoveryLevelRecoverableProtectedSubscription`, `DeletionRecoveryLevelRecoverablePurgeable`
- New field `Maxresults` in struct `ListDeletedKeyPropertiesOptions`
- New field `Maxresults` in struct `ListKeyPropertiesOptions`
- New field `Maxresults` in struct `ListKeyPropertiesVersionsOptions`


## 1.3.1 (Unreleased)

### Features Added
Expand Down
4 changes: 2 additions & 2 deletions sdk/security/keyvault/azkeys/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

Install `azkeys` and `azidentity` with `go get`:
```Bash
go get github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys
go get github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys/v2
go get github.com/Azure/azure-sdk-for-go/sdk/azidentity
```
[azidentity][azure_identity] is used for Azure Active Directory authentication as demonstrated below.
Expand All @@ -37,7 +37,7 @@ Constructing the client requires your vault's URL, which you can get from the Az
```go
import (
"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
"github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys"
"github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys/v2"
)

func main() {
Expand Down
8 changes: 0 additions & 8 deletions sdk/security/keyvault/azkeys/build.go

This file was deleted.

44 changes: 40 additions & 4 deletions sdk/security/keyvault/azkeys/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

81 changes: 72 additions & 9 deletions sdk/security/keyvault/azkeys/constants.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions sdk/security/keyvault/azkeys/go.mod
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
module github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys
module github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys/v2

go 1.18

require (
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.16.0
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.17.0
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.8.0
github.com/Azure/azure-sdk-for-go/sdk/internal v1.10.0
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.3.0
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v1.1.0
github.com/stretchr/testify v1.10.0
)
Expand All @@ -18,9 +19,9 @@ require (
github.com/kylelemons/godebug v1.1.0 // indirect
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
golang.org/x/crypto v0.31.0 // indirect
golang.org/x/net v0.33.0 // indirect
golang.org/x/sys v0.28.0 // indirect
golang.org/x/crypto v0.32.0 // indirect
golang.org/x/net v0.34.0 // indirect
golang.org/x/sys v0.29.0 // indirect
golang.org/x/text v0.21.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading