Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve security documentation #26

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 19 additions & 7 deletions docs/security.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ The authentication would happen on https protocol only. Add the
set using `defaultType: "form"` Following types of the authentications are
supported.

### odic
### OAuth/OpenIDConnect

It can be configured as below

```
authentication:
defaultType: "oauth"
oauth:
issuer:
clientId:
Expand All @@ -42,7 +44,7 @@ It can be configured as below
- s3
```

### form
### Form/Basic Auth

The authentication happens with the pre-defined users from the configuration
file. To define the preset user use the following section.
Expand All @@ -57,17 +59,27 @@ presetUsers:
privileges: "lb_api"
```

Provide a key pair ins RSA format
Also provide a random key pair in RSA format.

```
authentication:
defaultType: "form"
form:
selfSignKeyPair:
privateKeyRSA: |
<PEM PRIVATE KEY>
publicKeyRSA: |
<PEM PUBLIC key>
privateKeyRsa: <private_key_path>
publicKeyRsa: <public_key_path>
```

### Form/LDAP
mosabua marked this conversation as resolved.
Show resolved Hide resolved

```
authentication:
defaultType: "form"
form:
ldapConfigPath: <ldap_config_path>
```


## Authorization

The roles supported by trino load balancer
Expand Down