logo

Using VSCode to edit SOPS yaml

Long time no post – just a quick one on how to use VSCODE with editing YAML

Problem

If you’re reading this, you already know what SOPS is and is frustrated in editing YAML via traditional VIM or command line editor. This is extremely frustrating if you’ll be adding alot of YAML values.

Solution

In your command line, expose the following environment variables


export $EDITOR="code --wait"

And proceed with your SOPS cli.

Enjoy and hope that helps!

  1. Dakota4353 Reply
  2. Leona3634 Reply
  3. Owen2099 Reply
  4. Dallas4732 Reply
  5. Alanna2593 Reply

Leave a Reply

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.