Basic authentication
Use the
authentication-basic
policy to authenticate with a backend service using basic authentication. This policy effectively sets the HTTP Authorization header to the value corresponding to the credentials provided in the policy.XML
<authentication-basic username="username" password="password" />
XML
<authentication-basic username="testuser" password="testpassword" />
Name | Description | Required |
authentication-basic | Root element | Yes |
Name | Description | Required | Default |
username | Specifies the username of the basic credential | Yes | N/A |
password | Specifies the password of the basic credential | Yes | N/A |
This policy can be used in the inbound policy scopes.
Questions?
We're always happy to help with any issues you might have!
Send us an email to [email protected] or request the demo with our sales team!