google-chat-samples
berglas
google-chat-samples | berglas | |
---|---|---|
1 | 37 | |
464 | 1,225 | |
3.2% | 0.2% | |
7.5 | 6.9 | |
18 days ago | 20 days ago | |
JavaScript | Go | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
google-chat-samples
-
Increasing Your Cloud Function Development Velocity Using Dynamically Loading Python Classes
There is a small Python class which leverages the standard Python classloader to load source code from a text file, currently stored in a Google Cloud Storage bucket or a Secret Manager secret. If the loader discovers that the class you’re adding has already been loaded then it performs a reload, ensuring that the latest version from the storage area is used.
berglas
-
How to deploy a Django app to Google Cloud Run using Terraform
Secret Manager: secure storage for sensitive data e.g passwords.
- How do you handle sensitive variables with a service-worker?
-
Increasing Your Cloud Function Development Velocity Using Dynamically Loading Python Classes
Google Secret Manager
-
Getting started using Google APIs: API Keys (Part 2)
API keys are easy to "leak" or compromise, so best to not only use the restrictions presented to you when you create them but physically protect them as well. Don't code them in plain-text, don't check them into GitHub, etc. Store them in a secure database or use a service like GCP Secret Manager.
-
Need some advice on API key storage
I've been looking at Google Secret Manager which sounds promising but I've not been able to find any examples or tutorials that help with the actual practical details of best practice or getting this working. I'm currently reading about Cloud Functions which also sound promising but again, I'm just going deeper and deeper into GCP without feeling like I'm gaining any useful insights.
-
Secure GitHub Actions by pull_request_target
In this post, I described how to build secure GitHub Actions workflows by pull_request_target event instead of pull_request event. Using pull_request_target, you can prevent malicious codes from being executed in CI. And by managing secrets in secrets management services such as AWS Secrets Manager and Google Secret Manager and access them via OIDC, you can restrict the access to secrets securely. To migrate pull_request to pull_request_target, several modifications are needed. And pull_request_target has a drawback that it's difficult to test changes of workflows, so it's good to introduce pull_request_target to repositories that require strong permissions in CI. For example, a Terraform Monorepo tends to require strong permissions for CI, so it's good to introduce pull_request_target to it.
-
Need Help with Deploying Directus on Google Cloud Platform (GCP)
If you want to make these secrets more secure and get versioning and access logs for them, you may want to switch to Secret Manager later on. They can still be exposed as environment variables to your code. It's a little more setup work, so start with the simple approach at the top.
-
Has anyone been able to implement the OpenAI API with a Firebase Function (which is needed for the env variable API Key)?
https://cloud.google.com/secret-manager https://aws.amazon.com/secrets-manager/
- Securely storing Social Security Numbers with Firebase?
- Dónde van las credenciales cuando voy a subir un código a la nube para correr 24/7?
What are some alternatives?
Bot Builder SDK - Bot Framework provides the most comprehensive experience for building conversation applications.
kubernetes-external-secrets - Integrate external secret management systems with Kubernetes
tank - An automomously/remotely driven tank with Arduino (C++) and Raspberry Pi Zero W (Python/Node.js)
helm-charts
python-samples - 🐍 Python samples for Google Workspace APIs
kube-secrets-init - Kubernetes mutating webhook for `secrets-init` injection
gitleaks - Protect and discover secrets using Gitleaks 🔑
cocert - Split and distribute your private keys securely amongst untrusted network
secrets-store-csi-driver-provider-gcp - Google Secret Manager provider for the Secret Store CSI Driver.
rclone - "rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
thanos - Highly available Prometheus setup with long term storage capabilities. A CNCF Incubating project.
apps-script-samples - Apps Script samples for Google Workspace products.