# Security and data handling

## Credential security

AWS role details, ticketing credentials, and SAML metadata are encrypted in
AWS Secrets Manager. CloudBananaPepper does not display plaintext secrets, store them
in the database, or write them to logs.

- Authentication uses Amazon Cognito with OAuth authorization code flow and PKCE.
- AWS access uses assumed IAM roles; CloudBananaPepper does not need customer access keys.
- Tenant credentials and integration secrets are referenced through AWS Secrets Manager.
- API access is tenant-scoped and validated with Cognito JWT claims and scopes.
- Audit activity is retained in durable, tenant-aware storage.
- Runbook exports require reauthentication and explicit legal acceptance.

## Customer responsibilities

Keep IAM trust policies, SSO configuration, administrator access, and ticketing
secrets under change control. Review invited users and integration endpoints
regularly. Report unexpected access, data exposure, or suspicious activity to
your CloudBananaPepper support contact.
