InterviewBuddy
All interview questions

Why use OpenID Connect instead of long-lived cloud keys in CI?

Advanced

Answer

OIDC lets a trusted workflow exchange its identity token for short-lived cloud credentials under configured trust policies.

Explanation

Restrict trusted repositories, branches or environments, audience, and granted permissions.

Example

An approved production workflow assumes a limited deployment role for one job.