Skip to content

feat(profiles): generalize per-resource auth overrides (#178) - #186

Merged
rafaself merged 1 commit into
mainfrom
feat/178-per-resource-profile-auth
Jun 24, 2026
Merged

feat(profiles): generalize per-resource auth overrides (#178)#186
rafaself merged 1 commit into
mainfrom
feat/178-per-resource-profile-auth

Conversation

@rafaself

Copy link
Copy Markdown
Owner

Summary

  • Add optional auth?: ProfileAuthConfig to all application profile resource blocks (ecs, rds, ssm, ecr, s3, ses, sns, eventbridge, budget) with shared validation rules.
  • Wire application-ops section builders to resolve credentials per resource block (resource auth -> profile auth -> default).
  • Add resolveSectionCredentials helper and update docs/examples for cross-account SNS and resolution order.

Closes #178

Test plan

  • pnpm run typecheck
  • pnpm test
  • pnpm run test:integrity
  • Validation tests for SNS/ECS resource auth, invalid user ARN, externalId acceptance
  • Access tests for resolveSectionCredentials and block override precedence
  • Application-ops section tests for per-block credential resolution and SES behavior preservation

Made with Cursor

Allow optional assume-role auth on every application profile resource block,
wire application-ops sections to resolve credentials per block, and document
the resource -> profile -> default resolution order.

Co-authored-by: Cursor <cursoragent@cursor.com>
@rafaself
rafaself merged commit 36e3bfb into main Jun 24, 2026
2 checks passed
@rafaself
rafaself deleted the feat/178-per-resource-profile-auth branch June 24, 2026 01:12
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.

Generalize per-resource profile auth overrides across application resource blocks

1 participant