Update crates/meilisearch-types/src/keys.rs

Co-authored-by: gui machiavelli <hey@guimachiavelli.com>
This commit is contained in:
Mubelotix 2025-07-08 12:18:52 +02:00 committed by GitHub
parent 28adbc0d18
commit a56c036994
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -149,7 +149,7 @@ impl Key {
let uid = Uuid::new_v4();
Self {
name: Some("Default Read-Only Admin API Key".to_string()),
description: Some("Use it to peek into the instance in a read-only mode. Caution: This key gives you access to all the other api keys. Do not expose it on a public frontend".to_string()),
description: Some("Use it to read information across the whole database. Caution! Do not expose this key on a public frontend".to_string()),
uid,
actions: vec![Action::AllGet, Action::KeysGet],
indexes: vec![IndexUidPattern::all()],