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

remove ecs run from docs #960

Merged
merged 1 commit into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion docs/remote-ssh.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ and/or any IAM Credentials stored in the ECS Server if you have not [enabled SSL
1. In a Docker container: `aws-sso ecs docker start`
1. Or you can use a [screen](https://www.hostinger.com/tutorials/how-to-install-and-use-linux-screen)
or [tmux](https://hamvocke.com/blog/a-quick-and-easy-guide-to-tmux/) session:
`aws-sso ecs run`
`aws-sso server`
1. Load your selected IAM credentials into the ECS Server:<br>
`aws-sso ecs load --profile=<profile name>`
1. SSH to the remote system using the [-R flag to forward tcp/4144](https://man.openbsd.org/ssh#R):<br>
Expand Down
10 changes: 5 additions & 5 deletions docs/security.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ security threat model.

### ECS Server Mode Concerns

By default, running in ECS Server Mode (`aws-sso ecs run`) an HTTP API will be
By default, running in ECS Server Mode (`aws-sso ecs server`) an HTTP API will be
started on a TCP port bound to localhost. By default, loading and retrieving
IAM Role credentials from this server will happen in the clear without
any encryption or authentication For this reason, it is not recommended
to be used in this way on multi-tenant user systems or other untrusted environments.

Running the [ECS Server in docker](ecs-server.md#running-the-ecs-server-in-the-background)
will briefly expose your HTTP Authentication bearer token and SSL private key
in clear text in `~/.aws-sso/mnt/`. If you are running it on a system where the
`root` user is not trusted, this may not be acceptable. In such cases, it
is recommended to run `aws-sso ecs run` in a screen or tmux session.
(`aws-sso ecs docker start`) will briefly expose your HTTP Authentication bearer token and
SSL private key in clear text in `~/.aws-sso/mnt/`. If you are running it on a system
where the `root` user is not trusted, this may not be acceptable. In such cases, it
is recommended to run `aws-sso ecs server` in a screen or tmux session.