Our great sponsors
-
vault-plugin-secrets-jenkins
A plugin for Hashicorp Vault to create ephemeral users and API tokens for Jenkins CI
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Next up, I was looking into the the gojenkins client library to see if there were some built-in methods to allow me to do my own API token management and rotation to solve the issue above. And of course, it didn't exist. It was at this point I sat back and thought, "Really? No one has yet to implement a decent solution for managing Jenkins tokens/users yet? This is the most widely used CI server out there. Surely it has to exist..."
First detailed guidance/examples, you'll want to checkout the project README here, but while I have you, I'll show you some examples.