mirror of
https://github.com/zhaofengli/attic.git
synced 2025-03-05 16:27:06 +00:00
book: fixup docs
This commit is contained in:
parent
9e23916e02
commit
ba9f3f55b7
1 changed files with 2 additions and 2 deletions
|
@ -14,13 +14,13 @@ Attic provides [a NixOS module](https://github.com/zhaofengli/attic/blob/main/ni
|
||||||
The RS256 JWT secret can be generated with the `openssl` utility:
|
The RS256 JWT secret can be generated with the `openssl` utility:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
nix run nixpkgs#openssl -- genrsa -traditional -out - 4096 | base64 -w0
|
nix run nixpkgs#openssl -- genrsa -traditional 4096 | base64 -w0
|
||||||
```
|
```
|
||||||
|
|
||||||
Create a file on the server containing the following contents:
|
Create a file on the server containing the following contents:
|
||||||
|
|
||||||
```
|
```
|
||||||
ATTIC_SERVER_TOKEN_RS256_SECRET="output from above"
|
ATTIC_SERVER_TOKEN_RS256_SECRET_BASE64="output from above"
|
||||||
```
|
```
|
||||||
|
|
||||||
Ensure the file is only accessible by root.
|
Ensure the file is only accessible by root.
|
||||||
|
|
Loading…
Add table
Reference in a new issue