Skip to content

Commit

Permalink
Turn Vale off on table to appease it
Browse files Browse the repository at this point in the history
Signed-off-by: Diana <[email protected]>
  • Loading branch information
cloudjumpercat committed Jan 17, 2025
1 parent c185074 commit 33d3851
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/_gateway_entities/vault.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,15 @@ data:

You can store secrets as environment variables instead of configuring a Vault entity or third-party backend vault.

<!--vale off-->

| Use case | Environment variable example | Secret reference example |
|-------|-------------|-------------|
| Single secret value | `export MY_SECRET_VALUE=example-secret` | `{vault://env/my-secret-value}` |
| Multiple secrets (flat JSON string) | `export PG_CREDS='{"username":"user", "password":"pass"}'` | `{vault://env/pg-creds/username}`<br><br>`{vault://env/pg-creds/password}` |

<!--vale on-->

## Schema

The Vault entity can only be used once the database is initialized. Secrets for values that are used before the database is initialized can’t make use of the Vaults entity.
Expand Down

0 comments on commit 33d3851

Please sign in to comment.