Chapters

Chapter 11

Security and governance

Use the least data, access, and retention the bot needs to do its job.

AreaPractice
SecretsKeep credentials in API connections. Never put tokens, passwords, cookies, or private keys in messages, variables, scripts, URLs, or step headers.
AccessGive each person only the roles their job needs, and combine roles rather than granting Administrator. Keep Administrator to a small group. Review roles and department assignments regularly.
DataCollect as little personal data as possible, choose transcript storage and retention deliberately, and keep sensitive values out of traces and release notes.
Change controlUse validation, versioned releases, and the audit log. Have a second person review high-risk changes.