@tsuga/cli 1.18.0 → 1.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/cli.js +77 -76
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -61,7 +61,7 @@ tsuga auth login
|
|
|
61
61
|
# Print the saved user access token
|
|
62
62
|
tsuga auth token
|
|
63
63
|
|
|
64
|
-
# Show the current authentication method
|
|
64
|
+
# Show the current authentication method, and when the session expires or expired
|
|
65
65
|
tsuga auth status
|
|
66
66
|
|
|
67
67
|
# Clear the saved user session
|
|
@@ -70,6 +70,8 @@ tsuga auth logout
|
|
|
70
70
|
|
|
71
71
|
After `tsuga auth login`, commands work without an Operation API key.
|
|
72
72
|
|
|
73
|
+
On macOS the session is stored in your Keychain under the service `tsuga-cli` (one item per API URL), so it never lands on disk in plaintext. If the Keychain is unavailable or rejects the write, the CLI says so and falls back to the config file. Everywhere else the session is written to the config file. `tsuga auth logout` removes it from both.
|
|
74
|
+
|
|
73
75
|
### Operation API key
|
|
74
76
|
|
|
75
77
|
For non-interactive use (CI, scripts), authenticate with an Operation API key. Generate one from your [Tsuga account settings](https://app.tsuga.com/settings/api-keys?operation=true), then save it once:
|