如何在 AWS 上 5 分钟内设置您的第一个 IAM 用户

发布: (2025年12月26日 GMT+8 07:12)
2 min read
原文: Dev.to

Source: Dev.to

Introduction

身份与访问管理(IAM)让你可以为自己和团队成员创建独立的用户,并仅授予他们实际需要的权限。

Steps to Create an IAM User

  1. Log in to the AWS Management Console

    • 打开浏览器并访问 .
    • 输入你的登录信息。
  2. Open the IAM service

    • 在控制台顶部的搜索栏中输入 IAM,然后按 Enter
    • 或者通过 Services → Security, Identity & Compliance → IAM 进行导航。
  3. Create a new user

    • 在左侧导航栏中点击 Users
    • 点击 Create user 按钮。
    • 为新用户输入一个名称。
  4. Configure console access

    • 勾选 Provide user access to the AWS Management Console
    • 选择 I want to create an IAM user
    • 选择 Custom password 并输入符合密码要求的密码。
    • 注意: 如果有人或摄像头在附近,避免点击 Show password 以防止肩窥。
    • 保持 Users must create a new password at next sign‑in – Recommended 选中状态。
  5. Attach permissions

    • 勾选 Attach policies directly
    • 选择你想分配的策略,或根据需要创建自定义策略。
    • 点击 Next
  6. Review and create

    • 核实用户名、访问类型和权限边界。
    • 点击 Create user
  7. Download credentials

    • 创建完成后,你会看到用户名、密码以及登录 URL。
    • 点击 Download CSV 保存新用户的凭证。
    • 点击 Close

Conclusion

恭喜!按照这些步骤,你已经成功创建了一个新的 IAM 用户账户。

Back to Blog

相关文章

阅读更多 »

第16天:创建 IAM 用户

封面图片(第 16 天)创建 IAM 用户 https://media2.dev.to/dynamic/image/width=1000,height=420,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads...