Add warning about secrets

This commit is contained in:
Paulus Schoutsen 2018-08-20 12:09:50 +02:00 committed by GitHub
parent 3739199150
commit e28c876b97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,8 +61,13 @@ Here is an example that will include your `.gitignore` file, a `scenes` director
!.gitignore
secrets.yaml
known_devices.yaml
.storage
```
<p class='note'>
You might read this guide too late and accidentally already have your secrets published. It is not enough to just remove them with a new commit. Git is a version control system and keeps history. You need to delete your repository and start a new one. Also change all passwords and revoke the API keys that were public.
</p>
More information on the layout of the file can be found in the [.gitignore manual](https://git-scm.com/docs/gitignore).
### {% linkable_title Step 3: Preparing your Home Assistant directory for GitHub %}