Ephemeral GitHub Tokens via HashiCorp Vault
UPDATE: The plugin described in this fieldnote was recently demoed at HashiCorp’s Hashitalks 2021.
GitHub I have found that performing automation against GitHub APIs often necessitates the creation of OAuth Tokens (nb. GitHub refers to these as Personal Access Tokens or PATs). These tokens are tied to a user account, have very coarsely-scoped permissions and do not expire.
The more automation-savvy users in an organisation will likely have created many such tokens with powerful permissions which are being neither rotated nor deleted.
Martin Baillie