# CI/CDパイプラインのセキュリティ (DevOps) > OIDC認証、シークレット管理、SLSAプロベナンス、最小権限、サプライチェーンセキュリティ - 20 面接問題 - Mid-Level - [面接問題: DevOps](https://sharpskill.dev/ja/technologies/devops/interview-questions.md) ## 1. CI/CDパイプラインの文脈におけるOIDC (OpenID Connect)とは何ですか? **回答** OIDCは、静的なシークレットを使わずにCI/CDパイプラインがクラウドプロバイダーに対して認証できるようにする認証プロトコルです。長期的な認証情報を保存する代わりに、パイプラインは署名されたJWTトークンを一時的な認証情報と交換します。このアプローチにより、シークレットの保存とローテーションに関連するリスクが排除され、ワークフローとリポジトリを正確に識別するトークンのクレームによって優れたトレーサビリティが提供されます。 ## 2. KubernetesにおけるExternal Secrets Operatorの主な利点は何ですか? **回答** External Secrets Operatorは、外部マネージャー(Vault、AWS Secrets Manager、Azure Key Vault)からネイティブのKubernetes Secretsへとシークレットを自動的に同期します。このアプローチにより、専用システムでシークレット管理を一元化しつつ、アプリケーションは標準的な方法でシークレットを利用できます。また、シークレットの自動ローテーションを容易にし、機密性の高い認証情報をKubernetesマニフェストやGitリポジトリに直接保存することを回避できます。 ## 3. CI/CDパイプラインの文脈における最小権限の原則(least privilege)とは何を意味しますか? **回答** 最小権限の原則とは、パイプラインにそのタスクを実行するために厳密に必要な権限のみを付与することです。例えば、ビルドパイプラインはソースコードに対する読み取り権限のみを持つべきであり、デプロイパイプラインはターゲット環境のリソースにのみアクセスできるようにします。このアプローチは、パイプラインが侵害された場合の被害を限定し、インフラストラクチャ全体の攻撃対象領域を縮小します。 ## さらに17問利用可能 - SBOM (Software Bill of Materials)とは何ですか? - シークレットを保存するために環境変数ではなくHashiCorp Vaultを使用する理由は何ですか? 無料で登録: https://sharpskill.dev/ja/login ## その他のDevOps面接トピック - [バージョン管理 & Git](https://sharpskill.dev/ja/technologies/devops/interview-questions/version-control-git.md): 20問, Junior - [Linuxの基礎](https://sharpskill.dev/ja/technologies/devops/interview-questions/linux-fundamentals.md): 22問, Junior - [Shell Scripting & Bash](https://sharpskill.dev/ja/technologies/devops/interview-questions/shell-scripting-bash.md): 20問, Mid-Level - [ネットワークの基礎](https://sharpskill.dev/ja/technologies/devops/interview-questions/networking-basics.md): 22問, Junior - [Docker の基礎](https://sharpskill.dev/ja/technologies/devops/interview-questions/docker-fundamentals.md): 24問, Junior - [CI/CDの基礎](https://sharpskill.dev/ja/technologies/devops/interview-questions/ci-cd-fundamentals.md): 18問, Junior - [GitHub Actions](https://sharpskill.dev/ja/technologies/devops/interview-questions/github-actions.md): 22問, Mid-Level - [GitLab CI/CD](https://sharpskill.dev/ja/technologies/devops/interview-questions/gitlab-ci.md): 22問, Mid-Level - [Jenkins](https://sharpskill.dev/ja/technologies/devops/interview-questions/jenkins.md): 22問, Mid-Level - [Kubernetesの基礎](https://sharpskill.dev/ja/technologies/devops/interview-questions/kubernetes-basics.md): 26問, Mid-Level - [Kubernetesネットワーキング](https://sharpskill.dev/ja/technologies/devops/interview-questions/kubernetes-networking.md): 24問, Mid-Level - [Kubernetes 上級](https://sharpskill.dev/ja/technologies/devops/interview-questions/kubernetes-advanced.md): 24問, Mid-Level - [Ingress & API Gateway](https://sharpskill.dev/ja/technologies/devops/interview-questions/ingress-api-gateway.md): 20問, Mid-Level - [Terraformの基礎](https://sharpskill.dev/ja/technologies/devops/interview-questions/terraform-basics.md): 22問, Mid-Level - [Terraform 上級](https://sharpskill.dev/ja/technologies/devops/interview-questions/terraform-advanced.md): 22問, Mid-Level - [Ansible & Configuration Management](https://sharpskill.dev/ja/technologies/devops/interview-questions/ansible-configuration.md): 20問, Mid-Level - [AWS の基礎](https://sharpskill.dev/ja/technologies/devops/interview-questions/aws-essentials.md): 26問, Mid-Level - [Azure の基礎](https://sharpskill.dev/ja/technologies/devops/interview-questions/azure-fundamentals.md): 22問, Mid-Level - [GCPの基礎](https://sharpskill.dev/ja/technologies/devops/interview-questions/gcp-fundamentals.md): 22問, Mid-Level - [モニタリングとPrometheus](https://sharpskill.dev/ja/technologies/devops/interview-questions/monitoring-prometheus.md): 22問, Mid-Level - [Logging & ELK Stack](https://sharpskill.dev/ja/technologies/devops/interview-questions/logging-elk.md): 20問, Mid-Level - [アラートとインシデント対応](https://sharpskill.dev/ja/technologies/devops/interview-questions/alerting-incident-response.md): 20問, Mid-Level - [Cloud Identity & Secrets](https://sharpskill.dev/ja/technologies/devops/interview-questions/cloud-identity-secrets.md): 22問, Mid-Level - [Helm & Kubernetes](https://sharpskill.dev/ja/technologies/devops/interview-questions/helm-kubernetes.md): 20問, Mid-Level - [ランタイム & クラスタセキュリティ](https://sharpskill.dev/ja/technologies/devops/interview-questions/runtime-cluster-security.md): 24問, Senior - [Container Supply Chain Security](https://sharpskill.dev/ja/technologies/devops/interview-questions/container-supply-chain.md): 22問, Senior - [Service MeshとIstio](https://sharpskill.dev/ja/technologies/devops/interview-questions/service-mesh-istio.md): 24問, Senior - [GitOps & ArgoCD](https://sharpskill.dev/ja/technologies/devops/interview-questions/gitops-argocd.md): 22問, Senior - [Progressive Delivery](https://sharpskill.dev/ja/technologies/devops/interview-questions/progressive-delivery.md): 20問, Senior - [分散オブザーバビリティ](https://sharpskill.dev/ja/technologies/devops/interview-questions/observability-distributed.md): 22問, Senior - [Disaster Recovery & Backup](https://sharpskill.dev/ja/technologies/devops/interview-questions/disaster-recovery.md): 20問, Senior - [パフォーマンス最適化](https://sharpskill.dev/ja/technologies/devops/interview-questions/performance-optimization.md): 22問, Senior - [クラウドコスト最適化](https://sharpskill.dev/ja/technologies/devops/interview-questions/infrastructure-cost.md): 20問, Senior - [SRE の原則](https://sharpskill.dev/ja/technologies/devops/interview-questions/sre-principles.md): 24問, Senior - [Chaos Engineering](https://sharpskill.dev/ja/technologies/devops/interview-questions/chaos-engineering.md): 20問, Senior - [Platform Engineering](https://sharpskill.dev/ja/technologies/devops/interview-questions/platform-engineering.md): 22問, Senior --- Source: SharpSkill (https://sharpskill.dev), tech interview preparation for your real stack. HTML version of this page: https://sharpskill.dev/ja/technologies/devops/interview-questions/cicd-pipeline-security