Replies: 1 comment 2 replies
-
Can you try with Backport Packages: You can install it via:
Recently many auth_types were added for Vault: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am integration airflow with vault using the vault backend provided under
airflow.contrib.secrets.hashicorp_vault.VaultBackend
orairflow.providers.hashicorp.secrets.vault.VaultBackend
When I try to provide the kwargs for kubernetes like role, jwt path and retrieve the vault secrets, I am getting below error
File "/home/airflow/.local/lib/python3.6/site-packages/hvac/utils.py", line 47, in raise_for_error raise exceptions.InternalServerError(message, errors=errors, method=method, url=url) hvac.exceptions.InternalServerError: service account name not authorized, on post http://${VAULT_ADDR}/v1/auth/kubernetes/login
I tried to execute a kubernetes pod using KubernetesPodOperator by providing service account, jwt etc, I get the client_token but however when I try to read the vault secret using it, I get same error as above.
Has anybody tested the VaultBackend using kubernetes as auth type to read vault secret? Please let me know, how to proceed further with testing here.
Beta Was this translation helpful? Give feedback.
All reactions