-
New Feature
-
Resolution: Duplicate
-
Major
-
None
Since regular credentials expire and service accounts take up Bitbucket license seats, it would be ideal if this plugin better supported generic SSH access keys, or at the very least accepted a personal access token for the "Credentials (for build auth)" field.
SSH access keys work in the "Optional SSH Credentials" field today if you leave the "Credentials (for build auth)" field empty and copy/paste your project and repo names in, but of course you lose the autocomplete functionality.
- duplicates
-
JENKINS-65466 Permit valid job configurations with SSH credentials only
-
- Open
-
Hi Stephen, thanks for your comment.
I'm thinking about this ticket in two parts- permit SSH access keys to be used instead of username password credentials, and permitting token credentials to be used instead of username password credentials.
The former issue has been reported under JENKINS-65466, so you can follow that ticket for more information.
For token credentials, our SCM wraps the git plugin, which does not have support for our custom credential type so this is unlikely to be done. You can use personal access tokens for cloning however- create a new username-password credential in Jenkins, using the username of the account as the username, and the access token as the password. This allows you to use a personal access token without (hopefully) requiring a service account.
I will mark this as a dupe, but hopefully that gives you an option in the meantime.