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

Execute google data flow pipeline on cloud via dataFlowRunner but not use GOOGLE_APPLICATION_CREDENTIALS for security

I have a google data flow pipeline which I run from my local using the dataFlowRunner. However I have the GOOGLE_APPLICATION_CREDENTIALS stored in a file and I export it. I want to avoid storing the credentials for security reasons. Also I have…
0
votes
1 answer

After updating GKE nodes from v1.23.14 to v1.23.16 some pods can't access secrets

I have a long-time running GKE cluster with several pods based on the same Java environment and overall structure. Earlier today I upgraded the nodes to get the latest stable Kubernetes environment (upgrade was from v1.23.14 to v1.23.16). After the…
0
votes
0 answers

What is the safest way to use API keys in Vue and GC run?

I have a Vue 3 project that needs to connect to an API. I need to use a private API key in my Vue project. Locally I use environment variables. I'm hosting my Vue project on Google Cloud Run. What's the most secure way to handle secret info on…
0
votes
0 answers

Use Google Cloud secrets in vue 3

How can I retrieve my google cloud secrets in Vue 3? I didn't find Vue specific @google-cloud/secret-manager plugin. Thanks
jennie788
  • 396
  • 3
  • 18
0
votes
1 answer

Secret Manager GCP, certificate PKCS12, Spring boot 2

I have question I added Secret Manager (I upload file certificate PKCS12) in GCP in this part. I need to add in JVM the certificate.p12 (now I use java 8) I call certificate value from spring boot this…
0
votes
1 answer

Reading Google Cloud Run mounted secret

From my understanding, I should be able to mount a secret file to a Google Cloud Run service and be able to read the file later on. However, I keep getting an error: [Error: EISDIR: illegal operation on a directory, read]. I've already tried…
Brandon-Perry
  • 366
  • 4
  • 18
0
votes
0 answers

Google Secret Manager- allow Compute Engine to auto-renew the certificates

I come with Azure background. In Azure, I could establish Key Vault (Azure's version of Google's secret manager) to store SSL certificates and set up VMs accordingly to pull certs from this. New versions uploaded to the Key Vault will auto-renew all…
0
votes
1 answer

Cloud Run Secret Reference getting mounted as Directory instead of File

Need some help with Cloud Run with Secret Manager, we need to mount 2 secrets as volume (file only), following is the yaml from Cloud Run. volumeMounts: - name: secret-2f1d5ec9-d681-4b0f-8a77-204c5f853330 readOnly: true …
Ravi
  • 599
  • 4
  • 7
0
votes
1 answer

Cloud Build, Container Registry, Cloud Run: Run tests without exposing env var

Cloud build do the following: Build image from dockerfile (see dockerfile below) Push image to container registry Update service in Cloud Run My issue is the following: As I'm running my tests on build time, I need my MONGODB_URI secret on build…
0
votes
1 answer

What GCP dependencies and versions for Spring Boot 2.5.14 Integration

I'm pretty bad with java and trying to get an older spring boot app moved into GCP. I have a proof of concept app working using spring-boot 3.0.1 and spring-cloud-gcp-starter-secretmanager@3.4.1. It runs fine and pulls secrets from Secret manager…
0
votes
1 answer

How to get secret from Google Secrets Manager using Serverless?

Using Serverless and AWS it's possible to load secrets from AWS SSM using: environment: KEY: ${ssm(raw):/aws/reference/secretsmanager/prod/KEY} Is there something equivalent available for Google Secrets Manager? Tried looking into Serverless…
0
votes
1 answer

google cloud shell not able to get maven dependency for spring-cloud-gcp-starter-secretmanager

I am trying to add secrets to spring boot app. so added to pom.xml org.springframework.cloud spring-cloud-gcp-starter-secretmanager 3.4.0 Maven…
0
votes
1 answer

google cloud secret is there or not

I created two secrets one with --data-file=- and one without above flags, So first was created as followes echo -n "Demo" | gcloud secrets create First-password --data-file=- Second was created as echo -n "mySuperSecert" | gcloud secrets create…
puzzled
  • 509
  • 1
  • 5
  • 18
0
votes
1 answer

How can I call cloud secret from Nextjs

I have a Nextjs application running on Firebase as a Cloud Function. I have this nodemailer function that works with a gmail App Password. The problem is that it is inside the code and I have to implement it as a secret. let nodemailer =…
0
votes
0 answers

Secret Manager access issues

I'm trying to incorporate Secret Manager with my projects for security but running into issues setting it up. I currently have a service account in project-b where I downloaded the JSON credential keys and have been using that to access my BigQuery…