You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Usage: 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`.
482
+
// Usage: see the `Key.Usage` enum for a description of possible values.
481
483
Usage*KeyUsage`json:"usage"`
482
484
483
485
// State: see the `Key.State` enum for a description of possible values.
@@ -533,7 +535,7 @@ type CreateKeyRequest struct {
533
535
// Name: (Optional) Name of the key.
534
536
Name*string`json:"name,omitempty"`
535
537
536
-
// Usage: see the `Key.Algorithm.SymmetricEncryption` enum for a description of values.
538
+
// Usage: see the `Key.Usage` enum for a description of possible values.
537
539
Usage*KeyUsage`json:"usage,omitempty"`
538
540
539
541
// Description: (Optional) Description of the key.
@@ -886,7 +888,7 @@ type VerifyResponse struct {
886
888
// KeyID: ID of the key used for verification.
887
889
KeyIDstring`json:"key_id"`
888
890
889
-
// Valid: returns `true` if the signature is valid for the digest and key, `false` otherwise.
891
+
// Valid: returns `true` if the signature is valid for the digest and key, and `false` otherwise.
890
892
Validbool`json:"valid"`
891
893
}
892
894
@@ -906,7 +908,7 @@ func (s *API) Regions() []scw.Region {
// CreateKey: 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**.
911
+
// CreateKey: 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**.
0 commit comments