Skip to content

Commit

Permalink
Use .env for secrets
Browse files Browse the repository at this point in the history
Google search should find this section for "quarkus store secrets locally"
  • Loading branch information
ge0ffrey authored Oct 4, 2023
1 parent 3170e5d commit ac42570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/config-reference.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ QUARKUS_DATASOURCE_PASSWORD=youshallnotpass <1>
<1> The name `QUARKUS_DATASOURCE_PASSWORD` the same conversion rules used for <<environment-variables>>.

For `dev` mode, this file can be placed in the root of the project, but it is advised to **not** check it in to version
control.
control because it typically contains passwords, access tokens, API keys or other secrets.

IMPORTANT: Environment variables in the `.env` file are not available via the `System.getenv(String)` API.

Expand Down

0 comments on commit ac42570

Please sign in to comment.