added env variable

This commit is contained in:
ston1th 2023-03-21 01:18:48 +01:00
commit 1d5d900f26
2 changed files with 20 additions and 7 deletions

View file

@ -32,6 +32,19 @@ export KEYCTL_ENDPOINT=http://127.0.0.1:7070
./keyctl get -id aabbccddeeff...
```
Get secret of type `shamir` with share via environment variable:
```
export KEYCTL_SHARE=aabbccddeeff...
./keyctl get -id aabbccddeeff...
```
Get secret of type `shamir` with share via commandline flag:
```
./keyctl get -id aabbccddeeff... -share aabbccddeeff...
```
## Usage
```