client-authentication.asciidoc 864 B

12345678910111213141516
  1. `client_authentication`::
  2. (Optional, object) When using the `access_token` grant type, and when supplying a
  3. JWT, this specifies the client authentication for <<jwt-auth-realm, JWTs>> that
  4. need it (i.e. what's normally specified by the `ES-Client-Authentication` request header).
  5. `scheme`:::
  6. (Required, string) The scheme (case-sensitive) as it's supplied in the
  7. `ES-Client-Authentication` request header. Currently, the only supported
  8. value is <<jwt-auth-shared-secret-scheme-example, `SharedSecret`>>.
  9. `value`:::
  10. (Required, string) The value that follows the scheme for the client credentials
  11. as it's supplied in the `ES-Client-Authentication` request header. For example,
  12. if the request header would be `ES-Client-Authentication: SharedSecret myShar3dS3cret`
  13. if the client were to authenticate directly with a JWT, then `value` here should
  14. be `myShar3dS3cret`.