mcpField
S
SOPS

SOPS

公式Agent-ready
github.com開発ツール23.6ksops1 日前に更新
リポジトリ公式サイト

SOPS について

SOPS は YAML や JSON などの構造化設定ファイルのシームレスな暗号化を提供します。クラウドキー管理サービスと age/PGP と統合し、静止中のシークレットを保護しながらエディターで人間が読める状態を保ちます。

主な機能

  1. 01YAML と JSON ファイルをキーまたは値ごとに選択的に暗号化
  2. 02AWS KMS、GCP Cloud KMS、Azure Key Vault、age と統合
  3. 03暗号化ファイルをプレーンテキストで表示・編集し、変更時に再暗号化
  4. 04クラウドプロバイダー IAM を通じて暗号化キーを管理

活用シーン

  1. 01インフラストラクチャコード隣接して暗号化された認証情報を保管
  2. 02バージョン管理内でシークレット設定ファイルを安全に維持
  3. 03CI/CD パイプラインで暗号化/復号化を自動化
  4. 04集中鍵管理でチーム間の暗号化シークレットを共有

インストール

OS またはパッケージマネージャーを選び、コマンドをターミナルで実行します。

$
brew install sops

インストール後にsops --versionを実行して確認します。

コマンド例

よく使うコマンドを使う順に並べています。

01
sops secrets.yaml
02
sops -d secrets.yaml

README(原文)English

プロジェクトの README より

この README の日本語訳はまだありません。以下は英語の原文です。日本語の紹介はページ上部をご覧ください。

SOPS: Secrets OPerationS
========================

**SOPS** is an editor of encrypted files that supports YAML, JSON, ENV, INI and BINARY
formats and encrypts with AWS KMS, GCP KMS, Azure Key Vault, HuaweiCloud KMS, age, and PGP.
(`demo <https://www.youtube.com/watch?v=YTEVyLXFiq0>`_)

.. image:: https://i.imgur.com/X0TM5NI.gif

------------

.. image:: https://pkg.go.dev/badge/github.com/getsops/sops/v3.svg
    :target: https://pkg.go.dev/github.com/getsops/sops/v3

Documentation
-------------

You can find the SOPS documentation on `getsops.io <https://getsops.io/>`_ under `"Docs" <https://getsops.io/docs/>`_.

Security
--------

Please report any security issues privately using `GitHub's advisory form <https://github.com/getsops/sops/security/advisories>`_.

License
-------

Mozilla Public License Version 2.0

Authors
-------

SOPS was initially launched as a project at Mozilla in 2015 and has been
graciously donated to the CNCF as a Sandbox project in 2023, now under the
stewardship of a `new group of maintainers <https://github.com/getsops/community/blob/main/MAINTAINERS.md>`_.

The original authors of the project were:

* Adrian Utrilla @autrilla
* Julien Vehent @jvehent

Furthermore, the project has been carried for a long time by AJ Bahnken @ajvb,
and had not been possible without the contributions of numerous `contributors <https://github.com/getsops/sops/graphs/contributors>`_.

Credits
-------

SOPS was inspired by `hiera-eyaml <https://github.com/TomPoulton/hiera-eyaml>`_,
`credstash <https://github.com/LuminalOSS/credstash>`_,
`sneaker <https://github.com/codahale/sneaker>`_,
`password store <http://www.passwordstore.org/>`_ and too many years managing
PGP encrypted files by hand...

-----

.. image:: docs/images/cncf-color-bg.svg
   :width: 400
   :alt: CNCF Sandbox Project

**We are a** `Cloud Native Computing Foundation <https://cncf.io>`_ **sandbox project.**

コメント