Aws_iam_access_key with KMS

Hello,

Right now in order to create a login for an aws user we have to use this resource


We, have to provide a pgp key. I don’t wish to create a key locally using gpg or to use to use an external service like keybase.
I have created an AWS KMS, this is a service in AWS or managing keys. I have made an asymetric key (pub/secret key) and I want to use it for encrypting and decrypting.
Is there any way to make it work on aws_iam_access_key resource ? It doesn’t seem to like the pub key when I pass it .

Same thing goes for https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_user_login_profile