I’m using HashiCorp Vault 2.0.1 Community Edition with the GitHub authentication method against GitHub Enterprise Cloud.
The official documentation mentions classic personal access tokens (PATs) with the read:org scope, but does not explicitly describe support for fine-grained PATs.
I tested authentication using a fine-grained PAT with Organization permissions → Members and authentication works successfully. This appears to provide the permissions required by Vault.
However, I would like to clarify:
-
Is authentication using fine-grained PATs officially supported, or does it merely happen to work with the current implementation?
-
Is this a safe and sustainable configuration for production use, or could future Vault or GitHub API changes break it?
-
Is there any plan to explicitly document fine-grained PAT support and the required permissions?
I’d prefer using fine-grained PATs over classic PATs, but I want to make sure this is a supported and reliable approach.
Thanks in advance for any clarification!
