Skip to content
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

Token_type parameter is not supported in vault_jwt_auth_backend or in general any of the auth backend resources #555

Closed
shwuandwing opened this issue Oct 2, 2019 · 2 comments · Fixed by #556

Comments

@shwuandwing
Copy link
Contributor

The Vault Terraform provider is missing support for the token_type parameter in various vault_*_backend resources. e.g. see documentation.

https://www.vaultproject.io/api/system/auth.html#token_type

i.e. Vault lets admins config the token type of each auth mount.

The Vault provider only supports config the token type for a role inside each auth mount.

Terraform Version

Terraform version 0.12.9, Vault provider v2.3.0

Affected Resource(s)

Please list the resources as a list, for example:

  • vault_jwt_auth_backend
  • vault_auth_backend

Expected Behavior

token_type in the /sys/auth/*/tune methods should be supported

Actual Behavior

cannot set the token_type parameter in the /sys/auth/*/tune method with the vault_jwt_auth_backend or vault_jwt_auth_backend.

@kalafut
Copy link
Contributor

kalafut commented Oct 2, 2019

@lawliet89 Were these deliberately omitted during f5ad93b#diff-cfeb17a55ceb3551f70da26b8f6e1264R152 (re: the JWT case)?

@lawliet89
Copy link
Contributor

I only updated the roles for each auth backend. I didn't update the auth backends themselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants