mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 23:57:20 -04:00
Adds support for JWTs with client authentication to the activate user profile API. Closes #105342
16 lines
No EOL
864 B
Text
16 lines
No EOL
864 B
Text
`client_authentication`::
|
|
(Optional, object) When using the `access_token` grant type, and when supplying a
|
|
JWT, this specifies the client authentication for <<jwt-auth-realm, JWTs>> that
|
|
need it (i.e. what's normally specified by the `ES-Client-Authentication` request header).
|
|
|
|
`scheme`:::
|
|
(Required, string) The scheme (case-sensitive) as it's supplied in the
|
|
`ES-Client-Authentication` request header. Currently, the only supported
|
|
value is <<jwt-auth-shared-secret-scheme-example, `SharedSecret`>>.
|
|
|
|
`value`:::
|
|
(Required, string) The value that follows the scheme for the client credentials
|
|
as it's supplied in the `ES-Client-Authentication` request header. For example,
|
|
if the request header would be `ES-Client-Authentication: SharedSecret myShar3dS3cret`
|
|
if the client were to authenticate directly with a JWT, then `value` here should
|
|
be `myShar3dS3cret`. |