Questions tagged [vault]
Questions about Hashicorp's Vault tool for managing secrets
37
questions
0
votes
0
answers
15
views
How do I edit a managed (hashicorp.cloud) HashiCorp Vault configuration file?
I'm testing out HashiCorp Vault using their developer tier managed offering while I'm figuring things out. The public URL looks kind of like this: https://vault-cluster-public-vault-00000000.00000000....
0
votes
1
answer
38
views
Login to HashiCorp Vault with Kubernetes Auth from Pod with Vault CLI
TL;DR: What is the proper way to login from Vault CLI in a Kubernetes Pod using the Kubernetes Auth Method.
I want to create regular snapshots from my HashiCorp Vault raft storage. So I created a ...
0
votes
1
answer
162
views
Hashicorp Vault How Do I Login Headless From STDIN Using Bash Shell?
Given a Bash Shell say in a Docker container running on Gitlab, for example, how would I get the password to get passed in?
When I login with this:
$ vault login -method=ldap username=myusername
It ...
0
votes
0
answers
41
views
Apache 2.4 Forward proxy TLS connection refused
I am trying to run hashicorp vault server in a Docker container behind an Apache Forward Proxy (httpd v2.4; running in a container for testing purposes). Vault is set to use AWS KMS for Autounseal. ...
0
votes
0
answers
24
views
How to re-use vault files in different Ansible Tower projects?
I have an Ansible Tower installation and a lot of playbooks in Gitlab projects. Several projects make use of vault files, i.e. they contain credentials for a VMware VCenter.
Whenever I start a new ...
0
votes
2
answers
97
views
Oracle Cloud Native Environment setup with Vault faild on validating host names in certificate
I'm setting up OLCNE environment with Hashicorp Vault PKI, I successfully install agent, setup vault, certificates was generated but during module createion I have error that host name not match ...
1
vote
3
answers
497
views
Vault configuration supports environment variables?
Most configs support inline variables from the environment. Does support Vault configuration supports environment variables? Something like:
ui = true
listener "tcp" {
...
1
vote
1
answer
1k
views
hashicorp vault - load pre-existing CA certificate into PKI engine
I'm looking to migrate a process that generates client certificates from a custom root CA into hashicorp vault.
The root is already trusted by a lot of applications, so I'd like to import it (or an ...
0
votes
1
answer
53
views
Is HashiCorp Vault the correct tool to store users sensitive information
Is Vault the correct tool to store sensitive information about users, eg. theirs pay rate or personal id?
"Normal" employee/user must only have access to his own data but the users with ...
0
votes
1
answer
110
views
Hashicorp Vault - AWS EKS vs EC2
Is it possible to install a Hashicorp Vault cluster to EC2 only or is EKS required and would there be a big advantage to one over the other?
1
vote
0
answers
588
views
Injected vault-agent pod failing to start, api server & vault aren't communicating
I have a local kubernetes cluster using kind. It is a single node cluster.
On this cluster I am following this guide to setup Vault & the vault-agent-injector.
If I follow the tutorial step by ...
1
vote
0
answers
234
views
Unable to fetch Vault Token for Pod Service Account
I am using Vault CSI Driver on Charmed Kubernetes v1.19 where I'm trying to retrieve secrets from Vault for a pod running in a separate namespace (webapp) with its own service account (webapp-sa) ...
0
votes
1
answer
615
views
How to convert configmap to azure keyvault
I have a configmap like below.Which I will link to a config file in our application.
apiVersion: v1
kind: ConfigMap
metadata:
name: database-configmap
data:
config: |
dbport=5432
dcname=
...
0
votes
0
answers
752
views
Deployment not able to spin the hashicorp vault linked containers, how to fix that?
I have followed the steps mentioned in the link
Came till the deployment part, last before step.
After deployment, the pods status is stuck at creation.
kubectl get pods --watch
NAME ...
0
votes
1
answer
213
views
How to use acr secret saved in azure vault for image pull?
With azure vault and csi driver, able to create secrets and access them as single files in container.
I followed this approach to create basic secrets.
Can accessible the secrets from the container as ...
0
votes
1
answer
814
views
Azure key vault volume not accessible, how to fix that?
I have followed the walkthrough provided in this link
And at step 6, I have tried to create a pod with the volume linked to the keyvault.
But it is not able to access the volume.
kubectl get pods
NAME ...
0
votes
1
answer
76
views
Managing Authentication on REST APIs
The scenario is, I want to manage authentication in several REST APIs deployed in different environments.
I've been reading about the Vault, and apparently, it has this feature.
With Vault is possible ...
0
votes
1
answer
517
views
How to permanently set vault token and url remote server in macos
On Linux I'm setting vault variables to /etc/environment next:
export VAULT_URL='https://some-remote-server.org:8200/'
export VAULT_TOKEN='SoMeToKeN'
But when I'm typeing this in macos, after $> ...
0
votes
1
answer
25
views
Azure Retention policy for new servers - will the first backup be retained long term
We have an Azure tenancy with a a backup policy doing Daily(retained 30days), weekly (retained 10 weeks), and Annual (triggered on first SAT in JAN, retained for 7 years).
I have just migrated a bunch ...
2
votes
1
answer
915
views
How to run Hashicorp Vault as a service on CentOS in production
I'm running the latest CentOS and I need Hashicorp Vault 1.6.3 to run as a service. I'm currently using the kv/secret background, so I can use
Vault kv put secret/test/hello foo=bar
In order to store ...
1
vote
1
answer
486
views
Store AWX/Ansible Tower Database password is HashiCorp Vault
With AWX and Ansible Tower, I know you can use HashiCorp Vault to manage the passwords that you use inside your playbooks. For instance if you want to configure some network devices, the credentials ...
1
vote
1
answer
446
views
Shift HashiCorp Vault secrets from one path (sub dir) to another
Good morning !
I am using Vault from HashiCorp and would like to move secrets and secrets structure around.
I have a bunch of secrets under a path, let say:
boo/foo/
boo/foo/bar/secret1
boo/foo/bar/...
1
vote
1
answer
823
views
OCSP setup for Vault
I have vault setup running in container for PKI Secrets Engine and would like to add OCSP support for application to check if certificate is not revoked. I didn’t find any explanation on how to setup ...
1
vote
0
answers
782
views
Vault invalid certificate or no client certificate supplied - cert auth method
I have created a CA in Vault to handle my certificate creation. I've followed this guide here: https://learn.hashicorp.com/vault/secrets-management/sm-pki-engine
I am trying to generate a client ...
3
votes
3
answers
2k
views
Securing SSL certificate private key with nginx
I've been researching how to secure privaye keys for SSL certificats using nginx as a webserver, but have not been able to find many satisfactory answers.
Specifically, for a client who wants to me ...
1
vote
0
answers
881
views
How to store Vault audit logs when running vault in a Docker container
I'm researching the various audit devices for Hashicorp Vault. My goal is to run Vault in a Docker environment (currently Docker Swarm). The File method is fairly straightforward, but I'm also ...
0
votes
1
answer
479
views
Vault pod going to crashLoopBackOff state on restarting
We have configured vault to run as a pod in the cluster. In the below deployment YAML file, we have included the vault initialisation and unsealing to happen when the pod comes up initially. But when ...
0
votes
1
answer
176
views
Trying to deploy vault:1.2.4 in kubernetes
I have been trying to bring up a Vault pod in K8!, I am using vault:1.2.4
and I have added the capability and config in the yaml as mentioned in the official docker page of vault
But still, I always ...
0
votes
2
answers
406
views
vault init hangs on kubernetes
I'm trying to set up an autosealing vault cluster in kubernetes but I'm seeing some strange behaviour.
I have one vault providing the transit secret to autounseal the second vault . They are running ...
3
votes
1
answer
4k
views
Hashicorp Vault - Policy restricting one specific sub node in a path
I have a Hashicorp Vault server configured and everything is running great, except for my "deny" policies.
I have a 2 level grouping for the majority of secrets, so they follow the structure of:
...
1
vote
1
answer
313
views
Use Vault to manage Kubernetes secrets
We are using Kubernetes on Google Kubernetes Engine - we currently have secrets added manually with the kubectl secret CLI.
To make the secrets management more secure and easier across the team, we ...
0
votes
1
answer
1k
views
How to Use Azure Key Vault w/ Web App
I have an Azure Web App for a client project. The project also requires Azure SQL Databases and Blob Storage. All pieces mentioned are up and running but we've been told we can't have any password ...
0
votes
1
answer
528
views
Consul, vault and postgres containers don't communicate
I'm trying to set up Consul with Vault for secrets management for Postgres with Docker. Here is my configuration
Dokcerfile:
FROM python:3.6-slim
ENV VAULT_VERSION 0.11.1
ENV CONSUL_VERSION 1.2.3
...
2
votes
1
answer
1k
views
Vault - generate secret without revealing it?
With Hashicorp's Vault, is it possbile to generate a secret without revealing that secret to the user who generated it?
Along the lines of:
vault generate secret/my/awesome/secret 32
Where it would ...
11
votes
2
answers
37k
views
HAproxy health check for https backend
I have haproxy configuration that works perfect for vault server in the backend with http configuration and it load balance based on unsealed and active vault server using 200 OK code. This works for ...
8
votes
2
answers
12k
views
Net bind capability with systemd
I am deploying Goldfish, an interface for Vault, in production on a server dedicated to secrets management. So security is of prime concern here.
I am trying to deploy the service with systemd on an ...
2
votes
0
answers
154
views
Can consul-template fetch Vault servers from consul?
I would like to integrate HashiCorp vault into our current setup of consul + consul-template and was a bit surprised to find no option for consul-template to fetch the vault servers from consul's ...