Update groups to passwordfile

ref to https://github.com/kubernetes/kubernetes/pull/39651
This commit is contained in:
xilabao
2017-01-11 23:14:36 -06:00
committed by Andrew Chen
parent 3d39da4670
commit e2a732f4eb
+3 -2
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. 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 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 ```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 When using basic authentication from an http client, the API server expects an `Authorization` header