01
Credential separation
Publishable keys are limited to public attribution operations. Secret keys belong in trusted server code. Human operator sessions and background workers use separate authorization paths.
Test and live credentials are environment-bound so sandbox activity cannot silently become production activity.