Remove details about where authenticator is implemented
It not necessary to mention where the functions are implemented in document. Further more, the directories recorded here is out of date. Now they are in: staging/src/k8s.io/apiserver/plugin/pkg/authenticator/...
This commit is contained in:
@@ -85,9 +85,9 @@ See [APPENDIX](#appendix) for how to generate a client cert.
|
|||||||
The API server reads bearer tokens from a file when given the `--token-auth-file=SOMEFILE` option on the command line. Currently, tokens last indefinitely, and the token list cannot be
|
The API server reads bearer tokens from a file when given the `--token-auth-file=SOMEFILE` option on the command line. Currently, tokens last indefinitely, and the token list cannot be
|
||||||
changed without restarting API server.
|
changed without restarting API server.
|
||||||
|
|
||||||
The token file format is implemented in `plugin/pkg/auth/authenticator/token/tokenfile/...`
|
The token file is a csv file with a minimum of 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
|
followed by optional group names. Note, if you have more than one group the column must be
|
||||||
optional group names. Note, if you have more than one group the column must be double quoted e.g.
|
double quoted e.g.
|
||||||
|
|
||||||
```conf
|
```conf
|
||||||
token,user,uid,"group1,group2,group3"
|
token,user,uid,"group1,group2,group3"
|
||||||
@@ -115,9 +115,9 @@ and the password cannot be changed without restarting API server. Note that basi
|
|||||||
authentication is currently supported for convenience while we finish making the
|
authentication is currently supported for convenience while we finish making the
|
||||||
more secure modes described above easier to use.
|
more secure modes described above easier to use.
|
||||||
|
|
||||||
The basic auth file format is implemented in `plugin/pkg/auth/authenticator/password/passwordfile/...`
|
The basic auth file is a csv file with a minimum of 3 columns: password,
|
||||||
and is a csv file with a minimum of 3 columns: password, user name, user id, followed by
|
user name, user id, followed by optional group names. Note, if you have more than
|
||||||
optional group names. Note, if you have more than one group the column must be double quoted e.g.
|
one group the column must be double quoted e.g.
|
||||||
|
|
||||||
```conf
|
```conf
|
||||||
password,user,uid,"group1,group2,group3"
|
password,user,uid,"group1,group2,group3"
|
||||||
|
|||||||
Reference in New Issue
Block a user