Skip to content

Vault Github App Credential #366

Description

@bn-jbischko

What feature do you want to see added?

A new credential type: Vault Github App Credential similar to Vault Github Token Creditential and GitHub App Credential.

The GitHub plugin has a "Github App" credential type, that is used in github Jenkins orgranization folders and jobs. It has these fields (see image):

  • ID
  • Description
  • App ID
  • Key
  • Repository access strategy -> Owner Repositories Default permissions strategy
  • GitHub organization to test against

...of which only Key is a secret.

Seeing the Vault Plugin already has a Vault Github Token Credentials, I'd like to see a Vault Github App Credential that can be used in GitHub organizations and jobs. It would store the private key in Vault and otherwise behave like GitHup App Credential.


A few screenshots, so it's clearer what I mean

GitHub App Credential (already implemented - no Vault support)

Image

Vault GitHub App Credential (already implemented - has Vault support)

Image

Organization Folder using a GitHub App Credential

Image

Creating a GitHub Organization Folder

Image Image

Upstream changes

None I'd know of.

Are you interested in contributing this feature?

I don't know Java or the Jenkins Plugin development, so no, it would be prohibitively expensive to me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions