-
Notifications
You must be signed in to change notification settings - Fork 600
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bring in up-to-date versions of topics; move content into auth sectio…
…n under Kong Manager
- Loading branch information
1 parent
49c862d
commit f45ff0c
Showing
18 changed files
with
302 additions
and
335 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
title: Enable Basic Auth for Kong Manager | ||
badge: enterprise | ||
--- | ||
|
||
## Prerequisites | ||
|
||
To enable basic authentication, configure Kong with the following properties: | ||
|
||
``` | ||
enforce_rbac = on | ||
admin_gui_auth = basic-auth | ||
admin_gui_session_conf = { "secret":"set-your-string-here" } | ||
``` | ||
|
||
Kong Manager uses the Sessions plugin in the background. | ||
This plugin requires a secret and is configured securely by default. | ||
|
||
* Under all circumstances, the `secret` must be manually set to a string. | ||
* If using HTTP instead of HTTPS, `cookie_secure` must be manually set to `false`. | ||
* If using different domains for the Admin API and Kong Manager, `cookie_samesite` must be set to `off`. | ||
Learn more about these properties in [Session Security in Kong Manager](/gateway/{{page.kong_version}}/kong-manager/authentication/sessions/#session-security), and see [example configurations](/gateway/{{page.kong_version}}/kong-manager/authentication/sessions/#example-configurations). | ||
|
||
|
||
## Steps | ||
|
||
1. Start Kong: | ||
|
||
``` | ||
$ kong start [-c /path/to/kong/conf] | ||
``` | ||
2. Choose one of the following options: | ||
* If you created a **Super Admin** via database migration, log in to Kong | ||
Manager with the username `kong_admin` and the password | ||
set in the environment variable. | ||
* If you created a Super Admin via the Kong Manager "Organization" tab | ||
as described in | ||
[How to Create a Super Admin](/gateway/{{page.kong_version}}/kong-manager/authentication/super-admin), | ||
log in with the credentials you created after accepting the email | ||
invitation. |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.