Hoping code-server can use the same technique like jupyter server (reference). Basically:
- New
code-server password command to prompt for password and save it to ~/.config/code-server/password.json.
- Remove
hased-password: key from ~/.config/code-server/config.yaml.
This will help end users to commit the config.yaml file to dotfiles git repository without leaking credentials.