Skip to content

Commit bfa58ff

Browse files
committed
Make coder.useKeyring default to false
1 parent 7d9f675 commit bfa58ff

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
"coder.useKeyring": {
160160
"markdownDescription": "Store session tokens in the OS keyring (macOS Keychain, Windows Credential Manager) instead of plaintext files. Requires CLI >= 2.29.0. Has no effect on Linux.",
161161
"type": "boolean",
162-
"default": true
162+
"default": false
163163
},
164164
"coder.httpClientLogLevel": {
165165
"markdownDescription": "Controls the verbosity of HTTP client logging. This affects what details are logged for each HTTP request and response.",

src/cliConfig.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ function isFlag(item: string, name: string): boolean {
6868
export function isKeyringEnabled(
6969
configs: Pick<WorkspaceConfiguration, "get">,
7070
): boolean {
71-
return isKeyringSupported() && configs.get<boolean>("coder.useKeyring", true);
71+
return (
72+
isKeyringSupported() && configs.get<boolean>("coder.useKeyring", false)
73+
);
7274
}
7375

7476
/**

0 commit comments

Comments
 (0)