Open TomonoriSoejima opened 3 months ago
POST /_security/api_key
{
"name": "fleet-api-key",
"role_descriptors": {
"fleet_agent_policy_writer": {
"cluster": ["manage_api_key", "monitor", "manage_security"],
"index": [
{
"names": [".fleet-*"],
"privileges": ["all"]
}
]
}
}
}