Extension auth_basic

Basic username-password based authentication.

Version

-

Tags

-

Dependencies

auth

Configuration properties

Table 1. properties
Property Type Default Description

sources

array<object>

Password data sources.

WARNING: do not use explicit username-password pairs as these are stored in plain text in the configuration file. Use another data source in production.

[[properties.sources[]]] .properties.sources[]

Property Type Default Description

type

enum<string>

htpasswd

Type.

Type of the data source.

Possible parameter values:

htpasswd

Apache htpasswd

single

Username-password pair

value

string

Value.

The data source itself. For Apache htpasswd files, this must be the path to the htpasswd file. For explicit username-password pairs, this must be the username and the password, separated by whitespace.