kong-plugin-upstream-auth-basic

command module
v0.0.0-...-734165f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2020 License: MIT Imports: 3 Imported by: 0

README

Kong Upstream HTTP Basic Authentication (upstream-auth-basic)

Kong Plugin to add HTTP Basic Authentication to the upstream request header.

Compatible with Kong 2.0

Installation

  1. The Golang package manager must be installed.
  2. Kong must be Installed and you must be familiar with using and configuring Kong.
  3. Install the module upstream-auth-basic.
go build -buildmode=plugin github.com/aulisius/kong-plugin-upstream-auth-basic
  1. Add the custom plugin while starting Kong
-e "KONG_PLUGINS=bundled,upstream-auth-basic"
  1. Restart kong

Plugin Fields

The plugin accepts the following fields.

Name Type Required Description
username text true The username to send in the Authorization header to the upstream service
password text false The password to send in the Authorization header to the upstream service

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL