Skip to content
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

[Request]: Fix APM API key creation command #3419

Closed
bmorelli25 opened this issue Dec 11, 2023 · 0 comments · Fixed by #4165
Closed

[Request]: Fix APM API key creation command #3419

bmorelli25 opened this issue Dec 11, 2023 · 0 comments · Fixed by #4165
Assignees

Comments

@bmorelli25
Copy link
Member

Description

https://www.elastic.co/guide/en/kibana/current/agent-key-api.html#apm-create-agent-key-privileges is incorrect.

@joeafari was able to successfully create a key with the following privs:

{
  "apm_agent_key_user": {
    "cluster": [
      "manage_own_api_key"
    ],
    "indices": [],
    "applications": [
      {
        "application": "kibana-.kibana",
        "privileges": [
          "feature_apm.all"
        ],
        "resources": [
          "*"
        ]
      },
      {
        "application": "apm",
        "privileges": [
          "event:write",
          "config_agent:read"
        ],
        "resources": [
          "*"
        ]
      }
    ],
    "run_as": [],
    "metadata": {},
    "transient_metadata": {
      "enabled": true
    }
  }
}

Resources

https://elastic.slack.com/archives/CJYH0RWR3/p1701780969214649

Which documentation set does this change impact?

Stateful only

Feature differences

n/a

What release is this request related to?

N/A

Collaboration model

The documentation team

Point of contact.

None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants