mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 00:31:02 +00:00
Merge #2584
2584: Format API keys in hexa instead of base64 r=curquiza a=ManyTheFish This PR: - Changes API key generation and formatting to ease the generation of the key made by our users - updates the `uuid` crate version The API key can now be generated in bash as below: ```sh echo -n $HYPHENATED_UUID | openssl dgst -sha256 -hmac $MASTER_KEY ``` fixes the issue raised in [product/discussion#421](https://github.com/meilisearch/product/discussions/421#discussioncomment-3079410), this should not impact anything in documentation nor integration but ease the key generation on the user sides. poke `@gmourier` Co-authored-by: ManyTheFish <many@meilisearch.com>
This commit is contained in:
@ -42,6 +42,7 @@ async fn add_valid_api_key() {
|
||||
"name": "indexing-key",
|
||||
"description": "Indexing API key",
|
||||
"uid": "4bc0887a-0e41-4f3b-935d-0c451dcee9c8",
|
||||
"key": "d9e776b8412f1db6974c9a5556b961c3559440b6588216f4ea5d9ed49f7c8f3c",
|
||||
"indexes": ["products"],
|
||||
"actions": [
|
||||
"search",
|
||||
|
Reference in New Issue
Block a user