{"id":18510763,"url":"https://github.com/envato/stack_master-gpg_parameter_resolver","last_synced_at":"2025-06-19T22:08:02.162Z","repository":{"id":54868781,"uuid":"197666201","full_name":"envato/stack_master-gpg_parameter_resolver","owner":"envato","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-17T06:54:35.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":61,"default_branch":"main","last_synced_at":"2025-06-12T18:45:29.658Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/envato.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-18T22:44:26.000Z","updated_at":"2024-02-17T06:54:38.000Z","dependencies_parsed_at":"2024-11-06T15:30:42.003Z","dependency_job_id":"5d75a0b1-03ff-4afa-b084-a360b3db86fe","html_url":"https://github.com/envato/stack_master-gpg_parameter_resolver","commit_stats":{"total_commits":37,"total_committers":5,"mean_commits":7.4,"dds":"0.29729729729729726","last_synced_commit":"d79e67699e16e9c2f0ebf7351a4763d3b86d0871"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/envato/stack_master-gpg_parameter_resolver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/envato%2Fstack_master-gpg_parameter_resolver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/envato%2Fstack_master-gpg_parameter_resolver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/envato%2Fstack_master-gpg_parameter_resolver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/envato%2Fstack_master-gpg_parameter_resolver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/envato","download_url":"https://codeload.github.com/envato/stack_master-gpg_parameter_resolver/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/envato%2Fstack_master-gpg_parameter_resolver/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260838551,"owners_count":23070606,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-06T15:24:56.157Z","updated_at":"2025-06-19T22:07:57.145Z","avatar_url":"https://github.com/envato.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StackMaster::GpgParameterResolver\n\n[![License MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://github.com/envato/stack_master-gpg_parameter_resolver/blob/main/LICENSE.txt)\n[![Gem Version](https://badge.fury.io/rb/stack_master-gpg_parameter_resolver.svg)](https://rubygems.org/gems/stack_master-gpg_parameter_resolver)\n[![Build Status](https://github.com/envato/stack_master-gpg_parameter_resolver/workflows/tests/badge.svg?branch=main)](https://github.com/envato/stack_master-gpg_parameter_resolver/actions?query=branch%3Amain+workflow%3Atests)\n\nResolve [StackMaster] parameters from within GPG encrypted YAML files.\n\n[StackMaster]: https://github.com/envato/stack_master\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'stack_master-gpg_parameter_resolver'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install stack_master-gpg_parameter_resolver\n\n## Usage\n\nThe secret parameters resolver expects a `secret_file` to be defined in the\nstack definition which is a GPG encrypted YAML file. Once decrypted and parsed,\nthe value provided to the secret resolver is used to lookup the associated key\nin the secret file. A common use case for this is to store database passwords.\n\nstack_master.yml:\n\n```yaml\nstacks:\n  us-east-1:\n    my_app:\n      template: my_app.json\n      secret_file: production.yml.gpg\n```\n\nsecrets/production.yml.gpg, when decrypted:\n\n```yaml\ndb_password: my-password\n```\n\nparameters/my_app.yml:\n\n```yaml\ndb_password:\n  secret: db_password\n```\n\n## Development\n\nAfter checking out the repo, run `script/setup` to install dependencies. You can also run `script/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/envato/stack_master-gpg_parameter_resolver.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenvato%2Fstack_master-gpg_parameter_resolver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenvato%2Fstack_master-gpg_parameter_resolver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenvato%2Fstack_master-gpg_parameter_resolver/lists"}