Creating an IAM user in your AWS account (part 2)
To read part 1, please click here
Creating IAM Users (AWS CLI)
In order to do that:
- Firstly, create a user (aws iam create-user).
- Now, give the user access to the AWS Management Console along with the URL of your account's sign-in page and password (aws iam create-login-profile). (optional)
- Provide the user with programmatic access with access keys (aws iam create-access-key). (optional)
- Now, you can add the user to one or more groups with attached policies to grant appropriate permissions for the user (aws iam add-user-to-group).
- If you want, you can also attach a policy to the user that specify the user's permissions (aws iam attach-user-policy).
- Custom attributes can also be added to the user by attaching tags. (optional)
- User permissions can be given in order to manage their own security credentials. (optional)
Creating IAM Users (AWS API)
We follow the steps give below:
- Create a user. (CreateUser)
- Now, give the user access to the AWS Management Console along with the URL of your account's sign-in page and password (CreateLoginProfile). (optional)
- Provide the user with programmatic access with access keys (CreateAccessKey). (optional)
- Now, you can add the user to one or more groups with attached policies to grant appropriate permissions for the user (AddUserToGroup).
- If you want, you can also attach a policy to the user that specify the user's permissions (AttachUserPolicy).
- Custom attributes can also be added to the user by attaching tags. (optional)
- User permissions can be given in order to manage their own security credentials. (optional)
To read part 1, please click here
Comments
Post a Comment