| 1 |
# Local KMS |
| 2 |
|
| 3 |
This module is an example implementation of a KMS plugin. |
| 4 |
See [cliplugin](../../../pkg/signature/kms/cliplugin/). |
| 5 |
|
| 6 |
The Key Ref is a path to a RSA private key on your system. Don't do this in your own real implementation! |
| 7 |
The for the sigstore library to invoke the plugin program, the binary must be on your system's PATH. |
| 8 |
|
| 9 |
```shell |
| 10 |
mkdir -p ../bin |
| 11 |
go build -o ../bin/sigstore-kms-localkms |
| 12 |
|
| 13 |
cosign [sub command] [options] --key localkms://[path to private key] |
| 14 |
``` |