Use the Jenkins Credentials API as described in the [credentials-plugin documentation](https://github.com/jenkinsci/credentials-plugin/blob/master/docs/consumer.adoc).
Use the Jenkins Credentials API as described in the credentials-plugin documentation.