Skip to content

Publish labkey.aws.ssm.enabled for explicit SSM opt-in - #1468

Open
labkey-jeckels wants to merge 1 commit into
release26.7-SNAPSHOTfrom
26.7_fb_ssmOptIn
Open

Publish labkey.aws.ssm.enabled for explicit SSM opt-in#1468
labkey-jeckels wants to merge 1 commit into
release26.7-SNAPSHOTfrom
26.7_fb_ssmOptIn

Conversation

@labkey-jeckels

@labkey-jeckels labkey-jeckels commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Rationale

A customer reported ERROR-level SSM logging on an on-premise server that never intended to use AWS SSM, because SsmSecretProvider treated any resolvable AWS credentials as a signal to activate. See the linked premiumModules PR for the full symptom.

This post-processor already computes the right answer — hasExplicitConfig — and returns before touching the AWS SDK on-premise. It just never told the module. Publishing that decision lets CloudServices stop inferring intent from whatever credentials happen to resolve.

No configuration change is needed in cloud deployments: the flag is published automatically whenever context.awsParameterStore.prefix or context.awsParameterStore.secretsPrefix is set, which cloud already does.

Related Pull Requests

  • LabKey/premiumModules#688

Changes

  • Publish labkey.aws.ssm.enabled=true alongside the region and secrets prefix

The post-processor already decides whether the operator opted into AWS config, but never told the CloudServices module, which re-derived intent from whatever AWS credentials happened to resolve. Publishing that decision alongside the region and secrets prefix lets SsmSecretProvider gate on it instead.

Cloud deployments are unaffected: the flag is published whenever context.awsParameterStore.prefix or context.awsParameterStore.secretsPrefix is configured.
@labkey-jeckels labkey-jeckels self-assigned this Aug 11, 2026
@labkey-jeckels labkey-jeckels added this to the 26.07 milestone Aug 11, 2026
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.

1 participant