All Projects → signageos → vscode-sops

signageos / vscode-sops

Licence: other
Just a simple integration of SOPS by Mozilla into VSCode IDE. It contains some advanced features over the original project which makes sense for IDE.

Programming Languages

typescript
32286 projects
shell
77523 projects

Projects that are alternatives of or similar to vscode-sops

Shortcut-Menu-Bar-VSCode-Extension
Add handy buttons like beautify, show opened files, save, toggle terminal, etc to the editor menu bar in VSCode. You can also create your own buttons with custom commands. VSCode Marketplace link: https://marketplace.visualstudio.com/items?itemName=jerrygoyal.shortcut-menu-bar
Stars: ✭ 126 (+404%)
Mutual labels:  vscode-extension
vscode-px-to-rem
Extension that allows you to convert from px to rem, and vice versa
Stars: ✭ 36 (+44%)
Mutual labels:  vscode-extension
vscode-jump
🏃‍♂️ Jump/Select to the Start/End of a word in VSCode
Stars: ✭ 67 (+168%)
Mutual labels:  vscode-extension
vscode-fzf-quick-open
vscode extension providing quick file/folder open and searching using fzf
Stars: ✭ 42 (+68%)
Mutual labels:  vscode-extension
SmartContractTrading-wFabric1-4-VSCodeExt
Learn now to create a smart contract with VSCode
Stars: ✭ 27 (+8%)
Mutual labels:  vscode-extension
vscode-magento-wizard
Helps develop Magento 2 extensions using VSCode
Stars: ✭ 22 (-12%)
Mutual labels:  vscode-extension
markdown-live
📝 Real-time Markdown Editor & Previewer for VS Code
Stars: ✭ 18 (-28%)
Mutual labels:  vscode-extension
firecode
VS Code Firestore Rules Extension
Stars: ✭ 35 (+40%)
Mutual labels:  vscode-extension
ProtheusDoc-VsCode
Repositório para implementação dinâmica do ProtheusDoc do TDS para VsCode
Stars: ✭ 19 (-24%)
Mutual labels:  vscode-extension
vscode-php-sniffer
Visual Studio Code extension for PHP_Codesniffer validation and formatting.
Stars: ✭ 41 (+64%)
Mutual labels:  vscode-extension
graphql-codegen-vscode
vscode extension which runs graphql-codegen whenever you save a query/mutation
Stars: ✭ 41 (+64%)
Mutual labels:  vscode-extension
todo-txt
Todo.txt syntax highlighter and helper extension for visual studio code.
Stars: ✭ 39 (+56%)
Mutual labels:  vscode-extension
vscode-material-product-icons
Product Icon Theme with Material Icons for VS Code
Stars: ✭ 19 (-24%)
Mutual labels:  vscode-extension
vscode-explicit-folding
Customize your Folding for Visual Studio Code
Stars: ✭ 46 (+84%)
Mutual labels:  vscode-extension
vscode-mermaid-editor
Live editor and image creator for mermaid.js in Visual Studio Code
Stars: ✭ 23 (-8%)
Mutual labels:  vscode-extension
vscode-gleam
📟 Gleam support for VS Code
Stars: ✭ 34 (+36%)
Mutual labels:  vscode-extension
componizer
vs code extension for refactoring to components
Stars: ✭ 31 (+24%)
Mutual labels:  vscode-extension
snippets
VSCode extension which lets you manage your code snippets without quitting your editor.
Stars: ✭ 55 (+120%)
Mutual labels:  vscode-extension
vscode-phpserver
Visual Studio Code extension to quickly serve your PHP projects :)
Stars: ✭ 62 (+148%)
Mutual labels:  vscode-extension
swdc-vscode-100-days-of-code
A VS Code extension that helps you reach your goals in completing the 100 Days of Code challenge
Stars: ✭ 45 (+80%)
Mutual labels:  vscode-extension

VSCode SOPS extension

Info

The homepage of VSCode extension is located on https://github.com/signageos/vscode-sops

Extension for VSCode is available on market place https://marketplace.visualstudio.com/items?itemName=signageos.signageos-vscode-sops Additionally, it's available on Open VSX market place https://open-vsx.org/extension/signageos/signageos-vscode-sops

Features

VSCode extension with underlying SOPS supports:

  • Realtime editing of encrypted yaml, json and ini files in-place in your project.
  • Create new encrypted yaml/json file using .sops.yaml config creation_rules if available.

Requirements

Make sure that sops is available in $PATH environment variable

Extension Settings

  • sops.enable: enable/disable this extension (default: true)
  • sops.beta: enable/disable beta release without reloading VSCode or enabling/disabling extensions (default: false)
  • sops.binPath: Path to SOPS binary (default: executables from $PATH)
  • sops.configPath: Path (absolute or relative) to the configuration for this extension (empty: defaults to .sopsrc in root of project) See Config file section.
  • sops.defaults.awsProfile: Default AWS profile name which will be used for sops command --aws-profile (empty: defaults to environment variable $AWS_PROFILE)
  • sops.defaults.gcpCredentialsPath: Default path used to find GCP credentials. Overrides the $GOOGLE_APPLICATION_CREDENTIALS environment variable (empty: defaults to environment variable $GOOGLE_APPLICATION_CREDENTIALS)
  • sops.creationEnabled: enable/disable this extension to try encrypt files included in .sops.yaml path_regex when is not encrypted yet (default: false)

Config file

Named .sopsrc in project root by default and is in YAML format.

awsProfile: my-profile-1
gcpCredentialsPath: /home/user/Downloads/my-key.json

Beta releases

The new features are published immediately into different extension package https://marketplace.visualstudio.com/items?itemName=signageos.signageos-vscode-sops-beta

The beta extension package is installed automatically and is disabled by default.

If you'd like to try new features, just enable configuration "sops.beta": true in global (or workspace) config file and changes are applied immediately.

You can switch beta configuration globally easily using commands sops.enable_beta/sops.disable_beta.

I recommend to have enabled beta release to test everything as soon as possible. If something went wrong in beta release, just easily rollback to "sops.beta" false and report an issue here: https://github.com/signageos/vscode-sops/issues

The reason is that vscode doesn't support beta releases built-in. See and vote for https://github.com/microsoft/vscode/issues/15756

SOPS differ

Optionally, you can add following file .gitattributes into your project

encrypted/*.{yaml,json,ini,env} diff=sopsdiffer

and run following command for global git settings

git config --global diff.sopsdiffer.textconv "sops -d --config /dev/null"

to see the git diff in decrypted format.

Known Issues

See https://github.com/signageos/vscode-sops/issues

Release Notes

See https://github.com/signageos/vscode-sops/blob/master/CHANGELOG.md file.


Enjoy!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].