Skip to content

Commit 7896707

Browse files
authored
Merge branch 'master' into v1.6506.0
2 parents 49bed33 + ec903b9 commit 7896707

File tree

1 file changed

+32
-3
lines changed

1 file changed

+32
-3
lines changed

internal/namespaces/key_manager/v1alpha1/key_manager_cli.go

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"reflect"
99

1010
"github.com/scaleway/scaleway-cli/v2/core"
11-
key_manager "github.com/scaleway/scaleway-sdk-go/api/key_manager/v1alpha1"
11+
"github.com/scaleway/scaleway-sdk-go/api/key_manager/v1alpha1"
1212
"github.com/scaleway/scaleway-sdk-go/scw"
1313
)
1414

@@ -85,6 +85,35 @@ func keymanagerKeyCreate() *core.Command {
8585
"aes_256_gcm",
8686
},
8787
},
88+
{
89+
Name: "usage.asymmetric-encryption",
90+
Required: false,
91+
Deprecated: false,
92+
Positional: false,
93+
EnumValues: []string{
94+
"unknown_asymmetric_encryption",
95+
"rsa_oaep_2048_sha256",
96+
"rsa_oaep_3072_sha256",
97+
"rsa_oaep_4096_sha256",
98+
},
99+
},
100+
{
101+
Name: "usage.asymmetric-signing",
102+
Required: false,
103+
Deprecated: false,
104+
Positional: false,
105+
EnumValues: []string{
106+
"unknown_asymmetric_signing",
107+
"ec_p256_sha256",
108+
"ec_p384_sha384",
109+
"rsa_pss_2048_sha256",
110+
"rsa_pss_3072_sha256",
111+
"rsa_pss_4096_sha256",
112+
"rsa_pkcs1_2048_sha256",
113+
"rsa_pkcs1_3072_sha256",
114+
"rsa_pkcs1_4096_sha256",
115+
},
116+
},
88117
{
89118
Name: "description",
90119
Short: `(Optional) Description of the key`,
@@ -609,7 +638,7 @@ func keymanagerKeyEncrypt() *core.Command {
609638
ArgSpecs: core.ArgSpecs{
610639
{
611640
Name: "key-id",
612-
Short: `ID of the key to encrypt`,
641+
Short: `ID of the key to use for encryption`,
613642
Required: true,
614643
Deprecated: false,
615644
Positional: true,
@@ -657,7 +686,7 @@ func keymanagerKeyDecrypt() *core.Command {
657686
ArgSpecs: core.ArgSpecs{
658687
{
659688
Name: "key-id",
660-
Short: `ID of the key to decrypt`,
689+
Short: `ID of the key to decrypt with`,
661690
Required: true,
662691
Deprecated: false,
663692
Positional: true,

0 commit comments

Comments
 (0)