Add --insecure flag to caib CLI for testing with self-signed certificates#84
Conversation
Signed-off-by: Bella Khizgiyaev <bkhizgiy@redhat.com>
Signed-off-by: Bella Khizgiyaev <bkhizgiy@redhat.com>
📝 WalkthroughWalkthroughThis pull request introduces insecure TLS verification support across the CAIB CLI tooling. It adds a new Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 🧹 Recent nitpick comments
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Adds global --insecure flag to skip TLS certificate verification when connecting to Build API servers with self-signed or untrusted certificates.
Usage:
Via command-line flag
caib list --server https://build-api.local --insecureVia environment variable
Combined with login
caib login https://build-api.local --insecureSummary by CodeRabbit
Release Notes
--insecurecommand-line flag to disable TLS certificate verificationCAIB_INSECUREenvironment variable as an alternative to the flag