{"id":24563726,"url":"https://github.com/mildronize/sops-with-azure-keyvault-secrets","last_synced_at":"2026-04-17T04:33:56.901Z","repository":{"id":83976496,"uuid":"485039360","full_name":"mildronize/sops-with-azure-keyvault-secrets","owner":"mildronize","description":"Secrets Template for SOPS with Azure Key Vault ","archived":false,"fork":false,"pushed_at":"2022-05-07T02:30:23.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-23T10:15:30.649Z","etag":null,"topics":["azure","keyvault","secrets-management","sops"],"latest_commit_sha":null,"homepage":"https://thadaw.com/s/suzlta6/","language":"Shell","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/mildronize.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-24T13:46:19.000Z","updated_at":"2022-05-06T16:51:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"b7f59e67-4baa-432c-9d64-711e3045ce34","html_url":"https://github.com/mildronize/sops-with-azure-keyvault-secrets","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mildronize%2Fsops-with-azure-keyvault-secrets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mildronize%2Fsops-with-azure-keyvault-secrets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mildronize%2Fsops-with-azure-keyvault-secrets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mildronize%2Fsops-with-azure-keyvault-secrets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mildronize","download_url":"https://codeload.github.com/mildronize/sops-with-azure-keyvault-secrets/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243951668,"owners_count":20373776,"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":["azure","keyvault","secrets-management","sops"],"created_at":"2025-01-23T10:15:29.794Z","updated_at":"2025-10-09T09:43:29.616Z","avatar_url":"https://github.com/mildronize.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sops-with-azure-keyvault-secrets\n\nFor SOPS documentation: https://github.com/mildronize/actions-get-secret-sops\n\nSupported Platform: WSL, Linux, Mac OS\n\n## How to add secrets \n\n1. Decrypt SOPS to plain text (**DO NOT PUSH PLAIN TEXT**)\n   ```bash\n   ./decrypt.sh thadaw/dev.enc.yaml \u003e thadaw/dev.plain.yaml\n   ```\n\n2. Modify `thadaw/dev.plain.yaml` (**DO NOT PUSH THIS FILE**)\n3. Encrypt and replace with same file\n    ```bash\n    ./modify_sops.sh thadaw/dev.plain.yaml thadaw/dev.enc.yaml\n    ```\n4. Commit \u0026 Push code\n5. Release to Pipeline (GitHub Action)\n    ```bash\n    ./scripts/bump-and-tag-version.sh \n    ```\n\n    It will tag version, for example:\n\n    ```\n    Tag created and pushed: \"0.0.1\"\n    ```\n\n    Using this version to next step\n\n6. Go to GitHub Action Repo which using this project for downloading secrets.\n\n    ```yaml\n    - name: Checkout Secrets\n      uses: actions/checkout@v3\n      with:\n        repository: mildronize/sops-with-azure-keyvault-secrets\n        ref: 0.0.1\n        token: ${{ secrets.GITHUB_TOKEN_FOR_ACCESS_PRIVATE_REPO }}\n        path: ./sops-with-azure-keyvault-secrets\n    ```\n\n## Create new Env\n\n1. Create KeyVault and SOPS\n\n    ```bash\n    ./create-az-key-vault.sh ./thadaw/dev.config.yaml\n    ```\n\n2. Encrypt secret from plain text\n\n    ```bash\n    ./encrypt.sh ./thadaw/prod.config.yaml ./thadaw/prod.plain.yaml \u003e ./thadaw/prod.enc.yaml\n    ```\n\n## Installation\n\n```\nbrew install sops\nbrew install jq\nbrew install pwgen\n```\n\nInstall SOPS on Ubuntu or WSL\n\n```\nwget https://github.com/mozilla/sops/releases/download/v3.7.2/sops_3.7.2_amd64.deb\nsudo dpkg -i sops_3.7.2_amd64.deb\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmildronize%2Fsops-with-azure-keyvault-secrets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmildronize%2Fsops-with-azure-keyvault-secrets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmildronize%2Fsops-with-azure-keyvault-secrets/lists"}