Creates IAM user, IAM login profile and IAM access keys. All of these are optional resources.
Creates IAM user, IAM login profile, IAM access key and uploads IAM SSH user public key. All of these are optional resources.
## Notes for keybase users
## Notes for keybase users
...
@@ -33,9 +33,9 @@ This module outputs commands and PGP messages which can be decrypted either usin
...
@@ -33,9 +33,9 @@ This module outputs commands and PGP messages which can be decrypted either usin
| password_reset_required | Whether the user should be forced to reset the generated password on first login. | string | `true` | no |
| password_reset_required | Whether the user should be forced to reset the generated password on first login. | string | `true` | no |
| path | Desired path for the IAM user | string | `/` | no |
| path | Desired path for the IAM user | string | `/` | no |
| pgp_key | Either a base-64 encoded PGP public key, or a keybase username in the form keybase:username. Used to encrypt password and access key. | string | `` | no |
| pgp_key | Either a base-64 encoded PGP public key, or a keybase username in the form keybase:username. Used to encrypt password and access key. | string | `` | no |
| ssh_key_encoding | Which encoding format the uploaded SSH key is in. `SSH` for ssh-rsa or `PEM` for pem. | string | `SSH` | no |
| ssh_key_encoding | Specifies the public key encoding format to use in the response. To retrieve the public key in ssh-rsa format, use SSH. To retrieve the public key in PEM format, use PEM | string | `SSH` | no |
| ssh_public_key | Public key that is to be attached to this IAM account | string | - | no |
| ssh_public_key | The SSH public key. The public key must be encoded in ssh-rsa format or PEM format | string | `` | no |
| upload_ssh_key | Whether to upload and manage users public SSH key. | string | `false` | no |
| upload_iam_user_ssh_key | Whether to upload a public ssh key to the IAM user | string | `false` | no |
## Outputs
## Outputs
...
@@ -51,11 +51,12 @@ This module outputs commands and PGP messages which can be decrypted either usin
...
@@ -51,11 +51,12 @@ This module outputs commands and PGP messages which can be decrypted either usin
| this_iam_access_key_key_fingerprint | The fingerprint of the PGP key used to encrypt the secret |
| this_iam_access_key_key_fingerprint | The fingerprint of the PGP key used to encrypt the secret |
| this_iam_access_key_ses_smtp_password | The secret access key converted into an SES SMTP password |
| this_iam_access_key_ses_smtp_password | The secret access key converted into an SES SMTP password |
| this_iam_access_key_status | Active or Inactive. Keys are initially active, but can be made inactive by other means. |
| this_iam_access_key_status | Active or Inactive. Keys are initially active, but can be made inactive by other means. |
| this_iam_ssh_public_key_id | The AWS ID for the public key |
| this_iam_user_arn | The ARN assigned by AWS for this user |
| this_iam_user_arn | The ARN assigned by AWS for this user |
| this_iam_user_login_profile_encrypted_password | The encrypted password, base64 encoded |
| this_iam_user_login_profile_encrypted_password | The encrypted password, base64 encoded |
| this_iam_user_login_profile_key_fingerprint | The fingerprint of the PGP key used to encrypt the password |
| this_iam_user_login_profile_key_fingerprint | The fingerprint of the PGP key used to encrypt the password |
| this_iam_user_name | The user's name |
| this_iam_user_name | The user's name |
| this_iam_user_ssh_key_fingerprint | The MD5 message digest of the SSH public key |
| this_iam_user_ssh_key_ssh_public_key_id | The unique identifier for the SSH public key |
| this_iam_user_unique_id | The unique ID assigned by AWS |
| this_iam_user_unique_id | The unique ID assigned by AWS |
description="Whether to upload a public ssh key to the IAM user"
description="Whether to upload a public ssh key to the IAM user"
default=false
default=false
}
}
variable"ssh_key_encoding"{
variable"ssh_key_encoding"{
description="Specifies the public key encoding format to use in the response. To retrieve the public key in ssh-rsa format, use SSH. To retrieve the public key in PEM format, use PEM"
description="Specifies the public key encoding format to use in the response. To retrieve the public key in ssh-rsa format, use SSH. To retrieve the public key in PEM format, use PEM"
default="SSH"
default="SSH"
}
}
variable"ssh_public_key"{
variable"ssh_public_key"{
description="Public SSH key"
description="The SSH public key. The public key must be encoded in ssh-rsa format or PEM format"