Hello,
we need to store and retrieve a jks secret in vault
we are using vault -agent.
We followed successfully this procedure:
and we could retrieve the jks secret using the described annotations :
annotations:
vault.hashicorp.com/agent-inject: “true”
vault.hashicorp.com/agent-inject-secret-sec: “kv/secret”
vault.hashicorp.com/tls-skip-verify: “true”
vault.hashicorp.com/role: “webapp”
vault.hashicorp.com/agent-inject-file-sec: “myservice.jks”
vault.hashicorp.com/agent-pre-populate-only: “true”
vault.hashicorp.com/agent-inject-template-sec:“{{- with secret "kv/secret" -}}{{ base64Decode .Data.data.apigeeenvcertificate }}{{- end }}”
We are moving now to vault operator and we wonder how we would be able to proceed now toretrieve the jks secrets encoded in base 64
Do you have any idea ?
thanks for support