command
module
Version:
v0.0.0-...-734165f
Opens a new window with list of versions in this module.
Published: Apr 4, 2020
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
- The Golang package manager must be installed.
- Kong must be Installed and you must be familiar with using and configuring Kong.
- Install the module upstream-auth-basic.
go build -buildmode=plugin github.com/aulisius/kong-plugin-upstream-auth-basic
- Add the custom plugin while starting Kong
-e "KONG_PLUGINS=bundled,upstream-auth-basic"
- 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
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.