Created
December 16, 2021 11:49
-
-
Save gitrgoliveira/71c25b448222a58a37778734f538fa0a to your computer and use it in GitHub Desktop.
GitHub Actions snippet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jobs: | |
build: | |
permissions: | |
contents: read | |
id-token: write | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Import Secrets | |
uses: hashicorp/[email protected] | |
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