# Encrypt Your Sensitive Information Before Storing It - Encrypting with Mozilla SOPS and AGE

DevFeed: [Encrypt Your Sensitive Information Before Storing It - Encrypting with Mozilla SOPS and AGE](<https://devfeed.tech/articles/encrypt-your-sensitive-information-before-storing-it-encrypting-with-mozilla-sops-and-age-10661.md>)

Original publisher: [Read original article](<https://technotim.com/posts/secret-encryption-sops/>)

Author: Techno Tim

Published: 2022-10-01T14:00:00Z

Content type: tutorial

Language: en

Sources: [Techno Tim](<https://devfeed.tech/sources/techno-tim.md>)

Topics: [Encryption](<https://devfeed.tech/topics/encryption.md>), [Git](<https://devfeed.tech/topics/git.md>), [.env](<https://devfeed.tech/topics/dotenv.md>), [JSON](<https://devfeed.tech/topics/json.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [YAML](<https://devfeed.tech/topics/yaml.md>), [kubectl](<https://devfeed.tech/topics/kubectl.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [Azure](<https://devfeed.tech/topics/azure.md>)

Tags: [aws](<https://devfeed.tech/tags/aws.md>), [azure](<https://devfeed.tech/tags/azure.md>), [encryption](<https://devfeed.tech/tags/encryption.md>), [env-file-security](<https://devfeed.tech/tags/env-file-security.md>), [format](<https://devfeed.tech/tags/format.md>), [git](<https://devfeed.tech/tags/git.md>), [homelab](<https://devfeed.tech/tags/homelab.md>), [kubectl](<https://devfeed.tech/tags/kubectl.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [other](<https://devfeed.tech/tags/other.md>), [passwords](<https://devfeed.tech/tags/passwords.md>), [secrets](<https://devfeed.tech/tags/secrets.md>), [tokens](<https://devfeed.tech/tags/tokens.md>)

## AI overview

A tutorial on encrypting secrets before committing them to Git repositories using Mozilla SOPS and age. It covers supported file formats, key creation, encryption and decryption workflows, Kubernetes secrets, environment files, VS Code integration, and Flux-based GitOps workflows.

## Source excerpt

Committing secrets to your Git Repo can expose information like passwords, access tokens, and other types of sensitive information.Some might think that committing secrets to a private Git Repo is OK, but I am here to tell you it's not.If you're going to commit secrets to a git repo, private or public, you should encrypt them first using Mozilla SOPS (Secret Operations) and AGE.SOPS is an edito...