Open nergdron opened 3 weeks ago
Thanks for the issue! We use https://gocloud.dev for this functionality under the covers. We're currently on v0.37.0, but the latest version is v0.40.0. It's possible upgrading to the latest version would enable this, but we'd have to look into it. Note that it looks like there are some breaking changes after v0.37.0, so we'll have to evaluate those and any impact before upgrading.
What happened?
There's various key formats that AWS lists as usable for
key_usage=ENCRYPT_DECRYPT
, including asymmetric RSA keys, such askey_spec=RSA_4096
. however, when trying to use a key like this with theawskms
encryption provider, it fails with an error that indicates it only works with the basicSYMMETRIC_DEFAULT
key type.Example
Output of
pulumi about
Additional context
seems like this is a problem with asymmetric key types, and that other projects have upgraded their go cloud libraries to support this KMS usage.
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).