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-secret-secret-update-usage.golden
+10-7Lines changed: 10 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,20 @@
1
1
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2
2
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3
-
Edit a secret's metadata such as name, tag(s)and description. The secret to update is specified by the `secret_id` and `region` parameters.
3
+
Edit a secret's metadata such as name, tag(s), description and ephemeral policy. The secret to update is specified by the `secret_id` and `region` parameters.
4
4
5
5
USAGE:
6
6
scw secret secret update [arg=value ...]
7
7
8
8
ARGS:
9
-
secret-id ID of the secret
10
-
[name] Secret's updated name (optional)
11
-
[tags.{index}] Secret's updated list of tags (optional)
12
-
[description] Description of the secret
13
-
[path] Path of the folder
14
-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
9
+
secret-id ID of the secret
10
+
[name] Secret's updated name (optional)
11
+
[tags.{index}] Secret's updated list of tags (optional)
12
+
[description] Description of the secret
13
+
[path] Path of the folder
14
+
[ephemeral-policy-template.time-to-live] Time frame, from one second and up to one year, during which the secret's versions are valid.
15
+
[ephemeral-policy-template.expires-once-accessed] Returns `true` if the version expires after a single user access.
16
+
[ephemeral-policy-template.action] Action to perform when the version of a secret expires (unknown_action | delete | disable)
17
+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
Edit a secret's metadata such as name, tag(s)and description. The secret to update is specified by the `secret_id` and `region` parameters.
305
+
Edit a secret's metadata such as name, tag(s), description and ephemeral policy. The secret to update is specified by the `secret_id` and `region` parameters.
Long: `Edit a secret's metadata such as name, tag(s)and description. The secret to update is specified by the `+"`"+`secret_id`+"`"+` and `+"`"+`region`+"`"+` parameters.`,
253
+
Long: `Edit a secret's metadata such as name, tag(s), description and ephemeral policy. The secret to update is specified by the `+"`"+`secret_id`+"`"+` and `+"`"+`region`+"`"+` parameters.`,
0 commit comments