Run Mode
With this configuration option, you can define in which mode Gate should run. The possible values are:
proxy
: run Gate as a proxy or API gatewayext_auth
: run Gate as an ExtAuth-compatible authorization serviceaws_lambda_auth
: run Gate as an AWS Lambda Authorizer function
The default is proxy
.
If you need to run Gate in multiple modes within the same infrastructure, we recommend having separate deployments, each configured individually.
- Environment variables
- HCL
- JSON
- TOML
- YAML
MODE=proxy
gate = {
mode = "proxy"
// ...
}
{
"gate": {
"mode": "proxy",
// ...
[Gate]
mode = "proxy"
gate:
mode: "proxy"