Test Keeper Secrets integration with Github Actions #11
This file contains 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
name: Test Keeper Secrets integration with Github Actions | |
on: | |
workflow_dispatch: | |
jobs: | |
buildexecutable: | |
runs-on: ubuntu-22.04 | |
name: Build with Keeper secrets | |
steps: | |
- name: Retrieve secrets from Keeper | |
id: ksecrets | |
uses: Keeper-Security/ksm-action@master | |
with: | |
keeper-secret-config: ${{ secrets.KEEPER_SM_GH_OPENCB }} | |
secrets: | | |
K93UNCEqng1wWOnXjh7H1Q/field/'Secret Value' > env:KEEPERTOKEN | |
- name: Print Login & Password & URL | |
run: | | |
echo "Login is ${{ env.KEEPERTOKEN }}" |