-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Error 500: unknown token type "\"\"" when working with AppRole #7270
Comments
Hi @arusso, thanks for the thorough report! Is there anything in your vault server logs when you get the |
Releated to #7231 |
Here's what I get when I run
And here's one when I try to re-write the config with
|
Hi @arusso I was able to reproduce this by slightly modifying one of the existing test:
I'm currently doing a bit more investigation and working on a fix for this. |
Even in vault 1.2.3, I am getting the error ./vault read -tls-skip-verify /auth/approle/role/abc_automation URL: GET https://<<>>/v1/auth/approle/role/abc_automation 1 error occurred:
|
Describe the bug
After upgrading to Vault 1.2.1, we can no longer login (or even read the configuration of) one of our AppRole roles. Other roles appear unaffected. We receive the following error:
Error reading auth/approle/role/my-role: Error making API request.
We've tried to re-write the AppRole with a valid configuration, but get:
To Reproduce
Steps to reproduce the behavior:
vault read auth/approle/role/my-role
Expected behavior
Shows configuration for that approle / allows login via approle.
Environment:
vault status
): 1.2.1vault version
): 1.2.1Vault server configuration file(s):
Additional context
We upgraded vault from 1.1.3 to 1.2.0 and then 1.2.1. We're not sure if this issue was present as well in 1.2.0 because of the other issues preventing AppRoles from working.
We have a number of other AppRoles, and this one seems to be the only one affected. Nothing really special about it's configuration:
The text was updated successfully, but these errors were encountered: