Skip to content

Commit e7941eb

Browse files
committed
Add note about .copier/.copier-answers.yml containing sensitive information.
1 parent 14e2dd8 commit e7941eb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ You can (and should) pass these as environment variables from secrets.
140140

141141
Read the [deployment.md](./deployment.md) docs for more details.
142142

143-
Also note that the `.env` file is not included in `.gitignore` by default. See [development.md](./development.md#the-env-file) for more details.
143+
**Note**: The `.env` file is not included in `.gitignore` by default. See [development.md](./development.md#the-env-file) for more details.
144144

145145
### Generate Secret Keys
146146

@@ -194,6 +194,8 @@ pipx run copier copy https://github.com/fastapi/full-stack-fastapi-template my-a
194194

195195
**Note** the `--trust` option is necessary to be able to execute a [post-creation script](https://github.com/fastapi/full-stack-fastapi-template/blob/master/.copier/update_dotenv.py) that updates your `.env` files.
196196

197+
**Note**: After generating the project, the `.copier/.copier-answers.yml` file contains the values you provided for the template variables, including secrets. If your project is public, you should remove this file and store it somewhere safe or add it to your `.gitignore` to avoid exposing sensitive information.
198+
197199
### Input Variables
198200

199201
Copier will ask you for some data, you might want to have at hand before generating the project.

0 commit comments

Comments
 (0)