-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarify the intended usage of service-tokens CLI #83491
Labels
>docs
General docs changes
:Security/Security
Security issues without another label
Team:Security
Meta label for security team
Comments
ywangd
added
>docs
General docs changes
:Security/Security
Security issues without another label
labels
Feb 4, 2022
elasticmachine
added
Team:Docs
Meta label for docs team
Team:Security
Meta label for security team
labels
Feb 4, 2022
Pinging @elastic/es-docs (Team:Docs) |
Pinging @elastic/es-security (Team:Security) |
Thanks for clarifying! The API route works successfully! |
elasticsearchmachine
pushed a commit
that referenced
this issue
May 16, 2023
File based service tokens were added to support orchestration requirements in environments such as ECE and ECK. Outside of these environments we recommend that API based tokens are used instead. Resolves: #83491
tvernum
added a commit
to tvernum/elasticsearch
that referenced
this issue
May 16, 2023
File based service tokens were added to support orchestration requirements in environments such as ECE and ECK. Outside of these environments we recommend that API based tokens are used instead. Resolves: elastic#83491
tvernum
added a commit
to tvernum/elasticsearch
that referenced
this issue
May 16, 2023
File based service tokens were added to support orchestration requirements in environments such as ECE and ECK. Outside of these environments we recommend that API based tokens are used instead. Resolves: elastic#83491
tvernum
added a commit
to tvernum/elasticsearch
that referenced
this issue
May 16, 2023
File based service tokens were added to support orchestration requirements in environments such as ECE and ECK. Outside of these environments we recommend that API based tokens are used instead. Resolves: elastic#83491
elasticsearchmachine
pushed a commit
that referenced
this issue
May 16, 2023
elasticsearchmachine
pushed a commit
that referenced
this issue
May 16, 2023
elasticsearchmachine
pushed a commit
that referenced
this issue
May 16, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
>docs
General docs changes
:Security/Security
Security issues without another label
Team:Security
Meta label for security team
The documentation around Service Accounts needs more clarification on how and when to use the elasticsearch-service-tokens CLI.
Currently, it is not clear that the CLI generates token on the single node where the it runs. It also generates different token each time it runs. As such, the CLI is more suitable to be part of an orchestration flow. That is, using it to prepare a service token that can be used on all nodes in a cluster needs roughly the following steps:
service_tokens
file generated in the previous step to all other nodes of the cluster.Alternatively, the CreateServiceToken API can be used to generate a service token that is automatically usable on all nodes (similar to how CreateUser API works).
The text was updated successfully, but these errors were encountered: