Questions tagged [vault]

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].

300 questions
-1
votes
2 answers

HashiCorp Vault User Audit

We're seeking a solution to enable us audit our HashiCorp Vault instance to obtain a namespace breakdown of: For each Vault user, the roles or groups that their entity belongs to. Having reviewed the Vault API explorer commands, it appears this is…
hitman126
  • 699
  • 1
  • 12
  • 43
-1
votes
1 answer

Vault agent injector doesn't add sidecar containers

I've installed vault into fresh Kubernetes cluster v.1.25 and trying to deploy app with the following annotation: vault.hashicorp.com/agent-inject: 'true' Injector doesn't add vault container to my app pod and I don't see any new log entries in…
Timur
  • 31
  • 1
  • 6
-1
votes
1 answer

Terraform Nested Loop. Iterate a list of objects

Hi I am trying to iterate a list of objects, then within that loop, iterate using a dynamic block a list, which is the object value in Terraform. My end goal us to create a Vault Policy based on a list of policies, key being the path name, and value…
CodyK
  • 3,426
  • 4
  • 36
  • 52
-1
votes
1 answer

How to get a secret from hashicorp vault with rust

I want to get a secret, that already exists in vault with a specific path "passwords/admin" [dependencies] hashicorp_vault = "2.1.0" use hashicorp_vault::Client; fn main() { let client = Client::new("http://my_vault.server:8200",…
-1
votes
1 answer

Data source doesn't refresh contents while planning

data "vault_generic_secret" "nr" { path = "secret/secrets" } I have this code to fetch data from Vault. I have added a new secret(newrelic_license_key) in the same vault location and while running terraform plan I am getting the following…
-1
votes
1 answer

jq to extract specific data with different map name of same type

I'm performing a query on vault API to list all the entities by their Ids and trying extract alias name from aliases.name, however, due to the different map name in each iteration I'm not able to extract the value. Command curl -s --header…
-1
votes
2 answers

vault server gave HTTP response to HTTPS client

sudo vault operator unseal Unseal Key (will be hidden): Error unsealing: Put "https://127.0.0.1:8200/v1/sys/unseal": http: server gave HTTP response to HTTPS client
user3627034
  • 1,175
  • 8
  • 13
-1
votes
2 answers

Host HashiCorp Vault in Azure App Services

Is it possible to host/deploy HashiCorp Vault on MS Azure App Services so that I can create, read, update and delete Vault secrets from my apps deployed on Azure App Services? I can't find any documentation. I only know that I can host it on Windows…
-1
votes
1 answer

Error while importing vault 1.3.0 go mod error

While trying to import github.com/hashicorp/vault/api v1.3.0 in the require field, i am facing the issue. Command 'gopls.update_go_sum' failed: Error: err: exit status 1: stderr: go: github.com/hashicorp/vault/api@v1.3.0: reading…
-1
votes
1 answer

Issue with Vault 0.9.6 installation On MacBook Pro

I'm trying to install the Vault 0.9.6 Version on MacBook Pro (13-inch, M1, 2020) having chip Apple M1 Installation steps: Download Vault 0.9.6 from the official website Move vault to /usr/local/bin Error: zsh: segmentation fault vault on…
-1
votes
1 answer

vault write command using shell script

I am trying to use vault in shell script using below commands. export k8s_host="$(kubectl config view --minify | grep server | cut -f 2- -d ":" | tr -d " ")" export secret_name="$(kubectl get serviceaccount vault-auth -n vault -o…
knowledge20
  • 1,006
  • 3
  • 14
  • 25
-1
votes
1 answer

How to send Public Key while running ansible-playbook?

I am working on the vault-ssh secret engine method which is using the authorized CA for signing the keys and you can authenticate to the client with that signed certificate, You can check this link:-…
tarun mittal
  • 331
  • 4
  • 13
-1
votes
1 answer

Vault deployment in alive cluster using terraform

I want to deploy vault with a cluster which contains microservices and my vault shouldn't have an external access, and everything should be done using terraform. Does anyone know how to do it?
-2
votes
1 answer

How to use for_each loop to cycle kv pairs in terraform templates?

We have a Hashistack infrastructure: Nomad, Vault, Consul... I want to deploy an app with a Terraform. The app has it's variables in Vault's kv store. I have a problem understanding how to make key-value pairs from vault become environment variables…
-2
votes
2 answers

Thycotic Secret Server APIS access

I want to access Thycotic Secret Server Rest APIS,But when I try to authenticate and get token,I am getting html response,instead of token?Any suggestions
sha
  • 1
  • 1
1 2 3
19
20