/sops-intellij-plugin

Plugin for Intellij Idea IDE to use sops for encrypting and decrypting files

Primary LanguageJavaMIT LicenseMIT

sops-intellij-plugin

IntelliJ IDEA Java Licence

About

The simple plugin for Intellij Idea IDE for files encryption using sops.

The plugin requires sops to be installed in system so it can use the following commands:

to encrypt file

sops -e -i ./file.yaml

to decrypt file

sops -d -i ./file.yaml

Installation

  • Using IDE built-in plugin system:

    Settings/Preferences > Plugins > Marketplace > Search for "Sops Support" > Install Plugin

  • Manually:

    Clone this repo, invoke the buildPlugin Gradle task to create the plugin distribution. The resulting ZIP file is located in build/distributions and can then be installed via drag & drop (or using plugin manager):

    Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...

Compatibility

The plugin was tested with: Ubuntu 22.04, IntelliJ IDEA 2022.2