aws / aws/amazon-ssm-agent

SSM RunAs feature request

Open
#495 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
1.2k
Forks
357
PR merge metrics
No merged PRs in 30d

Description

Hello folks,

A feature should be added to SSM RunAs support.
RunAs enabled, but ssm-user will still be created by the service when you start a session.

Currently:
if you enable it, any user must be created locally.
if you not, when you start a session the service will create the ssm-user with sudo access.

I'm requesting this because if we have RunAs support enabled and new instances are launched the ssm-user should be created locally first or disable the RunAs and start a session in order to allow the service to create ssm-user.

If you have any other advice, please share.

Thank you!

Contributor guide

Open the contributing guide

Research direction

Start by tracing the SSM RunAs and session-start handling for ssm-user creation; the issue does not name files, tests, or entry points. Compare the enabled and disabled RunAs flows across newly launched instances, then define the expected behavior for local user creation and sudo access before identifying tests for both paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
operating-systems, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.