11.2.4.3.1 Examples

cicdw jenkins-server create --credentials httpuser::theuser::secret123

or

cicdw jenkins-server create --credentials usr_pwd::httpuser::theuser::secret123

will create a username/password credential with the username theuser and the password secret123 as the credential id httpuser.

cicdw jenkins-server create --credentials sshkey::sshuser::theuser::path/to/.ssh/key

will create a ssh credential with the username theuser and the keyfile key from the folder path/to/.ssh/ as the credential id sshuser.

cicdw jenkins-server create --credentials sshkey::sshuser::theuser::keyfilepwd::path/to/.ssh/key

will be the same as the previous example, but will now use the passphrase keyfilepwd to unlock the keyfile.