Chapter 11
Security and governance
Use the least data, access, and retention the bot needs to do its job.
| Area | Practice |
|---|---|
| Secrets | Keep credentials in API connections. Never put tokens, passwords, cookies, or private keys in messages, variables, scripts, URLs, or step headers. |
| Access | Give 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. |
| Data | Collect as little personal data as possible, choose transcript storage and retention deliberately, and keep sensitive values out of traces and release notes. |
| Change control | Use validation, versioned releases, and the audit log. Have a second person review high-risk changes. |