Skip to content

add getting_started_communicating_with_a_protected_instance to getting started #1715

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .code-samples.meilisearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ getting_started_configure_settings: |-
}'
getting_started_communicating_with_a_protected_instance: |-
curl \
-X POST 'http://127.0.0.1:7700/indexes/movies/search' \
-X POST 'http://localhost:7700/indexes/movies/search' \
-H 'Authorization: Bearer API_KEY'
faceted_search_update_settings_1: |-
curl \
Expand Down
6 changes: 3 additions & 3 deletions learn/getting_started/quick_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -502,9 +502,9 @@ Here's how to use the master key you set to [get all keys](/reference/api/keys.m

<CodeSamples id="authorization_header_1" />

::: warning
The master key should only be used for managing your API keys. Avoid using it for regular API calls.
:::
The master key should only be used for retrieving and managing API keys. For regular API calls, such as search, use an API key:

<CodeSamples id="getting_started_communicating_with_a_protected_instance" />

To learn more about key management, refer to our [dedicated guide](/learn/security/master_api_keys.md).

Expand Down