Home > Mobile >  CDK or CloudFormation resource for adding SSH key to IAM user?
CDK or CloudFormation resource for adding SSH key to IAM user?

Time:01-18

I'm unable to locate in the docs how to specify an IAM user's public SSH key in AWS CDK and can't seem to find the corresponding CloudFormation type either. Terraform has the following:

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_user_ssh_key

How do I specify the key in either CloudFormation or CDK?

CodePudding user response:

This is not supported. You would have to develop your own custom resource for that.

  •  Tags:  
  • Related