bcc-code/Sign GitHub App token with Azure

Sign GitHub App token with private key stored in Azure KeyVault

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Jan 5, 2025
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: bcc-code/az-keyvault-sign-token@2728e625145afe5d15e8c4d8238603b4dfef7779 # v1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
gh-app-client-idThe Client ID of the GitHub App to sign the token foryes
gh-installation-idThe installation ID of the GitHub Appno""
gh-orgThe org to fetch the installation ID fromno""
token-durationThe duration in seconds for which the token will be validno300
key-vault-nameThe name of the Azure Key Vault resource that holds the GitHub App private keyyes
key-nameThe name of the key in the Azure Key Vault resource that holds the GitHub App private keyyes
namedescription
gh_tokenThe resulting GitHub token, signed with the key stored in Azure Key Vault