For any error coming from the Rust SDK, the error messages are truncated to borderline uselessness:
$ tuftool root add-key 99.root.json -k aws-kms://my-key-account/alias/foo -r root
Unable to parse keypair: Failed to get public key for aws-kms://my-key-account/alias/foo : service error
Unable to parse keypair: Failed to get public key for aws-kms://my-key-account/alias/foo : failed to construct request
The first one is a permissions error and I think the second one is a malformed ~/.aws/config, but this is pretty challenging to debug.
Using .into_service_error() on the SDK error should give a more useful message.
For any error coming from the Rust SDK, the error messages are truncated to borderline uselessness:
The first one is a permissions error and I think the second one is a malformed
~/.aws/config
, but this is pretty challenging to debug.Using
.into_service_error()
on the SDK error should give a more useful message.