Skip to content

Commit c0a1cf9

Browse files
authored
Update fly auth token desc (#3824)
* update fly auth token desc * fixes * add quotes
1 parent d66c0eb commit c0a1cf9

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

internal/command/auth/token.go

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ import (
1616

1717
func newToken() *cobra.Command {
1818
const (
19-
long = `Shows the authentication token that is currently in use.
20-
This can be used as an authentication token with API services,
21-
independent of flyctl.
22-
`
23-
short = "Show the current auth token"
19+
long = `Shows the authentication token that is currently in use by flyctl.
20+
The auth token used by flyctl may expire quickly and shouldn't be used in places
21+
where the token needs to keep working for a long time. For API authentication, you
22+
can use the "fly tokens create" command instead, to create narrowly-scoped tokens with
23+
a custom expiry.`
24+
25+
short = "Show the current auth token in use by flyctl."
2426
)
2527

2628
cmd := command.New("token", short, long, runAuthToken,

0 commit comments

Comments
 (0)