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

Access environment variables stored in Google Secret Manager from Bitbucket pipelines

I am using bitbucket pipeline to run test cases. In order for test cases to succeed, I need secrets which is stored in google secret manager. Is there any way I can access those secrets within bitbucket pipeline environment ?
0
votes
0 answers

"Secret is used without being defined" Error in Google Cloud Build

I am trying a run a google cloud build with the following configuration { "steps": [ { "name": "gcr.io/cloud-builders/gcloud", "id": "Create GitHub pull request", "entrypoint": "bash", "args": [ "-c", "curl -X POST…
0
votes
1 answer

how to authenticate project that is deployed on gcp with secret manager in spring boot

i decided to use secret manager in gcp for credentials from some external API's so what i did locally to test stuff was gcloud auth application-default login, before that i downloaded gcp cli locally. While deploying app my application context…
0
votes
0 answers

How to retrieve values from Gcloud SecretManager with Python 2.7?

I have google-cloud-secret-manager==1.0.0 installed, and I am trying to use it with Python 2.7 to retrieve values from SecreetManager. This is the code that I try to use: from google.cloud import secretmanager class GcpSecretManager(object): …
sprogissd
  • 2,755
  • 5
  • 24
  • 45
0
votes
1 answer

How to securely store JWT secrets/private keys on a NODEjs application?

How to securely store JWT secrets/private keys on a NODEjs application ? User only native nodejs methods or using a secret management service ?
0
votes
2 answers

Use Google Cloud Secret Manager to fetch AUTH0_CLIENT_SECRET and use with nextjs-auth0

I have a Next.js application where authentication is set up with the Auth0 Next.js SDK. Currently the AUTH0_CLIENT_SECRET is being set as an environment variable when deploying. I would like to use Google Cloud Secret Manager to get the…
0
votes
3 answers

When creating a new secret version in Google Secret Manager, how do I get the version number of the newly created version?

I'm trying to write a function that adds a new Google Secret Manager version, and then destroys the previous old version. I can add a new version easily, but to destroy the old version I need it's version number. As per these docs I have tried to…
TinyTiger
  • 1,801
  • 7
  • 47
  • 92
0
votes
1 answer

Spring Boot 1.x not working with Gcloud Secrets Manager

I'm trying to add gcloud secret manager to an old 1.5.2 Spring-boot version but I encountered some problems. I've tried adding both and some other versions but none of them worked. …
0
votes
2 answers

When are GCP secrets accessed using Cloud Functions

GCP prices access operations to secrets at $0.03 per 10,000 (see here). When using secrets with Google Cloud Functions, are they accessed each time a function is run? Or only when the Cloud Function is deployed? If the former is true, then this…
0
votes
1 answer

Google Cloud Secret Coming Out As "(MISSING)"

I've got a cloud function that needs to install dependencies from a private pypi. I've set up a secret called pypi_password for the project and given it the correct value. I've set up a service account to do deployment and given that service…
0
votes
3 answers

Secret Manager from Vertex AI Pipeline

I am working in GCP creating a Vertex AI pipeline with kubeflow and it is time for me to store my API keys more securely. I am very new to GCP and unfamiliar with the environment so I've been trying to follow a few tutorials but have hit a…
0
votes
1 answer

Google cloud build : .availableSecrets: unused

I am trying to run a step using cloud build and using secret manager but I get an error. My cloudbuild.yaml is: steps: - name: 'gcr.io/myproject/image:latest' args: - '-arg1=blablabla' - '-mysysttem.login=$$LOGIN' - '-arg3=blablabla' -…
0
votes
1 answer

Google Cloud Secret Manager - Notifications on PubSub

I'm trying to configure Google Secret Manager in order to get notifications on PubSub (following this guide). Is it possible to configure notifications on service level and not only on secret level? I want to receive notifications on every secret of…
0
votes
2 answers

Google Cloud Secret Manager - Create a secret in a region

I'm working with the Python library google-cloud-secret-manager and I'm facing some problems in creating a secret within a defined region. In the method secretmanager.create_secret seems that there is a metadata parameter that can be filled but I…
walzer91
  • 509
  • 1
  • 8
  • 22
0
votes
1 answer

How to use custom substitutions with secretmanager in cloudbuild?

I'm having an issue with using custom substitutions in my cloudbuild.yaml. substitutions: _CUSTOM_SUBSTITUTION: this-is-a-path availableSecrets: secretManager: - versionName: projects/$_CUSTOM_SUBSTITUTION/secrets/client_id/versions/1 env:…