Skip to content

Commit b4a85c3

Browse files
committed
Hide session token when used for log in to the cluster
1 parent 58fa311 commit b4a85c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/openshift/cluster.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ export class Cluster extends OpenShiftItem {
152152
const ocToken = await window.showInputBox({
153153
value: token,
154154
prompt: "Provide Bearer token for authentication to the API server",
155-
ignoreFocusOut: true
155+
ignoreFocusOut: true,
156+
password: true
156157
});
157158
if (!ocToken) return null;
158159
return Promise.resolve()

0 commit comments

Comments
 (0)