[plugin/auth/tokenfile]

- allowing for variable length groups to be added to the static token file

[docs/admin/authentication]
- updating the documentation for token file
This commit is contained in:
Rohith
2015-10-15 11:26:50 +01:00
parent bd1c26c152
commit f02c80584b
3 changed files with 20 additions and 1 deletions

View File

@@ -46,7 +46,8 @@ to apiserver. Currently, tokens last indefinitely, and the token list cannot
be changed without restarting apiserver.
The token file format is implemented in `plugin/pkg/auth/authenticator/token/tokenfile/...`
and is a csv file with 3 columns: token, user name, user uid.
and is a csv file with a minimum of 3 columns: token, user name, user uid, followed by
optional group names.
When using token authentication from an http client the apiserver expects an `Authorization`
header with a value of `Bearer SOMETOKEN`.