{"id":18555368,"url":"https://github.com/craftypath/kubectl-sops","last_synced_at":"2026-05-17T15:31:47.779Z","repository":{"id":54491090,"uuid":"264204424","full_name":"craftypath/kubectl-sops","owner":"craftypath","description":"A kubectl-plugin for SOPS operator https://github.com/craftypath/sops-operator","archived":false,"fork":false,"pushed_at":"2021-02-15T22:45:44.000Z","size":219,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T08:32:43.898Z","etag":null,"topics":["kubectl","kubernetes","kubernetes-operator","plugin","sops","sops-operator"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/craftypath.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-05-15T13:44:01.000Z","updated_at":"2021-02-15T22:41:19.000Z","dependencies_parsed_at":"2022-08-13T17:40:19.334Z","dependency_job_id":null,"html_url":"https://github.com/craftypath/kubectl-sops","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/craftypath%2Fkubectl-sops","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/craftypath%2Fkubectl-sops/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/craftypath%2Fkubectl-sops/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/craftypath%2Fkubectl-sops/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/craftypath","download_url":"https://codeload.github.com/craftypath/kubectl-sops/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254346624,"owners_count":22055809,"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":["kubectl","kubernetes","kubernetes-operator","plugin","sops","sops-operator"],"created_at":"2024-11-06T21:26:19.365Z","updated_at":"2025-10-24T15:45:14.515Z","avatar_url":"https://github.com/craftypath.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kubectl-sops\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n![](https://github.com/craftypath/kubectl-sops/workflows/CI/badge.svg?branch=master)\n\nA `kubectl` plugin for creating `SopsSecret` resources.\n\nSee https://github.com/craftypath/sops-operator.\n\nThe plugin automatically encrypts data using [Mozilla SOPS](https://github.com/mozilla/sops) and wraps them into a `SopsSecret`.\nThe interface is the same as that of `kubectl create secret`.\nAdditional args for SOPS must be passed after the `--` delimiter.\n\n## Installation\n\nDownload a release for your platform and add it to the `PATH`.\nA distribution via [Krew](https://krew.sigs.k8s.io/) is planned.\n\n## Examples\n\n### From literal values\n\n```console\nkubectl sops create secret generic test-secret --from-literal foo=foo_secret --from-literal bar=bar_secret -- \\\n    --kms arn:aws:kms:eu-central-1:123456789012:key/ffad06af-a6cc-43e5-ad61-51db75d17c77\n```\n\n### From file\n\n```console\nkubectl sops create secret generic test-secret --from-file test.yaml -- \\\n    --kms arn:aws:kms:eu-central-1:123456789012:key/ffad06af-a6cc-43e5-ad61-51db75d17c77\n```\n\n### From file printing resulting YAML without applying it\n\n```console\nkubectl sops create secret generic test-secret --from-literal foo.yaml=\"bar: barvalue\" --dry-run -o yaml -- \\\n    --kms arn:aws:kms:eu-central-1:123456789012:key/ffad06af-a6cc-43e5-ad61-51db75d17c77\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcraftypath%2Fkubectl-sops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcraftypath%2Fkubectl-sops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcraftypath%2Fkubectl-sops/lists"}