Update groups to passwordfile

ref to https://github.com/kubernetes/kubernetes/pull/39651
reviewable/pr2208/r1^2
xilabao 2017-01-11 23:14:36 -06:00 committed by Andrew Chen
parent 3d39da4670
commit e2a732f4eb
1 changed files with 3 additions and 2 deletions

View File

@ -116,10 +116,11 @@ authentication is currently supported for convenience while we finish making the
more secure modes described above easier to use.
The basic auth file format is implemented in `plugin/pkg/auth/authenticator/password/passwordfile/...`
and is a csv file with 3 columns: password, user name, user id.
and is a csv file with a minimum of 3 columns: password, user name, user id, followed by
optional group names. Note, if you have more than one group the column must be double quoted e.g.
```conf
password,user,uid
password,user,uid,"group1,group2,group3"
```
When using basic authentication from an http client, the API server expects an `Authorization` header