Skip to interview prep
Apexed

48. How would you restrict a build system's short-lived production credentials to the intended release workflow?

HardIdentity & access

Technical
Show model answer

Bind credential issuance to verified workflow identity and the approved repository, revision or environment conditions supported by the platform. A token's short lifetime does not prevent an unintended job from using it while valid.

Keep deployment permissions narrow and separate untrusted contribution jobs from privileged release contexts. Review allowed and denied paths with fictional tests, and retain evidence connecting a consequential deployment to its approved source and workflow.

What interviewers listen for

  • Bind credentials to approved workflow context
  • Separate untrusted and privileged jobs
  • Audit source-to-deployment authority
How would you restrict a build system's short-lived production credentials to the intended release workflow — Cybersecurity interview question — Apexed