Skip to content
This repository has been archived by the owner on Mar 27, 2019. It is now read-only.

Commit

Permalink
Added support for kubernetes authentication backend (#233)
Browse files Browse the repository at this point in the history
* added support for kubernetes authentication backend

* Fix typo, removed unused import
  • Loading branch information
boeboe authored and djenriquez committed Jan 29, 2018
1 parent 271238a commit 62c54f3
Show file tree
Hide file tree
Showing 7 changed files with 584 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,7 @@ dist/*

# OSX
.DS_Store

# Intellij
.idea/*
*.iml
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ Current supported management of backend auth methods:
- [Username & Password](https://www.vaultproject.io/docs/auth/userpass.html)
- [Token](https://www.vaultproject.io/docs/auth/token.html)
- [AppRole](https://www.vaultproject.io/docs/auth/approle.html)
- [Kubernetes](https://www.vaultproject.io/docs/auth/kubernetes.html)

In some cases, users might want to use middleware to authenticate into Vault-UI for purposes like SSO. In this case, the `VAULT_SUPPLIED_TOKEN_HEADER` may be populated with the name of the header that contains a token to be used for authentication.

Expand Down
2 changes: 2 additions & 0 deletions app/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import ResponseWrapper from './components/ResponseWrapper/ResponseWrapper.jsx';
import TokenAuthBackend from './components/Authentication/Token/Token.jsx';
import AwsEc2AuthBackend from './components/Authentication/AwsEc2/AwsEc2.jsx';
import AwsAuthBackend from './components/Authentication/Aws/Aws.jsx';
import KubernetesAuthBackend from './components/Authentication/Kubernetes/Kubernetes.jsx';
import GithubAuthBackend from './components/Authentication/Github/Github.jsx';
import RadiusAuthBackend from './components/Authentication/Radius/Radius.jsx';
import UserPassAuthBackend from './components/Authentication/UserPass/UserPass.jsx';
Expand Down Expand Up @@ -83,6 +84,7 @@ ReactDOM.render((
<Route path="/auth/token/:namespace" component={TokenAuthBackend} />
<Route path="/auth/aws/:namespace(/**)" component={AwsAuthBackend} />
<Route path="/auth/aws-ec2/:namespace(/**)" component={AwsEc2AuthBackend} />
<Route path="/auth/kubernetes/:namespace(/**)" component={KubernetesAuthBackend} />
<Route path="/auth/github/:namespace(/**)" component={GithubAuthBackend} />
<Route path="/auth/radius/:namespace(/**)" component={RadiusAuthBackend} />
<Route path="/auth/okta/:namespace(/**)" component={OktaAuthBackend} />
Expand Down
Loading

0 comments on commit 62c54f3

Please sign in to comment.