Skip to content

Instantly share code, notes, and snippets.

@gitrgoliveira
Created December 16, 2021 11:49
Show Gist options
  • Save gitrgoliveira/71c25b448222a58a37778734f538fa0a to your computer and use it in GitHub Desktop.
Save gitrgoliveira/71c25b448222a58a37778734f538fa0a to your computer and use it in GitHub Desktop.
GitHub Actions snippet
jobs:
build:
permissions:
contents: read
id-token: write
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: Import Secrets
uses: hashicorp/vault-action@v2.4.0
with:
url: https://vault-cluster-private-url.aws.hashicorp.cloud:8200
namespace: admin
method: jwt
role: demo
secrets: |
kv/data/ci app_secret | APP_SECRET
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment