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
{{ message }}
Repository navigation
Commit d6ca974
Browse filesBrowse the repository at this point in the historyBrowse files
feat(context): make keychain migration opt-in via context fix
Stop migrating plaintext credentials on config load to preserve existing
workflows. New logins still store secrets in the keychain when available,
and users can run tcloud context fix --migrate-credentials to migrate.
Copy file name to clipboardExpand all lines: README.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,30 @@ users:
46
46
token: <PAT>
47
47
```
48
48
49
+
## Config file permissions
50
+
51
+
The CLI stores settings in `~/.tcloud`. On load, the CLI warns if that file is world-readable. Fix permissions with:
52
+
53
+
```bash
54
+
tcloud context fix
55
+
```
56
+
57
+
This restricts `~/.tcloud` to owner-only access (`0600`).
58
+
59
+
### Migrating credentials to the keychain
60
+
61
+
New logins store secrets in the OS credential store (macOS Keychain, Windows Credential Manager, or Linux Secret Service) when available. Existing configs with plaintext tokens in `~/.tcloud` are left unchanged until manually running the `fix` command.
62
+
63
+
To move existing plaintext credentials into the keychain:
64
+
65
+
```bash
66
+
tcloud context fix --migrate-credentials
67
+
```
68
+
69
+
Use `tcloud context view` to inspect your config with secrets redacted.
70
+
71
+
Control credential storage with `THALASSA_CREDENTIAL_STORE` (`auto`, `keychain`, or `file`).
0 commit comments