storing app_id and index_name is not unsecure
application_id and index_name are publicly available credentials
This commit is contained in:
parent
b090d89312
commit
2ed054c40d
@ -92,8 +92,6 @@ ALGOLIA_APPLICATION_ID | `your_application_id`
|
||||
ALGOLIA_API_KEY | `your_api_key`
|
||||
ALGOLIA_INDEX_NAME | `your_index_name`
|
||||
|
||||
### ⚠ Other, unsecure, method ⚠
|
||||
|
||||
As a fallback measure, the plugin also checks if `application_id` and
|
||||
`index_name` are available under `algolia` key in your `_config.yml`
|
||||
file like this:
|
||||
@ -106,6 +104,8 @@ algolia:
|
||||
index_name: 'your_index_name'
|
||||
```
|
||||
|
||||
### ⚠ Other, unsecure, method ⚠
|
||||
|
||||
You can also store your confidential API key in a file named `_algolia_api_key`,
|
||||
in your source directory. If you do this we __very, very, very strongly__
|
||||
encourage you to make sure the file is not tracked in your versioning system.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user