-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authentication via HTTP API #155
Comments
Hi @MadsRC The GitHub auth backend requires you first configure and setup the backend. In order to do this, you will need to use a root token or a token obtained from another source. Once you configure the GitHub backend, you also need to configure it. This is a bit unclear in the docs, so I have pushed up #160 to explain the steps in more detail with copy-pastable commands. Does that help? I was able to get GitHub authentication working successfully following those steps. |
Hi @sethvargo What I'm trying to do is authenticate a user using EDIT: I found the following line in the docs:
|
I figured out how to do it by remembering that the vault client uses the interface. Tailing the log while authenticating using the app allowed me to find the correct path and how the data should be represented. |
Fixed in #155 |
This update brings in PR #155 from go-kms-wrapping which adds support for azure workload identity authentication
* chore: update azurevaultkey wrapper dependency This update brings in PR #155 from go-kms-wrapping which adds support for azure workload identity authentication * chore: add changelog entry * fixup! chore: add changelog entry
The docs mention "Otherwise, a client token can be retrieved via authentication backends.
Each authentication backend will have one or more unauthenticated login endpoints. These endpoints can be reached without any authentication, and are used for authentication itself."
I can't seem to do that via the API. The docs also state "For example, the GitHub login endpoint is located at auth/github/login" but I keep getting an error:
Is authentication via HTTP API not supported yet? The docs aren't quiet clear. Ideally I'd like to generate a token using a username and password and have that token send back to me in a cookie (Actually, exactly what the docs mention).
The text was updated successfully, but these errors were encountered: