Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v8] Modify verbiage on AWS CLI #10106

Merged
merged 1 commit into from
Feb 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions docs/pages/application-access/guides/aws-console.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ This guide will explain how to:
- Setup example AWS IAM Read Only and Power User roles.
- Use Teleport's role-based access control with AWS IAM roles.
- View Teleport users' AWS console activity in CloudTrail.
- AWS command line tool [Installing the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html)
- Access the AWS Command Line Interface (CLI) through Teleport.

## Prerequisites

- Teleport with Application Access. Follow [Getting Started](../getting-started.mdx)
or [Connecting Apps](./connecting-apps.mdx) guides to get it running.
- IAM permissions in the AWS account you want to connect.
- AWS EC2 or other instance where you can assign a IAM Security Role for the Teleport Agent.
- `aws` command line interface (CLI) tool in PATH. [Installing or updating the latest version of the AWS CLI
](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html)

<Admonition type="note">
If using the Teleport agent deployed in AWS EKS, you cannot use Helm chart
Expand Down Expand Up @@ -258,7 +260,9 @@ username which you can search for to get the events history:

## Step 8. Using AWS CLI

First, log into the previously configured AWS console app:
Before beginning this step, make sure that the `aws` command line interface (CLI) tool is installed in PATH. For more information, read [Installing or updating the latest version of the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html).

First, log into the previously configured AWS console app on your desktop:

```code
$ tsh app login --aws-role ExamplePowerUser awsconsole-test
Expand All @@ -276,10 +280,6 @@ Now you can use the `tsh aws` command like the native `aws` command-line tool:
$ tsh aws s3 ls
```

<Admonition type="note" title="Note">
The `aws` command-line tool should be available in PATH.
</Admonition>

To log out of the aws application and remove credentials:

```code
Expand Down