DevOps

CI/CD Pipeline Security

OIDC authentication, secrets management, SLSA provenance, minimal permissions, supply chain security

20 domande da colloquio·
Mid-Level
1

What is OIDC (OpenID Connect) in the context of CI/CD pipelines?

Risposta

OIDC is an authentication protocol that allows CI/CD pipelines to authenticate with cloud providers without using static secrets. Instead of storing long-lived credentials, the pipeline exchanges a signed JWT token for temporary credentials. This approach eliminates risks associated with storing and rotating secrets, while providing better traceability through token claims that precisely identify the workflow and repository.

2

What is the main advantage of External Secrets Operator in Kubernetes?

Risposta

External Secrets Operator automatically synchronizes secrets from external managers (Vault, AWS Secrets Manager, Azure Key Vault) into native Kubernetes Secrets. This approach centralizes secret management in a dedicated system while allowing applications to consume secrets in a standard way. It also facilitates automatic secret rotation and avoids storing sensitive credentials directly in Kubernetes manifests or Git repositories.

3

What does the principle of least privilege mean in the context of CI/CD pipelines?

Risposta

The principle of least privilege consists of granting pipelines only the permissions strictly necessary to accomplish their tasks. For example, a build pipeline should only have read rights on source code, while a deployment pipeline would only access resources in the target environment. This approach limits damage in case of pipeline compromise and reduces the overall attack surface of the infrastructure.

4

What is an SBOM (Software Bill of Materials)?

5

Why use HashiCorp Vault rather than environment variables to store secrets?

+17 domande da colloquio

Padroneggia DevOps per il tuo prossimo colloquio

Accedi a tutte le domande, flashcards, test tecnici, esercizi di code review e simulatori di colloquio.

Inizia gratis