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 22, 2025
1 parent f353a12 commit 1d2e780
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 @@ -181,11 +181,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 1d2e780

Please sign in to comment.