5
0
Fork 0
mirror of https://github.com/hashicorp/vault-action.git synced 2025-11-14 18:13:45 +00:00

fix: add contents: read permission

This commit is contained in:
Alex Kulikovskikh 2021-09-27 15:58:45 -04:00 committed by GitHub
parent eb516ccb40
commit 2bffb94655
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,12 +99,13 @@ with:
jwtTtl: 3600 # 1 hour, default value jwtTtl: 3600 # 1 hour, default value
``` ```
**Notice:** In order for Github provided JWT to work workflow should have `id-token: write` specified in the `permissions` section of a workflow **Notice:** In order for Github provided JWT to work workflow should have `id-token: write` & `contents: read` specified in the `permissions` section of a workflow
```yaml ```yaml
... ...
permissions: permissions:
id-token: write id-token: write
contents: read
... ...
``` ```