mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
Doc:Add section to security docs for API keys
This commit is contained in:
parent
8b6c524702
commit
3fcd117b84
2 changed files with 12 additions and 0 deletions
9
docs/static/security/api-keys.asciidoc
vendored
Normal file
9
docs/static/security/api-keys.asciidoc
vendored
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[float]
|
||||||
|
[[ls-api-keys]]
|
||||||
|
==== Grant access using API keys
|
||||||
|
|
||||||
|
|
||||||
|
Instead of using usernames and passwords, you can use API keys to grant
|
||||||
|
access to {es} resources. You can set API keys to expire at a certain time,
|
||||||
|
and you can explicitly invalidate them. Any user with the `manage_api_key`
|
||||||
|
or `manage_own_api_key` cluster privilege can create API keys.
|
3
docs/static/security/logstash.asciidoc
vendored
3
docs/static/security/logstash.asciidoc
vendored
|
@ -249,3 +249,6 @@ xpack.management.elasticsearch.password: t0p.s3cr3t
|
||||||
----------------------------------------------------------
|
----------------------------------------------------------
|
||||||
<1> The user you specify here must have the built-in `logstash_admin` role as
|
<1> The user you specify here must have the built-in `logstash_admin` role as
|
||||||
well as the `logstash_writer` role that you created earlier.
|
well as the `logstash_writer` role that you created earlier.
|
||||||
|
|
||||||
|
include::api-keys.asciidoc[]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue