Skip to content

Commit 7379828

Browse files
nhooyrJoe Previte
authored and
Joe Previte
committed
FAQ.md: Add mention of hashedPassword (#2453)
Closes #2451
1 parent 8272dca commit 7379828

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

doc/FAQ.md

+11
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
- [Where are extensions stored?](#where-are-extensions-stored)
1212
- [How is this different from VS Code Codespaces?](#how-is-this-different-from-vs-code-codespaces)
1313
- [How should I expose code-server to the internet?](#how-should-i-expose-code-server-to-the-internet)
14+
- [Can I store my password hashed?](#can-i-store-my-password-hashed)
1415
- [How do I securely access web services?](#how-do-i-securely-access-web-services)
1516
- [Sub-paths](#sub-paths)
1617
- [Sub-domains](#sub-domains)
@@ -160,6 +161,16 @@ for free.
160161

161162
Again, please follow [./guide.md](./guide.md) for our recommendations on setting up and using code-server.
162163

164+
## Can I store my password hashed?
165+
166+
Yes you can! Use `hashedPassword` instead of `password`. Generate the hash with:
167+
168+
```
169+
echo "thisismypassword" | sha256sum | cut -d' ' -f1
170+
```
171+
172+
Of course replace `"thisismypassword"` with your actual password.
173+
163174
## How do I securely access web services?
164175

165176
code-server is capable of proxying to any port using either a subdomain or a

0 commit comments

Comments
 (0)