Skip to content

Commit

Permalink
fix: update guide for JWT_ENVIRONMENT (#145)
Browse files Browse the repository at this point in the history
* fix: update guide for JWT_ENVIRONMENT

* Update configure-api.md
  • Loading branch information
d2lam authored and tkyi committed Feb 20, 2018
1 parent ccb42fb commit b1c22b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/cluster-management/configure-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Configure how users can and who can access the API.

| Key | Required | Description |
|:-----------------------|:---------|:--------------------------------------------------------------------------------------------------------------------------|
| JWT_ENVIRONMENT | No | Environment to generate the JWT for. Ex: `prod`, `beta`. If you want the JWT to not contain `environment`, don't set this environment variable (do not set it to `''`). |
| SECRET_JWT_PRIVATE_KEY | Yes | A private key uses for signing jwt tokens. Generate one by running `$ openssl genrsa -out jwt.pem 2048` |
| SECRET_JWT_PUBLIC_KEY | Yes | The public key used for verifying the signature. Generate one by running `$ openssl rsa -in jwt.pem -pubout -out jwt.pub` |
| SECRET_COOKIE_PASSWORD | Yes | A password used for encrypting session data. **Needs to be minimum 32 characters** |
Expand Down

0 comments on commit b1c22b1

Please sign in to comment.