Vault gcs backend

Hi There

I’m trying to use gcs as the storage backend for vault however I’m getting the below error message.

[ERROR] core: failed to acquire lock: error=“lock: attempt lock: googleapi: Error 403: Insufficient Permission, insufficientPermissions”

I checked the the permission on the google storage bucket and the service account has Storage Admin.

Vault v1.4.3

  storage "gcs" {
    bucket        = "storage_bucket_name"
    ha_enabled    = "true"

I’ve also set the environment variable GOOGLE_CREDENTIALS to the location of credential json file.




Are you using helm package or Kubernetes recipe (yamls)?


I’m using the hashicorp helm chart to install vault onto gke cluster