5
0
Fork 0
mirror of https://github.com/hashicorp/vault-action.git synced 2025-11-10 08:36:55 +00:00

docs(readme): update readme

This commit is contained in:
Antoine Meausoone 2020-01-06 21:57:59 +01:00
parent 2ae5b6c884
commit 57fbb9d420

View file

@ -14,7 +14,6 @@ jobs:
uses: RichiCoder1/vault-action
with:
url: https://vault.mycompany.com:8200
method: token
token: ${{ secrets.VaultToken }}
secrets: |
ci/aws accessKey | AWS_ACCESS_KEY_ID ;
@ -26,8 +25,22 @@ jobs:
## Authentication method
The `method` parameter can have these value :
- **token**: you must provide a token parameter
- **token**: (by default) you must provide a token parameter
```yaml
...
with:
url: https://vault.mycompany.com:8200
token: ${{ secrets.VaultToken }}
```
- **approle**: you must provide a roleId & secretId parameter
```yaml
...
with:
url: https://vault.mycompany.com:8200
method: approle
roleId: ${{ secrets.roleId }}
secretId : ${{ secrets.secretId }}
```
## Key Syntax