Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
62fd771d
Commit
62fd771d
authored
May 06, 2015
by
Robert Bailey
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7834 from ashcrow/add_header_doc_for_authn
Added client header info for authentication doc.
parents
58962100
478ce734
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
authentication.md
docs/authentication.md
+5
-0
No files found.
docs/authentication.md
View file @
62fd771d
...
@@ -16,6 +16,9 @@ be short-lived, and to be generated as needed rather than stored in a file.
...
@@ -16,6 +16,9 @@ be short-lived, and to be generated as needed rather than stored in a file.
The token file format is implemented in
`plugin/pkg/auth/authenticator/token/tokenfile/...`
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 3 columns: token, user name, user uid.
When using token authentication from an http client the apiserver expects an
`Authorization`
header with a value of
`Bearer SOMETOKEN`
.
Basic authentication is enabled by passing the
`--basic_auth_file=SOMEFILE`
Basic authentication is enabled by passing the
`--basic_auth_file=SOMEFILE`
option to apiserver. Currently, the basic auth credentials last indefinitely,
option to apiserver. Currently, the basic auth credentials last indefinitely,
and the password cannot be changed without restarting apiserver. Note that basic
and the password cannot be changed without restarting apiserver. Note that basic
...
@@ -25,6 +28,8 @@ more secure modes described above easier to use.
...
@@ -25,6 +28,8 @@ 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 3 columns: password, user name, user id.
When using basic authentication from an http client the apiserver expects an
`Authorization`
header
with a value of
`Basic BASE64ENCODEDUSER:PASSWORD`
.
## Plugin Development
## Plugin Development
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment