r/devops • u/Elegant-Rhubarb8628 • Jul 06 '26
Security Help with Devsecops pipeline setup
I am a pentester. My manager had given me a task for cicd integration with checkmarx. I can understand the basic stuff but I am unable to come up with material for the following:
1. How do manage secrets in the pipeline (someone suggested me aws kms)
2. How to run authenticated scans (apps using okta) using pipeline
3. Capturing traffic to run the scans on them.
I would appreciate if someone can help me in this scenario as my job depends on it.
0
Upvotes
View all comments
Show parent comment
3
u/burlyginger Jul 06 '26
Disagree with using repo secrets as they're a massive pain operationally.
You can't add a description or any metadata, nor can you read them with any privilege. They're write-only and that becomes problematic quickly.
There's no part of an OIDC connection that should be secret.
Use secrets from your primary cloud provider.
Use an OIDC connection to auth to a cloud provider using the appropriate action.
Use an action to pull the secret(s) you need.
Every major cloud provider provides both of these action types for use.