Skip to content

Bump eslint from 8.48.0 to 8.49.0 (#80) #28

Bump eslint from 8.48.0 to 8.49.0 (#80)

Bump eslint from 8.48.0 to 8.49.0 (#80) #28

name: 'Static Secrets'
# Docs => https://docs.akeyless.io/docs/create-secret
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'src/**/*'
- 'package.json'
- 'package-lock.json'
- '.github/workflows/static-secrets.yml'
jobs:
static_secret:
runs-on: ubuntu-latest
name: Fetch static secrets
permissions:
id-token: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Fetch static secret from AKeyless
id: fetch-secrets
uses: ./
with:
access-id: ${{ secrets.AKEYLESS_ACCESS_ID }}
static-secrets: '{"/DevTools/my-static-secret":"my_static_secret"}'
- name: Verify Job Outputs
run: echo "Your output secret is ${{ steps.fetch-secrets.outputs.my_static_secret }}"
- name: Verify Environment Variables
run: echo "Your environment secret is ${{ env.my_static_secret }}"