Skip to content

AWS Params

Actions
Retrieves parameters from AWS Systems Manager Parameter Store
v0.1.1-alpha
LatestPre-release
Star (1)

AWS Params Action

A GitHub action which retrieves parameters from AWS Systems Manager Parameter Store. Fetched parameters are added as outputs of the action by their respective names

Inputs

names

Required The names of the parameters to fetch, comma separated

withDecryption

Required Decrypt secure string values

Example usage

on: [push]

permissions:
  id-token: write
  contents: read

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Configure AWS credentials from Test account
        uses: aws-actions/configure-aws-credentials@v1
        with:
          role-to-assume: arn:aws:iam::111111111111:role/my-github-actions-role-test
          aws-region: us-east-1

      - name: Fetch secrets from AWS SSM Parameter Store
        id: fetchSecrets
        uses: shaunegan/aws-params-action@main
        with:
          names: /Shared/SomeKey,Token
          withDecryption: true

      - name: Deploy
        run: |
          make deploy \
            --KEY=${{ steps.fetchSecrets.outputs['/Shared/SomeKey'] }} \
            --TOKEN=${{ steps.fetchSecrets.outputs.Token }}

AWS Params is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Retrieves parameters from AWS Systems Manager Parameter Store
v0.1.1-alpha
LatestPre-release

AWS Params is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.