The Basic Authorization policy follows the RFC-7617 standard. From the standard, if a user agent wanted to send the user-id “Aladdin” and password “open sesame”, it would use the following HTTP header.
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
In order to use the Basic Authorization policy, consumers must be created and
basic-auth credentials created for them.
policies: - basic-auth # other policies
pipelines: pipeline1: apiEndpoints: - authorizedEndpoint policies: - basic-auth: - proxy: action: serviceEndpoint: backend