mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 22:11:36 -05:00
Adds SessionCredential.ecsTaskArn and IamService.registerEcsTaskRoleSession/ sweepOrphanedEcsTaskRoleSessions, mirroring the EC2 instance-session pattern (registerEc2InstanceSession/sweepOrphanedEc2InstanceSessions): a task-role session lives in the same session store as any other temporary credential, tagged by the exact task ARN it was minted for, and none of it survives a Floci restart since no ECS task does either. Nothing calls these yet. First piece of ECS task-role credential vending, split out on its own since the rest (the credential issuer, its endpoint, and how tasks reach it) is substantial enough to review in separate pieces.