Data Source: aws_iam_user_ssh_key

Use this data source to get information about a SSH public key associated with the specified IAM user.

Example Usage

data "aws_iam_user_ssh_key" "example" {
  encoding          = "SSH"
  ssh_public_key_id = "APKARUZ32GUTKIGARLXE"
  username          = "test-user"
}

Argument Reference

Attribute Reference

This data source exports the following attributes in addition to the arguments above: