Get the items in the Elasticsearch resource keystore
- Base URL
-
https://api.elastic-cloud.com/api/v1
- GET /deployments/{deployment_id}/elasticsearch/{ref_id}/keystore
Fetches the current fields and metadata (but not the values) of the keystore for the Elasticsearch resource.
Responses
The contents of the Elasticsearch keystore, with values redacted
-
secretsmap string to objectrequired -
List of secrets
-
<string>object -
valueobject -
Value of this setting. This can either be a string or a JSON object that is stored as a JSON string in the keystore. NOTE: When the keystore secret is unspecified, it is removed.
-
as_fileboolean -
Stores the keystore secret as a file. The default is false, which stores the keystore secret as string when value is a plain string, or true when value is an object.
- The Deployment specified by {deployment_id} cannot be found. (code:
deployments.deployment_not_found) - The Resource specified by {ref_id} cannot be found. (code:
deployments.deployment_resource_not_found)
We have failed you. (code: deployments.metadata_internal_error)