{"id":14956037,"url":"https://github.com/mattes/rails_google_cloud_env_secrets","last_synced_at":"2026-02-14T01:02:04.184Z","repository":{"id":56874859,"uuid":"302577321","full_name":"mattes/rails_google_cloud_env_secrets","owner":"mattes","description":"Load Google Cloud Secrets into ENV.","archived":false,"fork":false,"pushed_at":"2020-10-11T01:19:12.000Z","size":47,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-10T10:26:38.720Z","etag":null,"topics":["google-cloud","google-cloud-secrets-manager","rails","ruby","ruby-on-rails"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mattes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-09T08:16:48.000Z","updated_at":"2023-03-04T06:06:15.000Z","dependencies_parsed_at":"2022-08-20T10:11:03.172Z","dependency_job_id":null,"html_url":"https://github.com/mattes/rails_google_cloud_env_secrets","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/mattes/rails_google_cloud_env_secrets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattes%2Frails_google_cloud_env_secrets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattes%2Frails_google_cloud_env_secrets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattes%2Frails_google_cloud_env_secrets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattes%2Frails_google_cloud_env_secrets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattes","download_url":"https://codeload.github.com/mattes/rails_google_cloud_env_secrets/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattes%2Frails_google_cloud_env_secrets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29427610,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T22:20:51.549Z","status":"ssl_error","status_checked_at":"2026-02-13T22:20:49.838Z","response_time":78,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["google-cloud","google-cloud-secrets-manager","rails","ruby","ruby-on-rails"],"created_at":"2024-09-24T13:12:13.286Z","updated_at":"2026-02-14T01:02:02.074Z","avatar_url":"https://github.com/mattes.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Cloud ENV Secrets\n\nLoad Google Cloud Secrets into ENV.\n\n## Installation\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'google_cloud_env_secrets'\n```\n\nAnd then execute:\n```bash\n$ bundle\n```\n\nOr install it yourself as:\n```bash\n$ gem install google_cloud_env_secrets\n```\n\n## Usage\n\nConfigure this gem with environment vars:\n\n| Variable                              | Description                                                                                                                                                                                                                                          |\n|---------------------------------------|--------------------------------------------------------------------|\n| `GOOGLE_APPLICATION_CREDENTIALS`      | Google Application Credentials, path or data (not base64 encoded). |\n| `GOOGLE_PROJECT`                      | Google project                                                     |\n| `GOOGLE_SECRETS_PREFIX`               | Only load secrets that start with given prefix.                    |\n| `GOOGLE_SECRETS_OVERLOAD`             | Replace existing ENV vars with secret's value. Default `true`.     |\n\nThe `GOOGLE_APPLICATION_CREDENTIALS` and `GOOGLE_PROJECT` variables are both optional. If not given,\nwe will detect them automatically, if run on Google Cloud.\n\nGoogle Secrets are available after the [before_configuration hook](https://guides.rubyonrails.org/configuring.html#initialization-events).\nYou can call `GoogleCloudEnvSecrets.load` if you need the ENV secrets sooner than that.\n\nSee [docs](https://www.rubydoc.info/github/mattes/rails_google_cloud_env_secrets/main), too.\n\n## Required IAM Roles\n\n```\nSecret Manager Secret Accessor\nSecret Manager Viewer\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattes%2Frails_google_cloud_env_secrets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattes%2Frails_google_cloud_env_secrets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattes%2Frails_google_cloud_env_secrets/lists"}