Hướng dẫn thử thách
1 / 113
API Keys
### Giai đoạn: Nền Tảng & Khái Niệm Cốt Lõi
**API Keys**
API keys in Elasticsearch provide a mechanism for authentication and authorization, allowing users or applications to securely access Elasticsearch APIs. They are a more granular alternative to using usernames and passwords, enabling you to restrict access to specific resources and actions. API keys can be configured with specific roles and privileges, limiting what a user or application can do within the Elasticsearch cluster.
### Khái niệm cốt lõi:
1. **Nắm vững khái niệm cơ bản**
2. **Áp dụng vào kiến trúc thực tế**
3. **Tối ưu hóa và kiểm thử**
### Tài liệu tham khảo chính thống:
- [Elasticsearch API keys](https://www.elastic.co/docs/deploy-manage/api-keys/elasticsearch-api-keys) (official)
- [Create an API key](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-create-api-key) (official)
- [Creating API Keys in Elasticsearch: An Advanced Guide](https://opster.com/guides/elasticsearch/security/api-keys-in-elasticsearch/) (article)
Nhiệm vụ của bạn
Viết giải pháp của bạn cho bài học **API Keys** vào trình soạn thảo bên cạnh. Bấm **Chạy Thử Nghiệm** (hoặc nhấn `Ctrl+Enter`) để thực thi và ghi nhận hoàn thành kỹ năng trên Roadmap.
### Kỹ năng cần đạt:
- `API`
- `Keys`
- `Engineering`
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.js
UTF-8 • Tab Size: 2Kiểm tra bài:⌘↵