VAULT QUESTIONS MUST BE DEVELOPER-RELATED. Vault is an open-source platform designed to store secrets securely, Questions about configuring vault should be asked on https://serverfault.com. Not to be confused with [ansible-vault].
Questions tagged [vault]
300 questions
0
votes
0 answers
Failed to parse ansible vault password in hosts.txt file with ini plugin
My hosts file was working fine when I use a normal ansible password. But when I switched it to ansible vault password, I get these errors:
[WARNING]: * Failed to parse /var/lib/awx/projects/Windows/hosts with yaml plugin: We were unable to read…

Whaily
- 39
- 6
0
votes
0 answers
Vault Error, http: server gave HTTP response to HTTPS client
I am trying to install Vault with TLS on k8s cluster, I did everything as per documentation TLS
After doing helm install, Vault pod is not coming up with below error
> kubectl get po -n vault
> NAME READY STATUS …

Ajay Gupta
- 1
- 1
0
votes
0 answers
Permission denied when trying to get appRole from HashiCorp Vault
Im new to hashicorp vault. I created a docker-compose file and some other files to add some configurations. I did that because I dont want to create the secrets and approle by hand when run it in another computer. It's just for learning…

paulo
- 31
- 3
0
votes
0 answers
Vault Agent render multiple secrets in the template
I have couple of secrets in the vault and would like the vault agent annotations render multiple secrets into the same template. is this possible?? thanks
vault.hashicorp.com/agent-inject-secret-cos1.json:…

Raghavendra
- 521
- 5
- 11
0
votes
0 answers
Vault - permission denied issue
One of the pods is failing to connect to the vault and is getting a permission denied error.
I see the authentication is getting successful with role_id and secret_id. Vault-agent-init container showing
permission denied error.
…

Prema J
- 1
- 2
0
votes
1 answer
docker-compose gives "error loading configuration from vault.json" error
I am trying to use Vault in a Spring Boot app and created the following docker-compose and vault.json files.
version: '3.8'
services:
vault:
container_name: vault
image: vault
restart: always
environment:
VAULT_ADDR:…

jonathan
- 1
- 7
0
votes
1 answer
Getting [INFO] core: security barrier not initialized : When Deploying Vault using Helm chart
The error message "core: security barrier not initialized" is appearing when trying to deploy Vault using a Helm chart. I haven't setup the seal How to setup a seal
I'm getting this error. Need a Solution to solve this

Aravinda krishnan
- 101
- 1
- 6
0
votes
1 answer
HashiCorp Vault 403 Permission Denied issue with Kubernetes Auth
I got two types of strange situations when deploying Vault in Kubernetes and using Kubernetes Auth method
Kubernetes version: v1.25.6
Vault version: v1.12.1
1. It kept getting 403 permission denied from /v1/auth/kubernetes/login for about 30…

Suge
- 2,808
- 3
- 48
- 79
0
votes
0 answers
Problem when deploying Vault in kubernetes is using minikube
When deploying, minikube is used
When using Helm Charts, I try to deploy hcp vault, but nothing works, the 'ingress' controller just freezes, tell me what the problem is.
I tried to rearrange the port numbers at the moment when using the kubectl…

Антон Челышков
- 53
- 2
- 7
0
votes
0 answers
How are become and ssh keys passed to ansible automatically with ansible vault?
I am trying to have a playbook run automatically at weekly intervals through a cronjob.
The playbook is run manually through the following command:
ansible-playbook -K BackupLogsX.yml
Upon running the command, I am prompted for 'become' and 'ssh'…

Eridith
- 23
- 4
0
votes
0 answers
Sysdig Agent not scarping vault prometheus metrics
I have a vault standalone instance running in Kubernetes cluster and i was able to get vault metrics in prometheus format using below command
curl http://172-77-77-32.default.pod.cluster.local:8200/v1/sys/metrics?format=prometheus
# HELP…

Raghavendra
- 521
- 5
- 11
0
votes
0 answers
Login to Hashicorp Vault with Java Spring Boot
I am building an application with Java Spring as the backend along with Thymeleaf templates to read secrets from Vault.
However, I am not sure how to log in to Vault from the rest controller I have created on the back end. I think it may have…

Adwait Kulkarni
- 63
- 1
- 9
0
votes
0 answers
Configuring Vault on Kubernetes to store a username/password
I'm doing an internship in Cloud/DevOps, and I'm having a bit of trouble testing Vault! I'm supposed to learn how to use it, and my idea was to create a secret, to store it in Vault, and then create a YAML that will pull the secret and use it.…
0
votes
0 answers
Random errors when trying to access vault
I noticed some random errors on some applications hitting vault in the form of {"errors":["local node not active but active cluster node not found"]}.
I managed to reproduced it locally by running
▶ curl --request POST --data '{"jwt":…

pkaramol
- 16,451
- 43
- 149
- 324
0
votes
0 answers
HashiCorp Vault with Spring boot 3, getting error Cannot create authentication mechanism for TOKEN when using APPROLE
I have a Spring boot 3 service and when I try to run it I got an error
Cannot create authentication mechanism for TOKEN. This method requires either a Token (spring.cloud.vault.token) or a token file
I'm trying to use APPROLE and I keep getting…

baltasar ramis
- 1
- 1