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

Refresh Windows Domainless gMSA plugin credentials #3703

Merged

Conversation

arun-annamalai
Copy link
Contributor

@arun-annamalai arun-annamalai commented May 17, 2023

Summary

The domainless gMSA plugin requires taskExecutionRole IAM credentials to access customer resources. These credentials are populated once at the beginning of task start, but they need to be updated each time the credentials are vended down to the agent.

Implementation details

This change is primarily implemented in the refresh handler. Everytime an execution role gets vended down, the refresh handler should populate the Windows registry key where the plugin credentials are stored.

Testing

This change was unit tested

I have also let a task run for 2 days and then checked out the instance logs and I do see that the credentials are being set correctly after a refresh from ACS (have logs I can send)

New tests cover the changes:
yes

Description for the changelog

Refresh Windows Domainless gMSA plugin credentials

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@arun-annamalai arun-annamalai marked this pull request as ready for review May 17, 2023 23:38
@arun-annamalai arun-annamalai requested a review from a team as a code owner May 17, 2023 23:38
mythri-garaga
mythri-garaga previously approved these changes May 18, 2023
@arun-annamalai arun-annamalai force-pushed the refresh3 branch 2 times, most recently from ca83200 to 6147190 Compare May 18, 2023 22:27
@arun-annamalai arun-annamalai force-pushed the refresh3 branch 2 times, most recently from bd9f9c6 to 501b3e1 Compare May 19, 2023 00:21
@arun-annamalai arun-annamalai merged commit 4600042 into aws:feature/ecs-domainless-gmsa May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants