This commit is contained in:
ston1th 2023-03-21 01:00:13 +01:00
commit 05a68df896
15 changed files with 158 additions and 135 deletions

View file

@ -1 +1,41 @@
# KeyCtl - deliver secret keys with manual confirmation
## Server
```
./keyctl server
```
## Client
### Admin Access
Admin access is only allowed via the Unix Domain Socket connection.
```
export KEYCTL_ENDPOINT=unix:///var/keyctl/keyctl.sock
```
```
./keyctl ls
```
### Get Secret
The API to retrieve a secret can be called from any source IP.
```
export KEYCTL_ENDPOINT=http://127.0.0.1:7070
```
```
./keyctl get -id aabbccddeeff...
```
## Usage
```
./keyctl --help
./keyctl server --help
```