forked from TrueCloudLab/distribution
Add docs for autoredirect config parameter
Config parameter is user facing so should be documented. Signed-off-by: Ryan Abrams <rdabrams@gmail.com>
This commit is contained in:
parent
40b7b5830a
commit
d1abdeb623
1 changed files with 2 additions and 0 deletions
|
@ -171,6 +171,7 @@ auth:
|
||||||
realm: silly-realm
|
realm: silly-realm
|
||||||
service: silly-service
|
service: silly-service
|
||||||
token:
|
token:
|
||||||
|
autoredirect: true
|
||||||
realm: token-realm
|
realm: token-realm
|
||||||
service: token-service
|
service: token-service
|
||||||
issuer: registry-token-issuer
|
issuer: registry-token-issuer
|
||||||
|
@ -623,6 +624,7 @@ security.
|
||||||
| `service` | yes | The service being authenticated. |
|
| `service` | yes | The service being authenticated. |
|
||||||
| `issuer` | yes | The name of the token issuer. The issuer inserts this into the token so it must match the value configured for the issuer. |
|
| `issuer` | yes | The name of the token issuer. The issuer inserts this into the token so it must match the value configured for the issuer. |
|
||||||
| `rootcertbundle` | yes | The absolute path to the root certificate bundle. This bundle contains the public part of the certificates used to sign authentication tokens. |
|
| `rootcertbundle` | yes | The absolute path to the root certificate bundle. This bundle contains the public part of the certificates used to sign authentication tokens. |
|
||||||
|
| `autoredirect` | no | When set to `true`, `realm` will automatically be set using the Host header of the request as the domain and a path of `/auth/token/`|
|
||||||
|
|
||||||
|
|
||||||
For more information about Token based authentication configuration, see the
|
For more information about Token based authentication configuration, see the
|
||||||
|
|
Loading…
Reference in a new issue