@ -164,30 +164,18 @@ SOPS is used for encrypting secrets, e.g. credentials for various systems
## Install
## Install
### 1. Install Sops
1. **Install Sops**
1. https://github.com/getsops/sops
https://github.com/getsops/sops
- Note:
Note:
* MacOS: If desired, one can also use brew to install sops: `brew install sops`; although this is not officially maintained, [the formula is essentially the same as the official installation instructions](https://github.com/Homebrew/homebrew-core/blob/4496ce5131bc09e7065fa0aa8fb96366a3df6477/Formula/s/sops.rb)
* MacOS: If desired, one can also use brew to install sops: `brew install sops`; although this is not officially maintained, [the formula is essentially the same as the official installation instructions](https://github.com/Homebrew/homebrew-core/blob/4496ce5131bc09e7065fa0aa8fb96366a3df6477/Formula/s/sops.rb)
1. **Configure Sops**
### 2. Configure
* Add the following to your `~/.bashrc` or `~/.zshrc` - but _not_ to your `~/.profile` as it must be set per session:
Add the following to your `~/.bashrc` or `~/.zshrc` - but _not_ to your `~/.profile` as it must be set per session:
```shell
```shell
# Enable interactive passphrase prompt for SOPS
# Enable interactive passphrase prompt for SOPS
export GPG_TTY=$(tty)
export GPG_TTY=$(tty)
```
```
1. **Verify SOPS Installation and Key Configuration**
### 3. Verify
1. `./verify/usr_confirm_keycfg.sh`
Run the following command to verify local SOPS installation _and_ key configuration: