google-secret-manager Questions
11
Solved
I'm writing a cloud function in Nodejs (10), and trying to access a secret like so:
const [secret] = await new SecretManagerServiceClient().accessSecretVersion({
name: `projects/PROJECT_NUMBER/se...
Ratite asked 18/6, 2020 at 7:44
6
My application needs a bunch of secrets to run: database credentials, API credentials, etc. It's running in Google App Engine Standard Java 11. I need these secrets as environment variables or as a...
Ibis asked 14/10, 2019 at 7:26
3
Solved
I have a firebase project with a google cloud function like this:
export const myFun = functions.region("europe-west1")
.runWith({ timeoutSeconds: 10, secrets: ['MY_SECRET'] })
.https.o...
Austroasiatic asked 19/2, 2022 at 13:1
5
Solved
I'm trying to migrate my code from using API keys stored in the .env file to using Google Cloud Platform Secrets Manager. I've followed the instructions here but I encounter an error saying that I ...
Armipotent asked 18/4, 2020 at 0:22
1
Solved
I am migrating a 1st generation Cloud Firestore Trigger to the second generation.
However, I cannot figure out how to access Google's Secret Manager from within the second generation Cloud Trigger....
Toomay asked 12/7, 2023 at 4:34
3
Solved
While testing a Google Cloud Function I wrote that attempts to access a secret stored in the Secret Manager, I get this error: Error: 7 PERMISSION_DENIED: Permission 'secretmanager.versions.access'...
Serosa asked 20/7, 2020 at 17:37
2
Solved
I'm writing a Firebase function with Cloud Storage trigger. Like this
const functions = require('firebase-functions')
const doSomethingWithSecrets = require('./doSomethingWithSecrets')
const doSom...
Seafood asked 12/5, 2022 at 0:27
2
Does anyone know in which case choose Kubernetes secrets instead of google secret manager and the reverse ? Differences between the two ?
Writhe asked 22/11, 2020 at 18:57
1
Solved
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 ac...
Manageable asked 16/3, 2022 at 20:29
1
I created a secret on the Secrets Manager console. Then I took tried using the Go code quickstart guide like
ctx := context.Background()
client, err := secretmanager.NewClient(ctx)
if err != nil {...
Billbillabong asked 19/4, 2020 at 7:48
5
Solved
For the life of Bryan, how do I do this?
Terraform is used to create an SQL Server instance in GCP.
Root password and user passwords are randomly generated, then put into the Google Secret Manager....
Libel asked 16/9, 2020 at 15:31
6
Solved
I have a running cloud run service user-service. For test purposes I passed client secrets via environment variables as plain text. Now since everything is working fine I'd like to use a secret ins...
Neuron asked 23/1, 2021 at 10:2
4
Solved
I have read through at least a dozen different stackoverflow questions that all present the same basic problem and have the same basic answer: either the module isn't installed correctly or the OP ...
Chagres asked 21/3, 2020 at 17:53
2
Solved
I'm trying to grab the latest secret version. Is there a way to do that without specifying the version number? Such as using the keyword "latest". I'm trying to avoid having to iterate th...
Skill asked 16/8, 2021 at 15:11
1
Solved
I have two questions:
Why can't I mount two cloud secrets in the same directory?
I have attempted to mount two secrets, FIREBASE_AUTH_SERVICE_ACCOUNT and PURCHASE_VALIDATION_SERVICE_ACCOUNT in the...
Sherrer asked 26/7, 2021 at 16:2
1
Solved
To access secrets from cloud functions, Google provides the Secret Manager API:
Secret Manager stores API keys, passwords, certificates, and other sensitive data. It provides convenience while imp...
Tubb asked 26/4, 2021 at 10:45
4
Solved
I am using a Google Cloud Function (GCF) with a Pubsub trigger which sends a HTTP request to a third party API.
The GCF receives notifications from a Pubsub topic used by a service which should no...
Tica asked 12/6, 2017 at 18:21
2
I'm doing a build on GCB in which I need to install private dependencies, so am using Google Secrets Manager. My cloudbuild.yaml looks like this:
steps:
- name: gcr.io/cloud-builders/gcloud
entryp...
Flagella asked 15/12, 2020 at 8:41
1
Solved
I'm using Google Secrets to store API keys and other application specific "secrets". When I deploy my application to a VM instance using a docker container, I want it to access the Google...
Node asked 23/10, 2020 at 20:1
1
Solved
I want to grant a service account access to a secret in Google Secrets Manager.
I can access the secret like this:
gcloud beta secrets versions access 1 --secret="thesecret" --project="myproject"...
Steiermark asked 18/5, 2020 at 17:45
0
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.
firebas...
Leading asked 17/5, 2020 at 20:42
2
Solved
I have been trying to find a way to store secrets in GCP. I have explored Google Cloud KMS. It seems to be only for creating encryption keys, that can be used to encrypt say GCP storage elements. O...
Saveloy asked 3/4, 2020 at 5:48
1
How can I access the variables I define in Google Secret Manager from my Google Cloud Build Pipeline ?
Filth asked 3/2, 2020 at 6:32
1
Solved
If I follow the cloud build document, I have to specify encrypted secret on cloudbuild.yaml.
secrets:
- kmsKeyName: projects/[PROJECT-ID]/locations/global/keyRings/[KEYRING-NAME]/cryptoKeys/[KEY-N...
Collagen asked 31/1, 2020 at 11:11
2
I am wondering if you please help me out with the following question.
What are the differences between the KMS and the secret manager in GCP? Thank you in advance.
https://cloud.google.com/secret...
Deli asked 4/1, 2020 at 5:39
1 Next >
© 2022 - 2024 — McMap. All rights reserved.