Skip to content

AST-171789 Fix AWS secret export prefix mismatch in release workflow - #500

Merged
cx-lior-poterman merged 1 commit into
mainfrom
ast-171789-fix-secret-manager-alias
Sep 24, 2026
Merged

cx-lior-poterman merged 1 commit into
mainfrom
ast-171789-fix-secret-manager-alias

Conversation

@cx-lior-poterman

Copy link
Copy Markdown
Contributor

The Maven release job's GPG signing step was failing because the signing key and related credentials resolved to empty at the point they're used.

The AWS secrets-manager fetch step exports each key prefixed with a sanitized version of the secret's name, but the workflow's later steps read the plain, unprefixed names. Adding a blank alias to the fetch step's secret list makes it export the keys unprefixed, matching what the rest of the workflow already expects.

The GPG signing step in the Maven release job resolves its key and
credentials to empty because the AWS secrets-manager fetch step exports
each secret key prefixed with a sanitized version of the secret name,
while downstream steps read the plain, unprefixed env var names.

Adding a leading blank alias to the secret-ids list makes the action
export the keys unprefixed, matching what the rest of the workflow
already expects.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@cx-lior-poterman
cx-lior-poterman requested a review from a team September 24, 2026 07:20

@cx-sumit-morchhale cx-sumit-morchhale left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aprroved

@cx-lior-poterman
cx-lior-poterman merged commit a6c0cbe into main Sep 24, 2026
6 checks passed
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.

3 participants