Answers for "auth for github in vault hashicorp"

0

auth for github in vault hashicorp

#Enbale the github authentication method

vault auth enable github

#Write the config
vault write auth/github/config organization=hashicorp

#Read the config
vault read auth/github/config

#Provide specific team access int he github
#Configure the GitHub engineering team authentication to be granted the default and applications policies
vault write auth/github/map/teams/engineering value=default,applications

#login using the github method
vault login -method=github

#Revoke all tokens generated the github auth method.
vault token revoke -mode path auth/github
Posted by: Guest on October-25-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language