Skip to content

Commit f7ae210

Browse files
Update IAM_SSM_Setup.md
Important note about configuring CLI
1 parent 85a0313 commit f7ae210

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

IAM_SSM_Setup.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ REGION=...
2525

2626
Note that if you connect to AWS from your local CLI as an IAM user, you will need to assume a `USER_ROLE_ARN` when connecting to SageMaker.
2727

28+
> **NOTE:** Using environment variables to set up access keys and assume roles on the local machine is not recommeneded
29+
> unless you know what you are doing. **Consider [configuring AWS CLI through AWS config file](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-role.html#cli-role-overview)**.
30+
2831
Roughly speaking, the SageMaker role is the role assumed by a cloud compute resource and the user role is the role assumed by you on your local laptop.
2932

3033
b. Execute the following commands (you can copy-paste them as a whole script):

0 commit comments

Comments
 (0)