Interview Prep/Jenkins/Credentials & security

You must enforce MFA for Jenkins access. How?

BeginnerScenarioCredentials & security
Answer

Situation read → Jenkins has no native MFA; delegate to the IdP.

What I'd do →

  1. Configure the OpenID Connect or SAML security realm against Okta/Entra/Keycloak with MFA policies.
  2. Disable local accounts except one break-glass admin stored in a vault.
  3. API tokens remain for automation, tied to service users with minimal permissions.

Why → SSO centralizes MFA, joiner/leaver processes and audit.

Interview tip → Mention the break-glass account and testing it.

All Jenkins questions Roadmap: Jenkins

More on Credentials & security