Azure Credentials Ext

Jenkins plugin to add support for loading typed credentials from Azure Keyvault.

It supports storing at rest the following Jenkins credential types:

  1. UsernamePassword
  2. SSHPrivateKey
  3. PersonalAccessToken

The credentials must be created in Azure Keyvault externally. The plugin assumes the Secrets contain yaml, representing the various fields for the credential. Further information can be found when using the credential types provided by the plugin.

Using SecretUsernamePasswordCredentials in the job (pipeline)

This credential is compatible with the existing bindings provided by the Credentials Binding Plugin

withCredentials([usernamePassword(credentialsId: 'keyvault_credentials_id', usernameVariable: 'username', passwordVariable: 'password')]) {
    // your code goes here
}

Using SecretSSHUserPrivateKeyCredentials in the job (pipeline)

This credential is compatible with the existing bindings provided by the Credentials Binding Plugin

withCredentials([sshUserPrivateKey(credentialsId: 'keyvault_credentials_id', usernameVariable: 'username', keyFileVariable: 'keyfile')]) {
    // your code goes here
}

Reporting bugs and feature requests

We use Jenkins JIRA to record all bugs and feature requests. Please follow beblow steps to create your own issues.

  1. Search in Jira to see if the issue was existed already.
  2. Create a new issue with the component azure-credentials-ext-plugin .

You can refer to Jira doc for detailed instructions about creating an issue.