Skip to content

Commit e0d416f

Browse files
docs(secret-manager): changed mixed method descriptions (#3212)
Co-authored-by: Rémy Léone <[email protected]>
1 parent ae816d9 commit e0d416f

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3-
Retrieve the metadata of a secret specified by the `region` and the `secret_name` parameters.
3+
Retrieve the metadata of a secret specified by the `region` and `secret_id` parameters.
44

55
USAGE:
66
scw secret secret get [arg=value ...]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ USAGE:
88
AVAILABLE COMMANDS:
99
create Create a secret
1010
delete Delete a secret
11-
get Get metadata using the secret's name
11+
get Get metadata using the secret's ID
1212
list List secrets
1313
update Update metadata of a secret
1414

docs/commands/secret.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This API allows you to conveniently store, access and share sensitive data.
55
- [Secret management commands](#secret-management-commands)
66
- [Create a secret](#create-a-secret)
77
- [Delete a secret](#delete-a-secret)
8-
- [Get metadata using the secret's name](#get-metadata-using-the-secret's-name)
8+
- [Get metadata using the secret's ID](#get-metadata-using-the-secret's-id)
99
- [List secrets](#list-secrets)
1010
- [Update metadata of a secret](#update-metadata-of-a-secret)
1111
- [Secret Version management commands](#secret-version-management-commands)
@@ -88,9 +88,9 @@ scw secret secret delete secret-id=11111111-1111-1111-1111-111111111111
8888

8989

9090

91-
### Get metadata using the secret's name
91+
### Get metadata using the secret's ID
9292

93-
Retrieve the metadata of a secret specified by the `region` and the `secret_name` parameters.
93+
Retrieve the metadata of a secret specified by the `region` and `secret_id` parameters.
9494

9595
**Usage:**
9696

internal/namespaces/secret/v1alpha1/secret_cli.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ func secretSecretCreate() *core.Command {
117117

118118
func secretSecretGet() *core.Command {
119119
return &core.Command{
120-
Short: `Get metadata using the secret's name`,
121-
Long: `Retrieve the metadata of a secret specified by the ` + "`" + `region` + "`" + ` and the ` + "`" + `secret_name` + "`" + ` parameters.`,
120+
Short: `Get metadata using the secret's ID`,
121+
Long: `Retrieve the metadata of a secret specified by the ` + "`" + `region` + "`" + ` and ` + "`" + `secret_id` + "`" + ` parameters.`,
122122
Namespace: "secret",
123123
Resource: "secret",
124124
Verb: "get",

0 commit comments

Comments
 (0)