{"repo":"DannyBen/secret_hub","free":true,"listed":false,"github":"https://github.com/DannyBen/secret_hub","clone":"git clone https://github.com/DannyBen/secret_hub.git","description":"Manage GitHub secrets with support for bulk operations and organization secrets","language":"Ruby","stars":28,"topics":["github-actions","github-api","github-secrets","gem","cli"],"license":"MIT","category":"cli-tools","readme_excerpt":"SecretHub - GitHub Secrets CLI SecretHub lets you easily manage your GitHub secrets from the command line with support for bulk operations and organization secrets. --- Installation With Ruby: Or with Docker: Prerequisites SecretHub is a wrapper around the [GitHub Secrets API][secrets-api]. To use it, you need to set up your environment with a [GitHub Access Token][access-key]: Give your token the repo scope, and for organization secrets, the admin:org scope. Usage SecretHub has three families of commands: 1. secrethub repo - manage repository secrets. 2. secrethub org - manage organization secrets. 3. secrethub bulk - manage multiple secrets in multiple repositories using a config file. Bulk operations All the bulk operations use a simple YAML configuration file. The configuration file includes a list of GitHub repositories, each with a list of its secrets. For example: Each list of secrets can either be an array, or a hash. Using array syntax All secrets must be defined as environment variables. Using hash syntax Each secret may define its value, or leave it blank. When a secret value is blank, it will be loaded from the environment. Using YAML anchors SecretHub ignores any key that does not look like a repository (does not include a slash / ). Using this feature, you can define reusable YAML anchors: Note that YAML anchors only work with the hash syntax. Contributing / Support If you experience any issue, have a question or a suggestion, or if you wish to contribute, feel ","default_branch":null,"files":null,"tree":[],"storefront":"/r/DannyBen","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DannyBen/secret_hub/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}