AWS Credential Daemon: seal a secret, get it back, nothing in plaintext on disk
What the POC script runs. On macOS the released daemon keeps its key in the data protection keychain instead, as an installed service.
One throwaway folder on a Linux host or container no AWS account, no install
data directory, files mode 600
Presenter
quickstart.py
GitHub release
credsd 0.3.0
SHA-256 checked
creds
client, holds no key
credsd serve
run by hand, your own user
Unix socket
Daemon log
who asked, which program
Master key
file backend: a key file
(not hardware-backed here)
static_secret.enc
ciphertext only
1
2
3
4
5
6
1
2
3
4
5
6
LINES
Seal and get
Key use
Audit log
Download
FLOW
The script downloads the credsd 0.3.0 Linux archive and checks its SHA-256.
It makes up an access key pair and pipes it to creds bootstrap ... static-secret.
creds sends it over a Unix socket; the daemon knows the caller from the kernel.
The daemon encrypts under its master key. The demo uses the file backend.
Only ciphertext is written. creds get returns the secret; a file search finds none.
Each seal and each fetch is logged with the uid and the calling program.