Skip to content

Commit

Permalink
added recursive decrypt info to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
test committed Sep 16, 2022
1 parent 954a40a commit 7c97e64
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,23 @@ go install github.com/uw-labs/[email protected]
directory structure until it finds the file. This allows using different
keys for different subdirectories within a repository.

5. If strongbox keyring file is stored on different location `-keyring` can be used.
ie `strongbox [-keyring <keyring_file_path>] -gen-key key-name`

6. Following commands can be used to manually decrypt file without gitOps
```
# decrypt using default keyring file `$HOME/.strongbox_keyring`
strongbox -decrypt -recursive <path>
# decrypt using `keyring_file_path`
strongbox -keyring <keyring_file_path> -decrypt -recursive <path>
# decrypt using private key `<key>`
strongbox -key <key> -decrypt -recursive <path>
# decrypt single file with given key
strongbox -decrypt -key <key>
```
## Existing project

Strongbox uses [clean and smudge
Expand Down

0 comments on commit 7c97e64

Please sign in to comment.