UpdateKeystores
Adds, updates, or deletes the keystore configuration of a specified Elasticsearch instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
elasticsearch:UpdateKeystores |
none |
*Instance
|
None | None |
Request syntax
POST /openapi/instances/{InstanceId}/keystores HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
No |
The instance ID. |
es-cn-3h4k3axh33th9**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body parameters. |
|
| update |
object |
No |
Adds or updates the keystore. |
|
|
string |
No |
The value of the keystore key. |
xpack.security.authc.realms.active_directory.my_ad.xxx |
|
| remove |
array |
No |
Removes the keystore configuration. |
|
|
string |
No |
The keys to remove. |
xpack.security.authc.realms.active_directory.my_ad.secure_bind_password |
|
| force |
string |
No |
Specifies whether to force the update. Valid values:
|
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1D**** |
Examples
Success response
JSON format
{
"RequestId": "5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1D****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.