Interview Prep/CI/CD/Jenkins in Production

How do you manage credentials for multiple teams on one Jenkins?

AdvancedProductionJenkins in Production
Answer

Use one folder per team with folder-scoped credentials, and Role-Based Authorization so each team administers only its folder. Keep global credentials limited to system use. Better still, use an external secret provider (HashiCorp Vault plugin, AWS Secrets Manager credentials provider) so credentials are fetched just in time and never stored in credentials.xml. Rotate regularly and audit which jobs use which credential (Credentials Binding with fingerprinting). Review pipelines that echo or archive environment variables.

All CI/CD questions

More on Jenkins in Production