Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Add your GitHub PAT as a secret in Key Vault

Now that your Key Vault got created, you will need to add the GitHub PAT token to it. You can use the below guidance for doing so.

Step by step guidance

  1. Add your GitHub PAT token as a secret in Key Vault.

    GIT_PAT=<your PAT>
    az keyvault secret set \
        --name GIT-PAT \
        --value $GIT_PAT \
        --vault-name $KEYVAULT_NAME