Questions tagged [google-secret-manager]

Secret Manager provides a secure and convenient tool for storing API keys, passwords, certificates, and other sensitive data on Google Cloud Platform.

Secret Manager is a Google Cloud product that provides a secure and convenient way to store and access API keys, passwords, certificates, and other sensitive data.

Resources

Related Products

312 questions
0
votes
0 answers

Retrieve Secrets from GCP

I followed the GCP documentation: (https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets) for retrieving Secrets. The only difference is that I am running the application with the Spring framework so my main module starts with…
0
votes
0 answers

JDK 8 Issue with ALPN support

I am facing an issue where I am trying to connect to google secret manager, which requires grpc-okhttp. it uses ALPN to connect over http 2. However, seems like that support was added in JDK 9 as per following…
Gaurang Shah
  • 11,764
  • 9
  • 74
  • 137
0
votes
2 answers

Error Connecting to Secret Manager - TLS ALPN negotiation failed with protocols: [h2]

I am trying to connect to Google Secret Manager from my linux server and that's when I am getting following error. Java Version: java version "1.8.0_111" Java(TM) SE Runtime Environment (build 1.8.0_111-b14) Java HotSpot(TM) 64-Bit Server VM (build…
Gaurang Shah
  • 11,764
  • 9
  • 74
  • 137
0
votes
1 answer

How to authenticate GSM with token in NodeJS

How to authenticate GSM with token in NodeJS? As far as I know there's option to auth using GOOGLE_APPLICATION_CREDENTIALS import { SecretManagerServiceClient } from '@google-cloud/secret-manager'; const GClient = new…
TheTanadu
  • 554
  • 1
  • 7
  • 33
0
votes
1 answer

Mount google secret manager secret to KubernetesPodOperator

I have a private Cloud Composer 1(Airflow 2) cluster. I can mount a GKE Secret as a file with KubernetesPodOperator. It gives me overhead of deploying secrets to Kubernetes directly, which I wouldn't prefer. But I couldn't find a way to mount a…
0
votes
1 answer

Google Cloud Secret accessed by just one DAG

I am creating a Airflow DAG in GCC that needs to read a Secret and no other DAG in that instance should access it besides that particular DAG. Is that possible? I only see that we could grant permissions for the GCC SA, in this case every DAG in the…
0
votes
1 answer

Google Cloud Run Service Reference Secret within Terraform

I am trying to deploy an application in Google Cloud Run with Terraform and there are some secrets I want to reference in the Cloud Run Service. However I am getting this error: Error: Unsupported block type │ │ on main.tf line 122, in resource…
0
votes
1 answer

How to use the google services like bucket or pub sub without service key.json file in development environment?

For using the google pub sub we need key.json file which serves as service account. For deployed code we can pass the service_account: name@service-name.iam.gserviceaccount.com in app.yaml which works if everything is in google cloud. As it is not…
Mr X
  • 1,637
  • 3
  • 29
  • 55
0
votes
1 answer

How to add api-key to google secret-manager

With Terraform GCP provider 4.30.0, I can now create an google maps api key and restrict it. resource "google_apikeys_key" "maps-api-key" { provider = google-beta name = "maps-api-key" display_name = "google-maps-api-key" project…
0
votes
1 answer

Why do I get `secretmanager.versions.access` denied in GCP?

I am trying to access a secret stored in secrets manager. I created a service account with owner role. I created a key from it. I run: import os os.environ['GOOGLE_APPLICATION_CREDENTIALS'] = './keyfile.json' from google.cloud import…
schoon
  • 2,858
  • 3
  • 46
  • 78
0
votes
1 answer

Cloud build defines more than 100 secret values

I include secret during Cloud build time but it's choking with error, I believe there Is some hard limit of 100 variables on GCP Secret manager. ERROR: (gcloud.builds.submit) INVALID_ARGUMENT: invalid build: invalid secrets: build defines more than…
0
votes
1 answer

Use of key file in Google Secret Manager

Currently I am working on a Java Maven Project and was trying to integrate Google Secret Manager in my application. I need to set up authentication. I have generated the keyfile (service-account-file.json). Now I need to use it for authentication. I…
0
votes
1 answer

Is it safe to store something like secrets in Firebase config?

in the cloud functions is better use firebase config command and then use (for example ; functions.config().stripe.secret_key ) or Google Secret Manager ? From the documentation I can't tell, I only understood that the only thing not to use is the…
sirss
  • 171
  • 1
  • 9
0
votes
2 answers

Migrating GKE Secrets to Secret Manager

I was wondering if there are any migration guides for migrating from GKE Secrets to the Secret Manager API?
0
votes
1 answer

Integrate Google Secret Manager with Google App Engine in python3

I have an error when I try to access secret manager from Google App Engine Standard, but if I access from my laptop with the JSON key is fine. requirements.txt: Flask google-cloud-storage google-cloud-secret-manager psycopg2 app.yaml runtime:…