Skip to content

Commit 18d8e5b

Browse files
authored
Merge branch 'main' into v1.7011.0
2 parents c96c79b + 2ba3308 commit 18d8e5b

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

packages_generated/key_manager/src/v1alpha1/api.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export class API extends ParentAPI {
7979
})
8080

8181
/**
82-
* Create a key. Create a key in a given region specified by the `region` parameter. Keys only support symmetric encryption. You can use keys to encrypt or decrypt arbitrary payloads, or to generate data encryption keys. **Data encryption keys are not stored in Key Manager**.
82+
* Create a key. Create a key in a given region specified by the `region` parameter. You can use keys to encrypt or decrypt arbitrary payloads, to sign and verify messages or to generate data encryption keys. **Data encryption keys are not stored in Key Manager**.
8383
*
8484
* @param request - The request {@link CreateKeyRequest}
8585
* @returns A Promise of Key

packages_generated/key_manager/src/v1alpha1/types.gen.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,13 @@ export interface KeyUsage {
7575
*/
7676
symmetricEncryption?: KeyAlgorithmSymmetricEncryption
7777
/**
78+
* See the `Key.Algorithm.AsymmetricEncryption` enum for a description of values.
7879
*
7980
* One-of ('usage'): at most one of 'symmetricEncryption', 'asymmetricEncryption', 'asymmetricSigning' could be set.
8081
*/
8182
asymmetricEncryption?: KeyAlgorithmAsymmetricEncryption
8283
/**
84+
* See the `Key.Algorithm.AsymmetricSigning` enum for a description of values.
8385
*
8486
* One-of ('usage'): at most one of 'symmetricEncryption', 'asymmetricEncryption', 'asymmetricSigning' could be set.
8587
*/
@@ -106,7 +108,7 @@ export interface Key {
106108
*/
107109
name: string
108110
/**
109-
* Keys with a usage set to `symmetric_encryption` can encrypt and decrypt data using the `AES-256-GCM` key algorithm. Key Manager currently only supports `AES-256-GCM`.
111+
* See the `Key.Usage` enum for a description of possible values.
110112
*/
111113
usage?: KeyUsage
112114
/**
@@ -177,7 +179,7 @@ export type CreateKeyRequest = {
177179
*/
178180
name?: string
179181
/**
180-
* See the `Key.Algorithm.SymmetricEncryption` enum for a description of values.
182+
* See the `Key.Usage` enum for a description of possible values.
181183
*/
182184
usage?: KeyUsage
183185
/**
@@ -580,7 +582,7 @@ export interface VerifyResponse {
580582
*/
581583
keyId: string
582584
/**
583-
* Returns `true` if the signature is valid for the digest and key, `false` otherwise.
585+
* Returns `true` if the signature is valid for the digest and key, and `false` otherwise.
584586
*/
585587
valid: boolean
586588
}

0 commit comments

Comments
 (0)