Type to search.

Get service accounts

Auth The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability Generally available since 7.13 This functionality is generally available and ready for production usage. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

Get a list of service accounts that match the provided path parameters.

Note

Currently, only the elastic/fleet-server service account is available.

Read the reference documentation

Required privileges

Cluster privileges manage_service_account

Path parameters

namespace string optional

The name of the namespace. Omit this parameter to retrieve information about all service accounts. If you omit this parameter, you must also omit the service parameter.

Leave it out to use /_security/service.

service string optional

The service name. Omit this parameter to retrieve information about all service accounts that belong to the specified namespace.

Leave it out to use /_security/service.

Response

application/json