Skip to content

Commit 30f4412

Browse files
update based on review
1 parent 97503b6 commit 30f4412

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.code-samples.meilisearch.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,10 @@ getting_started_configure_settings: |-
581581
"_geo"
582582
]
583583
}'
584+
getting_started_communicating_with_a_protected_instance: |-
585+
curl \
586+
-X POST 'http://localhost:7700/indexes/movies/search' \
587+
-H 'Authorization: Bearer API_KEY'
584588
faceted_search_update_settings_1: |-
585589
curl \
586590
-X POST 'http://localhost:7700/indexes/movies/settings' \

.vuepress/public/sample-template.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ getting_started_check_task_status: |-
7979
getting_started_update_stop_words: |-
8080
getting_started_synonyms: |-
8181
getting_started_update_displayed_attributes: |-
82+
getting_started_communicating_with_a_protected_instance: |-
8283
getting_started_update_ranking_rules: |-
8384
getting_started_update_searchable_attributes: |-
8485
getting_started_add_meteorites: |-

learn/getting_started/quick_start.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -502,9 +502,9 @@ Here's how to use the master key you set to [get all keys](/reference/api/keys.m
502502

503503
<CodeSamples id="authorization_header_1" />
504504

505-
::: warning
506-
The master key should only be used for managing your API keys. Avoid using it for regular API calls.
507-
:::
505+
The master key should only be used for retrieving and managing API keys. For regular API calls, such as search, use an API key:
506+
507+
<CodeSamples id="getting_started_communicating_with_a_protected_instance" />
508508

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

0 commit comments

Comments
 (0)