Skip to content

onedr0p/sops-pre-commit

Repository files navigation

sops-pre-commit

pre-commit.ci status

Sops pre-commit hook.

  • Check for unencrypted Kubernetes secrets in manifest files.

Requirements

  • Pre-commit 1.2 or later

Installation

Add the following to your .pre-commit-config.yaml

- repo: https://github.com/onedr0p/sops-pre-commit
  rev: v2.1.0
  hooks:
    - id: forbid-secrets

License

This software is licensed under the MIT license (see the LICENSE file).