This repository was archived by the owner on Apr 7, 2026. It is now read-only.
add launchpad token action to get tokens - #91
Merged
Conversation
jamesfwood
approved these changes
Oct 1, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new reusable GitHub Action for retrieving Launchpad tokens via AWS Lambda and integrates it into the
umm_t_syncworkflow. The workflow now dynamically fetches tokens for both OPS and UAT environments instead of relying on static secrets. The most important changes are:New GitHub Action for Token Retrieval:
.github/workflows/launchpad-token/action.yml, which defines a composite action to obtain a Launchpad token by invoking an AWS Lambda function. This action configures AWS credentials, calls the Lambda, processes the response, and outputs the token securely.Integration into Workflow:
.github/workflows/umm_t_sync.ymlto use the newlaunchpad-tokenaction for both OPS and UAT environments, replacing the use of static secrets with dynamic token retrieval.Environment Variable Updates:
Run cmr_association_diff commandstep to use the dynamically retrieved tokens from the previous steps, increasing security and flexibility.Token Usage in Commands:
cmr_association_diffcommand invocations to use the new environment variables for tokens instead of referencing the old secrets directly.