Skip to content

security: secret rotation procedure #43

Description

@jonmatum

Priority: P1
Parent: #34
Promotes: SEC-7 from #28

Context

No documented rotation procedure for any long-lived credential. Cognito app client secret, MCP client credential, and any third-party webhook secrets are set-and-forget.

Requirements

Inventory

  • docs/ops/secrets.md lists every secret, its owner, its storage (Secrets Manager / SSM / env), and its current rotation cadence

Procedures

  • Cognito app client secret rotation (dual-secret window, frontend deploy, old-secret revoke)
  • MCP client credential rotation (see MCP Gateway setup)
  • Any external webhook / API token rotation
  • Terraform state bucket KMS key rotation (AWS-managed already, but document)

Automation (nice-to-have, not blocking)

  • Secrets Manager automatic rotation Lambda for rotatable secrets

Acceptance criteria

  • secrets.md published
  • At least one real rotation executed end-to-end and recorded (with wall-clock impact on users)

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions