Tạo Access Key

Tạo Access key

  1. Truy cập vào AWS Management Console

    • Tìm IAM
    • Chọn IAM

ROSA

  1. Trong giao diện IAM

    • Chọn Users
    • Chọn Add user

ROSA

  1. Trong giao diện Add user

    • Username, nhập ROSA
    • Chọn Access key - Programmatic access
    • Chọn Password - AWS Management Console access
    • Chọn Custom password sau đó nhập password bạn muốn.
    • Bỏ chọn Require password reset
    • Chọn Next:Permissions

ROSA

  1. Tron giao diện Add user

    • Chọn Attach existing policies directly
    • Chọn AdministratorAccess
    • Chọn Next:Tags

ROSA

  1. Thêm tag và chọn Next:Review

ROSA

  1. Kiểm tra lại và chọn Create user

ROSA

  1. Tạo user thành công.
  • Download file csv và lưu trữ thông tin user.

ROSA

  1. Truy cập vào link sau để cài đặt AWS CLI theo hướng dẫn chính thức của AWS: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html

  2. Nếu bạn chưa lưu thông tin user thì cũng có thể tạo access key trong IAM ccount để đăng nhập AWS thông qua CLI

    • Truy cập vào IAM account thông qua menu bên phải → Security Credentials
    • Tạo access key trong mục Access keys for CLI, SDK, & API access
    • Cấu hình AWS CLI với credential đã được tạo
aws configure

ROSA