tedsmitt / ecsgo

Provides an interactive prompt to connect to ECS Containers using the ECS ExecuteCommand API.
Apache License 2.0
81 stars 13 forks source link

Support KMS encrypted sessions #12

Closed tedsmitt closed 2 years ago

tedsmitt commented 2 years ago

As per https://github.com/tedsmitt/ecsgo/pull/11:

ecsgo doesn't appear to support KMS encrypted sessions, so I changed the command to use aws cli instead.


✗ ecsgo
? Select a task:
Cluster: redacted | Service: api | Task: 12345308b064a4a911c205c63e0bbbf
Connecting to container redactedi
Starting session with SessionId: ecs-execute-command-12345

SessionId: ecs-execute-command-12345 :
----------ERROR-------
Encountered error while initiating handshake. Fetching data key failed: Unable to retrieve data key, Error when decrypting data key InvalidCiphertextException:```
tedsmitt commented 2 years ago

0.3.0 Fixes this. Closing issue