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: docs/stackit_beta_edge-cloud_token_create.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ Creates a token for an Edge Cloud instance
6
6
7
7
Creates a token for a STACKIT Edge Cloud (STEC) instance.
8
8
9
-
An expiration time can be set for the token. The expiration time is set in seconds(s), minutes(m), hours(h), days(d) or months(M). Default is 3600(1h) seconds.
9
+
An expiration time can be set for the token. The expiration time is set in seconds(s), minutes(m), hours(h), days(d) or months(M). Default is 3600 seconds.
10
10
Note: the format for the duration is <value><unit>, e.g. 30d for 30 days. You may not combine units.
Short: "Creates a token for an Edge Cloud instance",
46
46
Long: fmt.Sprintf("%s\n\n%s\n%s",
47
47
"Creates a token for a STACKIT Edge Cloud (STEC) instance.",
48
-
"An expiration time can be set for the token. The expiration time is set in seconds(s), minutes(m), hours(h), days(d) or months(M). Default is 3600(1h) seconds.",
48
+
fmt.Sprintf("An expiration time can be set for the token. The expiration time is set in seconds(s), minutes(m), hours(h), days(d) or months(M). Default is %d seconds.", expirationSecondsDefault),
49
49
"Note: the format for the duration is <value><unit>, e.g. 30d for 30 days. You may not combine units."),
cmd.Flags().StringP(expirationFlag, "e", "", "Expiration time for the token, e.g. 5d. By default, the token is valid for 1h.")
126
+
cmd.Flags().StringP(expirationFlag, "e", "", fmt.Sprintf("Expiration time for the token, e.g. 5d. By default, the token is valid for %d seconds.", expirationSecondsDefault))
0 commit comments