Repository navigation
feat!: replace v6 broker deployment with OIDC and no Parameter Store access - #40
Merged
Merged
Conversation
This was referenced Nov 3, 2026
Open
Open
Open
Prepare timeline-wall-api develop deployment with OIDC v2.0.5
topcoder-platform/timeline-wall-api#45
Draft
Open
This was referenced Nov 3, 2026
This was referenced Nov 3, 2026
This was referenced Nov 3, 2026
Draft
Draft
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The v1 deployment path exchanges a reusable Auth0 client secret for AWS credentials, disables TLS verification, sources decrypted SSM values and can continue after configuration failures. This replaces that release path with CircleCI OIDC v3 → AWS STS, reviewed non-secret manifests and explicit denial of deployment-time parameter/secret access.
The production audit confirmed the legacy
oidc-circleci-deployrole has broad SSM read/list grants and inline parameter/KMS grants. The Auth0 client ID identifies an allowed client; these AWS IAM policies supply its permissions. The exact broker HTTP endpoint remains the unavailable runtime value ofCI_AUTH0_URL; the verified Auth0 issuer is not proof of that URL. Seedocs/AUTHENTICATION.md.Breaking v2 migration: do not replace a v1 tag in an old pipeline. Legacy credential-export, SSM/build-file and unrelated infrastructure/secret-provisioning entry points fail closed. Keep v1 tags immutable and release a new major version only after dev acceptance.
The consumer PR index lists 46 open draft PRs covering 48 of 58 inventoried production ECS services, including inactive-service deployment containment. All 41 OIDC consumers pin reviewed code commit
bbc9b3d0c702947d26b6d9686d7b29104ebe461a; later commits in this PR document the rollout. Ten services had no mapped shared-script release path in accessible configuration. Inventory in sixteen other enabled regions was denied, so those regions are not claimed empty.Validation: 61 offline regression tests pass locally and inside the digest-pinned executor; shell/diff checks pass. All consumer CircleCI configs validate. IAM Access Analyzer and CloudFormation read-only validation pass for the reviewed permission policies/templates. The index records service-specific tests and image builds, including Forms migrations, AV CloudFormation/ClamAV, Status/Payload adapters, Kafka readiness, nginx and freeCodeCamp. Mocked tests and metadata validation do not prove a real deployment.
No live AWS/IAM/CircleCI configuration, ECR image or service was changed, and no PR was merged. Exact dev manifests await a refreshed dev inventory; six private CircleCI project UUIDs remain required. Install scoped IAM/provider/contexts, runtime bindings, ECR/health prerequisites and complete a real dev rollout/rollback before merging consumer drafts. ECS's execution role retains narrowly scoped runtime secret retrieval; CI must not fetch those values. Custom release and frontend/Lambda separation prerequisites are called out in each PR and the index.