Skip to content

Commit

Permalink
issue #172: test
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasCardin committed Dec 6, 2024
1 parent 727f632 commit 7a90184
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/workflow-detect-secret-leaks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,14 @@ jobs:
# https://github.com/hashicorp/vault-action?tab=readme-ov-file#multiple-secrets
# https://github.com/hashicorp/vault-action?tab=readme-ov-file#example-usage
- name: Authenticate with Vault using GitHub OIDC and retrieve secrets
uses: hashicorp/vault-action@v2.4.0
uses: hashicorp/vault-action@v3.0.0
with:
url: https://vault.vault.svc.cluster.local:8200
method: github
tlsSkipVerify: true
githubToken: ${{ secrets.VAULT_TOKEN }}
secrets: |
kv/data/fertiscan/backend `AZURE_OPENAI_KEY` | API_KEY_ ;
kv/data/fertiscan/backend * | HGHACTIONKEY_;
- name: Install git-secrets
run: |
Expand All @@ -44,7 +43,7 @@ jobs:
- name: Add API keys to git-secrets
run: |
for var in $(compgen -e API_KEY_); do
for var in $(compgen -e HGHACTIONKEY_); do
git secrets --add --literal "${!var}"
done
Expand Down

0 comments on commit 7a90184

Please sign in to comment.