Skip to contents

get_github_token: Gets a token from Vault utilizing your github login credentials.

Usage

get_github_token(url, github_token)

Arguments

url

url of the HashiCorp Vault instance.

github_token

personal authentication token or PAT from your github repo.

Value

Return's the user token that allows an individual to query secrets in Vault.

Details

This function obtains the token for the github user from Vault. The user can then utilize the token retrieved to query secrets from Vault. You will need the url of the HashiCorp Vault you are using and your PAT from github. You should have already created an organization in github to utilize this login path in Vault.

Examples


if (FALSE)  vault_git_token<-  get_github_token(url='vault.url',github_token='12345abcdef')