This extension adds support for running encrypt/decrypt commands within yaml files using hiera-eyaml. The hiera-eyaml gem is required to be installed.
Features
Encryption
Allows for encrypting the currently selected data using the public key specified in your settings.
Accessible via command palette or editor context menu as: Encrypt selection with eyaml
Output format can be specified via settings as Block or String format. If using Block format, you may also set the line length to use when creating the block.
Only a public key needs to be specified in the settings for encryption to work.
Decryption
Allows for decrypting the currently selected data using the public and private keys specified in your settings.
Accessible via command palette or editor context menu as: Decrypt selection with eyaml
Both a public and private key must be specified in the settings for decryption to work.
Requirements
Ruby and the hiera-eyaml gem are required to be installed. The hiera-eyaml gem can be installed using this command: gem install hiera-eyaml