I was wondering if it's possible to add the feature to allow skipping lookup from KMS if I exclude the kms_key_id?
So, I'm hoping to have something like this, that means I can mix a signing key, with root-certs using the same mechanism. e.g. when using rauc:
rauc bundle --keyring='pkcs11:token=dev-root-ca' --intermediate='pkcs11:token=dev-int-ca'--cert='pkcs11:token=dev-leaf' --key='pkcs11:token=dev-leaf' input_dir/ my_bundle.raucb
So the config.json would look like this:
{
"slots": [
{
"label": "dev-root-ca",
"certificate": "<mycert>"
},
{
"label": "dev-int-ca",
"certificate": "<mycert>"
},
{
"label": "dev-leaf",
"kms_key_id": "1234",
"aws_region": "us-west-1",
"certificate": "<signing_cert_base64>"
}
]
}