mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
rebase: Bump github.com/hashicorp/vault from 1.4.2 to 1.9.9
Bumps [github.com/hashicorp/vault](https://github.com/hashicorp/vault) from 1.4.2 to 1.9.9. - [Release notes](https://github.com/hashicorp/vault/releases) - [Changelog](https://github.com/hashicorp/vault/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/vault/compare/v1.4.2...v1.9.9) --- updated-dependencies: - dependency-name: github.com/hashicorp/vault dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
committed by
mergify[bot]
parent
ba40da7e36
commit
42c79383e1
1
vendor/github.com/IBM/keyprotect-go-client/README.md
generated
vendored
1
vendor/github.com/IBM/keyprotect-go-client/README.md
generated
vendored
@ -176,6 +176,7 @@ dek = nil
|
||||
```
|
||||
|
||||
Have key protect create a DEK for you:
|
||||
* To Get the **keyversion** along with DEK and wrapped DEK use **WrapCreateDEKV2()**
|
||||
|
||||
```go
|
||||
dek, wrappedDek, err := client.WrapCreateDEK(ctx, crkIDOrAlias, nil)
|
||||
|
5
vendor/github.com/IBM/keyprotect-go-client/keys.go
generated
vendored
5
vendor/github.com/IBM/keyprotect-go-client/keys.go
generated
vendored
@ -555,6 +555,11 @@ func (c *Client) wrap(ctx context.Context, idOrAlias string, plainText []byte, a
|
||||
return pt, ct, nil
|
||||
}
|
||||
|
||||
// WrapCreateDEKV2 supports KeyVersion details with DEK and WrapDEK
|
||||
func (c *Client) WrapCreateDEKV2(ctx context.Context, idOrAlias string, additionalAuthData *[]string) (*KeyActionResponse, error) {
|
||||
return c.WrapV2(ctx, idOrAlias, nil, additionalAuthData)
|
||||
}
|
||||
|
||||
// WrapWithKeyVersion function supports KeyVersion Details, PlainText and Cyphertext in response
|
||||
func (c *Client) WrapV2(ctx context.Context, idOrAlias string, plainText []byte, additionalAuthData *[]string) (*KeyActionResponse, error) {
|
||||
keysActionReq := &KeysActionRequest{}
|
||||
|
Reference in New Issue
Block a user