From 4cdec9bb9ea38223d21e650994281f8aae5bdbe5 Mon Sep 17 00:00:00 2001 From: Antoine Meausoone Date: Tue, 19 Nov 2019 14:27:43 +0100 Subject: [PATCH] feat(namespace): handle request on vault namespace --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index f17d567..8d3e5fe 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,25 @@ with: 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 This action uses Github Action's built in masking, so all variables will automatically be masked if printed to the console or to logs.