Skip to content

Commit 3cc943c

Browse files
feat(secret_manager): improve secret type doc
(#3446) Co-authored-by: Rémy Léone <rleone@scaleway.com>
1 parent 1450af3 commit 3cc943c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cmd/scw/testdata/test-all-usage-secret-secret-create-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ARGS:
1414
[name] Name of the secret
1515
[tags.{index}] List of the secret's tags
1616
[description] Description of the secret
17-
[type] Type of the secret (unknown_secret_type | opaque | certificate)
17+
[type] Type of the secret (unknown_secret_type | opaque | certificate | key_value)
1818
[path] Path of the secret
1919
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
2020

docs/commands/secret.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ scw secret secret create [arg=value ...]
117117
| name | | Name of the secret |
118118
| tags.{index} | | List of the secret's tags |
119119
| description | | Description of the secret |
120-
| type | One of: `unknown_secret_type`, `opaque`, `certificate` | Type of the secret |
120+
| type | One of: `unknown_secret_type`, `opaque`, `certificate`, `key_value` | Type of the secret |
121121
| path | | Path of the secret |
122122
| region | Default: `fr-par`<br />One of: `fr-par` | Region to target. If none is passed will use default region from the config |
123123

internal/namespaces/secret/v1alpha1/secret_cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ func secretSecretCreate() *core.Command {
115115
Required: false,
116116
Deprecated: false,
117117
Positional: false,
118-
EnumValues: []string{"unknown_secret_type", "opaque", "certificate"},
118+
EnumValues: []string{"unknown_secret_type", "opaque", "certificate", "key_value"},
119119
},
120120
{
121121
Name: "path",

0 commit comments

Comments
 (0)