Skip to content

Commit b656fff

Browse files
nhooyrjsjoeio
authored andcommitted
FAQ.md: Add mention of hashedPassword (#2453)
Closes #2451
1 parent bcb1a1b commit b656fff

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)
@@ -159,6 +160,16 @@ for free.
159160

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

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

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

0 commit comments

Comments
 (0)