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
Copy file name to clipboardExpand all lines: cmd/scw/testdata/test-all-usage-keymanager-key-create-usage.golden
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,16 @@
1
1
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2
2
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3
-
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**.
3
+
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**.
4
4
5
5
USAGE:
6
6
scw keymanager key create [arg=value ...]
7
7
8
8
ARGS:
9
9
[project-id] Project ID to use. If none is passed the default project ID will be used
10
10
[name] (Optional) Name of the key
11
-
[usage.symmetric-encryption] Algorithm used to encrypt and decrypt arbitrary payloads. (unknown_symmetric_encryption | aes_256_gcm)
[usage.symmetric-encryption] Encrypt and decrypt arbitrary payloads using a symmetric encryption algorithm. (unknown_symmetric_encryption | aes_256_gcm)
12
+
[usage.asymmetric-encryption] Encrypt and decrypt arbitrary payloads using an asymmetric encryption algorithm. (unknown_asymmetric_encryption | rsa_oaep_2048_sha256 | rsa_oaep_3072_sha256 | rsa_oaep_4096_sha256)
13
+
[usage.asymmetric-signing] Sign and verify arbitrary messages using an asymmetric signing algorithm. (unknown_asymmetric_signing | ec_p256_sha256 | ec_p384_sha384 | rsa_pss_2048_sha256 | rsa_pss_3072_sha256 | rsa_pss_4096_sha256 | rsa_pkcs1_2048_sha256 | rsa_pkcs1_3072_sha256 | rsa_pkcs1_4096_sha256)
Copy file name to clipboardExpand all lines: docs/commands/keymanager.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ Keys are logical containers which store cryptographic keys.
27
27
28
28
### Create a key
29
29
30
-
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**.
30
+
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**.
| usage.symmetric-encryption | One of: `unknown_symmetric_encryption`, `aes_256_gcm`|Encrypt and decrypt arbitrary payloads using a symmetric encryption algorithm. |
46
+
| usage.asymmetric-encryption | One of: `unknown_asymmetric_encryption`, `rsa_oaep_2048_sha256`, `rsa_oaep_3072_sha256`, `rsa_oaep_4096_sha256`|Encrypt and decrypt arbitrary payloads using an asymmetric encryption algorithm.|
47
+
| usage.asymmetric-signing | One of: `unknown_asymmetric_signing`, `ec_p256_sha256`, `ec_p384_sha384`, `rsa_pss_2048_sha256`, `rsa_pss_3072_sha256`, `rsa_pss_4096_sha256`, `rsa_pkcs1_2048_sha256`, `rsa_pkcs1_3072_sha256`, `rsa_pkcs1_4096_sha256`|Sign and verify arbitrary messages using an asymmetric signing algorithm.|
48
48
| description || (Optional) Description of the key |
49
49
| tags.{index} || (Optional) List of the key's tags |
50
50
| rotation-policy.rotation-period || Rotation period |
Long: `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**.`,
62
+
Long: `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