File tree Expand file tree Collapse file tree 4 files changed +3
-5
lines changed Expand file tree Collapse file tree 4 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ inventory:
2929 # Token configuration can be read from environment variables like so:
3030 token : " ${HASHICORP_VAULT_TOKEN}"
3131 fetch_all_versions : true
32- path : " secret/"
3332 mode : " read/write" # Can be `read`, `write` or `read/write` depending on wether fetch and/or sync are enabled
3433 gitlabci :
3534 type : gitlabci
@@ -133,7 +132,6 @@ inventory:
133132 # Token configuration can be read from environment variables like so:
134133 token : " ${`${HASHICORP_VAULT_TOKEN}`}"
135134 fetch_all_versions : true
136- path : " secret/"
137135 mode : " read/write" # Can be `read`, `write` or `read/write` depending on wether fetch and/or sync are enabled
138136 gitlabci :
139137 type : gitlabci
Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ Edit the `secret.yaml` file to match your environment:
7777Edit the ` values.yaml ` file:
7878
7979- ` vault_address ` : Your Vault server URL
80- - ` path ` : The Vault path to collect secrets from
8180- ` gitguardian.endpoint ` : Your GitGuardian instance URL
8281- ` auth.k8s.service_account ` : (Optional) Custom service account name
8382- ` auth.k8s.namespace ` : (Optional) Kubernetes namespace for the service account
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ inventory:
1212 role : " ${VAULT_K8S_ROLE}"
1313 mount : " kubernetes" # This is the default; if the authentication path has changed, this must be updated
1414 fetch_all_versions : true # Fetch all versions of secrets or not
15- path : " secret/dev" # Vault path or unspecified
1615 mode : " read/write" # Can be `read`, `write` or `read/write` depending on wether fetch and/or sync are enabled
1716 # To upload, set the gitguardian URL and tokens. Ensure the endpoint path ends with /v1
1817 # This is optional: omit this to prevent uploading and to only test collection.
Original file line number Diff line number Diff line change @@ -10,8 +10,10 @@ inventory:
1010 auth :
1111 auth_mode : " token"
1212 token : " ${HASHICORP_VAULT_TOKEN}"
13+ include : # To filter the secrets to fetch, you can use the `include` field.
14+ - resource_ids :
15+ - " secret/dev/*" # `secret` is the secret engine name, `dev/*` is the path within the engine
1316 fetch_all_versions : true # Fetch all versions of secrets or not
14- path : " secret/dev" # Vault path or unspecified
1517 mode : " read/write" # Can be `read`, `write` or `read/write` depending on wether fetch and/or sync are enabled
1618 # To upload, set the gitguardian URL and tokens. Ensure the endpoint path ends with /v1
1719 # This is optional: omit this to prevent uploading and to only test collection.
You can’t perform that action at this time.
0 commit comments