4. Transports and Clients

authentication

Version

Configuration for basic HTTP authentication. This element can be used to configure credentials for outbound requests requiring HTTP Basic Auth. Typically used within <httpClientConfig>. XML Example: <authentication username="user" password="secret"/> YAML (experimental): authentication: username: user password: secret

Syntax

authentication:
password: <string> # required
username: <string> # required
authentication:
  password: <string> # required
  username: <string> # required

Attributes

NameRequiredDefaultDescriptionExamples
passwordtrue-Password used for HTTP Basic Authentication.secret
usernametrue-Username used for HTTP Basic Authentication.user

Can be used in