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
1 answer

not able to use GCP secret-manager with GCP cloud functions(nodeJS)

I'm trying to access secrets stored in GCP secret manager. using following sample code and before deploy its transpiled using babel. const { SecretManagerServiceClient } = require("@google-cloud/secret-manager"); const client = new…
0
votes
1 answer

Spring Boot Google Cloud Secret Manager

I followed the instruction on setting secret manager with GCP on Spring Boot, I created a secret in Google Cloud, and added the following in application.properties spring.datasource.password=${sm://DB_PASSWORD} It didn't work, however, if I used…
0
votes
1 answer

Reacting to Operations on Secret Manager

We want to use Secret Manager as a primary datastore for secrets. When certain secrets change in the primary datastore, we want to react on that and update a secondary datastore (with the latest values). Is there a way of reacting to when a Secret…
abergmeier
  • 13,224
  • 13
  • 64
  • 120
0
votes
0 answers

Why isn't my Firebase app connecting to Google Secret Manager?

I can't figure out why I keep getting the error: Error: Could not load the default credentials. Browse to https://cloud.google.com/docs/authentication/getting-started for more information. firebase login from my command line returns that I am…
mpc75
  • 937
  • 9
  • 22
0
votes
1 answer

How to access GCP Secret Manager from Angular 9 web app service

I am having Angular service (Cloud Run fully managed) from which I would like to access 'googleapis' Secret Manager API with HTTP client call. The problem is I do not find a way to get the current service account's auth token that I can further use…
0
votes
0 answers

Terraform retrieving existing GCP secret as Data

Trying to implement a Data Module for referencing a 'Robot Account' for Terraform. I get the folowing errors: Error: Reference to undeclared resource on main.tf line 7, in provider "google": 7: credentials =…
0
votes
2 answers

Is there any way to terraform a service account access to a specific secret in Google Secret Manager

I see there has been some activity to add secret manager support to Terraform here: https://github.com/terraform-providers/terraform-provider-google/issues/5168 I'm looking for a way to programatically assign secret access to specific Google service…
-1
votes
1 answer

Cloud Run Error "_access_secret_version: Unable to access secret"

I'm having issues with a Cloud Run app accessing secrets. The secrets are exposed as environment variables and I have already confirmed that they exist and contain values. Also, the Secret Manager Secret Accessor role is already assigned to the…
Razpiento
  • 67
  • 1
  • 11
-1
votes
1 answer

Hi, How can I access the google secret key which is created by Google secret manager API from ReactJs application/Project?

I have secret key and secret resource ID I just have to access from ReactJs application I did install @google-cloud/secret-manager package in ReactJs application but don't know what I have to follow next
-1
votes
1 answer

Using secret manager across multiple client organizations

Let's say I have an application that is used by two companies. These companies have database (and other) connections that will be stored in Secret Manager: Company: General Motors Resource: Oracle Database Credentials Resource: SSH Key…
David542
  • 104,438
  • 178
  • 489
  • 842
-2
votes
1 answer

App script accessing secret manager to retrieve api token

I am trying to access secret manager from a small script I built on app script. I need to access and API with with a key but do not want to hardcode it. I have already assigned the app to a project. I am just not sure how to query the token.
1 2 3
20
21