mirror of
https://github.com/hashicorp/vault-action.git
synced 2025-11-10 00:26:55 +00:00
feat(namespace): handle request on vault namespace
This commit is contained in:
parent
93db1c2570
commit
4cdec9bb9e
1 changed files with 19 additions and 0 deletions
19
README.md
19
README.md
|
|
@ -73,6 +73,25 @@ with:
|
||||||
ci/aws secretKey | AWS_SECRET_ACCESS_KEY
|
ci/aws secretKey | AWS_SECRET_ACCESS_KEY
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Namespace
|
||||||
|
|
||||||
|
This action could be use with namespace Vault Enterprise feature. You can specify namespace in request :
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
steps:
|
||||||
|
# ...
|
||||||
|
- name: Import Secrets
|
||||||
|
uses: RichiCoder1/vault-action
|
||||||
|
with:
|
||||||
|
url: https://vault-enterprise.mycompany.com:8200
|
||||||
|
token: ${{ secrets.VaultToken }}
|
||||||
|
namespace: ns1
|
||||||
|
secrets: |
|
||||||
|
ci/aws accessKey | AWS_ACCESS_KEY_ID ;
|
||||||
|
ci/aws secretKey | AWS_SECRET_ACCESS_KEY ;
|
||||||
|
ci npm_token
|
||||||
|
```
|
||||||
|
|
||||||
## Masking
|
## Masking
|
||||||
|
|
||||||
This action uses Github Action's built in masking, so all variables will automatically be masked if printed to the console or to logs.
|
This action uses Github Action's built in masking, so all variables will automatically be masked if printed to the console or to logs.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue