You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update user creation flow to IAM console v2 (#5078)
* update user creation flow with IAM console v2 flow
* include previous flow at bottom
* address PR comments and other minor formatting
* adjust code block
* update cli version range
* update version numbers
@@ -23,11 +21,86 @@ import all0 from "/src/fragments/cli-install-block.mdx";
23
21
24
22
To set up the Amplify CLI on your local machine, you have to configure it to connect to your AWS account.
25
23
24
+
> If you already have an AWS profile with credentials on your machine, you can skip this step.
25
+
26
+
> If you are using CLI version < 10.8.0 go to [Configure CLI < 10.8.0](#configure-the-amplify-cli-version--1080)
27
+
28
+
Configure Amplify by running the following command:
29
+
30
+
```bash
31
+
amplify configure
32
+
```
33
+
34
+
`amplify configure` will ask you to sign into the AWS Console.
35
+
36
+
Once you're signed in, Amplify CLI will ask you to create an IAM user.
37
+
38
+
> Amazon IAM (Identity and Access Management) enables you to manage users and user permissions in AWS. You can learn more about Amazon IAM [here](https://aws.amazon.com/iam/).
On the next page, select **Command Line Interface**, acknowledge the warning, and select **Next**.
73
+
74
+

75
+
76
+
On the next page select **Create access key**. You’ll then see a page with the access keys for the user. Use the copy icon to copy these values to your clipboard, then return to the Amplify CLI.
`amplify configure` will ask you to sign into the AWS Console.
41
114
42
115
Once you're signed in, Amplify CLI will ask you to create an IAM user.
116
+
43
117
> Amazon IAM (Identity and Access Management) enables you to manage users and user permissions in AWS. You can learn more about Amazon IAM [here](https://aws.amazon.com/iam/).
44
118
45
119
```console
@@ -65,7 +139,6 @@ This would update/create the AWS Profile in your local machine
65
139
66
140
Successfully set up the new user.
67
141
```
68
-
69
142
<Callout>
70
143
71
144
It is recommended to create a new IAM user for every device that installs the Amplify CLI, rather than attempt to use an existing IAM user used on another device. Having a distinct user for each machine provides the best level of visibility and control without breaking the deployment of your app, allowing for the quick deactivation of an individual machine if needed.
@@ -74,4 +147,4 @@ It is recommended to create a new IAM user for every device that installs the Am
74
147
75
148
### Work within your frontend project
76
149
77
-
After you install the CLI, navigate to a JavaScript, iOS, or Android project root, initialize AWS Amplify in the new directory by running `amplify init`. After a few configuration questions, you can use amplify help at any time to see the overall command structure. When you’re ready to add a feature, run `amplify add <category>`.
150
+
After you install the CLI, navigate to a JavaScript, iOS, or Android project root, initialize AWS Amplify in the new directory by running `amplify init`. After a few configuration questions, you can use amplify help at any time to see the overall command structure. When you’re ready to add a feature, run `amplify add <category>`.
0 commit comments