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
Docs: Update documentation for managing API keys to authorize requests to the APM Server #6844
Comments
@bmorelli25 could you please have a look at this? |
Updated and now available in https://www.elastic.co/guide/en/apm/guide/current/api-key.html#create-an-api-key. |
@simitt the docs in this link seem to suggest to create an API key through |
Repeating what I posted on Slack: @elastic/apm-server I'm confused about the I tried spinning up an 8.2 standalone APM Server and when I hit
Maybe the backward compatibility with the apm-server/elasticsearch connection ( |
@bmorelli25 you're quite right, there is no longer any code path in apm-server that checks this privilege. It would only make sense when using an older version of apm-server, e.g. 7.17.x. |
Thanks, @axw. @gbamparop should I create an APM UI issue? I guess we should remove the {
"apm": {
"applications": [
{
"application":"kibana-.kibana",
"privileges":[ "feature_apm.all" ],
"resources":[ "space:default" ]
}
]
}
} |
@bmorelli25 please do, that would be great so we can have a look what the best approach should be. |
Agent API key management support has been added as part of elastic/kibana#77966 and the work has been done in elastic/kibana#119543 and elastic/kibana#120373.
API keys documentation in the APM server could be updated to reflect these changes.
A how to guide could also be added in the Kibana APM docs.
The management view is located in Kibana (APM -> Settings -> Agent Keys) and users can check the privileges they want to assign to the API key being created instead of pasting them in JSON into the role descriptors box like they do in the stack management.
Screen.Recording.2021-12-07.at.15.56.35.mov
Please also find some screenshots below that you might find useful:
The text was updated successfully, but these errors were encountered: