Class GetApiKeyRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.GetApiKeyRequest

public class GetApiKeyRequest extends RequestBase
Retrieves information for one or more API keys.
See Also:
  • Field Details

  • Method Details

    • of

    • id

      @Nullable public final String id()
      API key id of the API key to be retrieved

      API name: id

    • name

      @Nullable public final String name()
      API key name of the API key to be retrieved

      API name: name

    • owner

      @Nullable public final Boolean owner()
      flag to query API keys owned by the currently authenticated user

      API name: owner

    • realmName

      @Nullable public final String realmName()
      realm name of the user who created this API key to be retrieved

      API name: realm_name

    • username

      @Nullable public final String username()
      user name of the user who created this API key to be retrieved

      API name: username

    • withLimitedBy

      @Nullable public final Boolean withLimitedBy()
      Return the snapshot of the owner user's role descriptors associated with the API key. An API key's actual permission is the intersection of its assigned role descriptors and the owner user's role descriptors.

      API name: with_limited_by