{"id":24563740,"url":"https://github.com/mildronize/my-private-repo-secrets","last_synced_at":"2025-08-23T02:39:21.368Z","repository":{"id":83976445,"uuid":"489434639","full_name":"mildronize/my-private-repo-secrets","owner":"mildronize","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-07T02:32:10.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-17T00:27:25.918Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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-05-06T17:09:26.000Z","updated_at":"2022-05-06T17:09:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"a79ff921-7955-40c9-a714-fbd751315e70","html_url":"https://github.com/mildronize/my-private-repo-secrets","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":"mildronize/sops-with-azure-keyvault-secrets","purl":"pkg:github/mildronize/my-private-repo-secrets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mildronize%2Fmy-private-repo-secrets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mildronize%2Fmy-private-repo-secrets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mildronize%2Fmy-private-repo-secrets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mildronize%2Fmy-private-repo-secrets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mildronize","download_url":"https://codeload.github.com/mildronize/my-private-repo-secrets/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mildronize%2Fmy-private-repo-secrets/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263999349,"owners_count":23542022,"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":"2025-01-23T10:15:34.861Z","updated_at":"2025-07-07T01:38:53.464Z","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%2Fmy-private-repo-secrets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmildronize%2Fmy-private-repo-secrets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmildronize%2Fmy-private-repo-secrets/lists"}