Skip to content

Commit

Permalink
Merge pull request #106 from visini/main
Browse files Browse the repository at this point in the history
Update docs with correct secret file paths for destination-specific secrets
  • Loading branch information
djmb authored Sep 27, 2024
2 parents cd7bfad + 094a69b commit b2a8c58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/configuration/environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:
Kamal uses dotenv to automatically load environment variables set in the `.kamal/secrets` file.

If you are using destinations, secrets will instead be read from `.kamal/secrets-<DESTINATION>` if it exists.
If you are using destinations, secrets will instead be read from `.kamal/secrets.<DESTINATION>` if it exists.

Common secrets across all destinations can be set in `.kamal/secrets-common`.

Expand Down
2 changes: 1 addition & 1 deletion docs/upgrading/secrets-changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: Secrets changes

Secrets have moved from `.env`/`.env.rb` to `.kamal/secrets`.

If you are using destinations, secrets will be read from `.kamal/secrets-<DESTINATION>` first or `.kamal/secrets` if it is not found.
If you are using destinations, secrets will be read from `.kamal/secrets.<DESTINATION>` first or `.kamal/secrets` if it is not found.

## [Interpolating secrets](#interpolating-secrets)

Expand Down

0 comments on commit b2a8c58

Please sign in to comment.