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

GCloud secrets not resolving in spring properties

TL;DR: the GCP secrets are not resolved in bootstrap file but the sql starter requires an instance connection name and database name on bootstrap I'm trying to incorporate GCP Secretmanager in a Spring Boot application that is running on Google App…
mathiasb
  • 194
  • 4
  • 11
0
votes
1 answer

python 3.7 can't access google secret service manager

I configured the required roles for the secret service manager, but when I try to access them through python 3.7 code I get error 403 access denied: google.api_core.exceptions.PermissionDenied: 403 Permission 'secretmanager.secrets.list' denied for…
blob
  • 439
  • 8
  • 21
0
votes
2 answers

Access google cloud secret inside cloud build yaml

I am trying to get the secrets from google secret manager. As per documentation to access the secret, the entrypoint should be bash, but I've different entrypoint. Trying to figure out how I can get the secret in my step 'Create dataflow template'.…
0
votes
2 answers

Getting error while running sonar scannar using cloud build with an advantage of secret manager

Can you please help on my below issue. As i am doing sonar scanner using cloud build with an advantage of secret manger but facing issue. And followed same steps of https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets here is my…
0
votes
1 answer

securely uploading files from local C# winforms app to Google Cloud Storage Bucket in production

I've tried to use GCPs Secret Manager in a Winforms C# app I'm creating but I need credentials.json to access the Secret Manager in the first place. This is fine for development but not in production. Perhaps I shouldn't be using a secret manager at…
0
votes
1 answer

GCE Secret Manager display test secret via php application

I am new to Secret manager and I am trying to display a test secret using a php app. All I get when the app is deployed is an error 500. I gave my xxxx@appspot.gserviceaccount.com service account the required role according to gcp documentation…
Ben
  • 11
  • 1
0
votes
1 answer

GCP secret manager returns connections string itself, how can I have it return my secret?

I have a secret on GCP, namely greeting with the secret-value being "Hello". When in my application I have the following code. @Value("${sm://projects/221608087928/secrets/greeting}") private String databasePassword; @RequestMapping(value…
0
votes
1 answer

How to read binary secrets from GCP Secret Manager

I am trying to store pfx certificates on GCP secret manager. My node app works fine when reading the certificate files from local filesystem via fs.readFileSync however when i fetch the certificate via gcp secret manager client library, i am getting…
Taata
  • 107
  • 2
  • 11
0
votes
1 answer

Google Cloud Secret Manager prints unnecessary debug information when running in compute engine

I am using Google Cloud Secret Manager in Jupyterlab notebooks in GCP AI Platform notebooks. I am able to access secrets as excepted but my code is printing out a lot of DEBUG lines related to the authentication. Here is my code: from google.cloud…
0
votes
1 answer

jest mocking for Google Secret Manager client is broken

i am trying to getting the secrets from GCP Secret Manager as follow: import { SecretManagerServiceClient } from '@google-cloud/secret-manager'; const getSecrets = async (storeId) => { try { const client = new SecretManagerServiceClient(); …
nifCody
  • 2,394
  • 3
  • 34
  • 54
0
votes
1 answer

How can I decode the base64 payload from Google Secret Manager?

When using secret manager, the response is base64 encoded. How would one go about decoding it? sendGridSend: steps: - getSecret: call: http.get args: url:…
Ed Kong
  • 59
  • 3
0
votes
0 answers

Spring Boot and GCP: No qualifying bean of type org.springframework.cloud.gcp.secretmanager.SecretManagerTemplate

Getting error while connecting to GCP to get the secret from the secret manager, but somehow it's not working for me. Getting error while running the application as: No qualifying bean of type…
0
votes
1 answer

Can't find option in Google Cloud Run to add created Secrets to Variables - documentation is misleading

I want to add a secret to access my Mongo Atlas databases via my Cloud Run Managed application. I followed this guide: https://cloud.google.com/run/docs/configuring/using-secrets?hl=en It described to first create the secrets - I did that Then I…
xetra11
  • 7,671
  • 14
  • 84
  • 159
0
votes
0 answers

Asynchronous function returns Promise{pending} instead of a value

I need the function getAUTH to return a value that i'll later assign to variable 'AUTH' but it returns Promise {pending}. This is my code: const axios = require('axios') const { getinfobipAuth } = require('../secrets-manager') //get infobipAUTH…
SabetiG
  • 379
  • 2
  • 8
0
votes
2 answers

Google Cloud Build + Google Secret Manager Substitution Problems

we have a repository that needs to go get a private repo. To do this, we are using an SSH key to access the private repo/module. We are storing this SSH key using Google Secret Manager and passing it to Docker using the build-arg flag. Now, when we…
Mike
  • 1,180
  • 3
  • 15
  • 28
1 2 3
20
21