DEPRECATED. Enterprise only. The Basic Authentication plugin protects the access to selected endpoints using basic username and password credentials. See: https://www.krakend.io/docs/enterprise/authentication/basic-authentication/

Get JSON SchemaBundle
Identifierhttps://schemas.sourcemeta.com/krakend/v2.2/plugin/basic-auth.json
Base DialectDraft7
Dialecthttp://json-schema.org/draft-07/schema#
Size0.001928 MB
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://schemas.sourcemeta.com/krakend/v2.2/plugin/basic-auth.json",
  "title": "DEPRECATED. Enterprise only. The Basic Authentication plugin protects the access to selected endpoints using basic username and password credentials.\n\nSee: https://www.krakend.io/docs/enterprise/authentication/basic-authentication/",
  "type": "object",
  "required": [ "endpoints", "htpasswd_path" ],
  "properties": {
    "endpoints": {
      "title": "Endpoints",
      "description": "An array to restrict which endpoints are protected with basic authentication. The `endpoints` values must match with the declaration of endpoints in your configuration, including any `{placeholders}` in the path. Use `[\"*\"]` or delete this property to protect all endpoints.\n\nSee: https://www.krakend.io/docs/enterprise/authentication/basic-authentication/",
      "examples": [
        [ "*" ],
        [ "/user/{id}", "/checkout" ]
      ],
      "type": "array"
    },
    "htpasswd_path": {
      "title": "Path to htpasswd file",
      "description": "Absolute Path to the `htpasswd` filename (recommended) or relative `./` to the workdir (less secure).\n\nSee: https://www.krakend.io/docs/enterprise/authentication/basic-authentication/",
      "examples": [ "/path/to/.htpasswd" ],
...
See the full schema