Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/babbel/generate-github-access-tokens

Github Action to generate GitHub access tokens using Lambda function
https://github.com/babbel/generate-github-access-tokens

actions lambda

Last synced: about 1 month ago
JSON representation

Github Action to generate GitHub access tokens using Lambda function

Awesome Lists containing this project

README

        

# GitHub Action: `babbel/generate-github-access-tokens`

Generates a GitHub access token using a custom API endpoint (with SigV4 authentication) and assigns the GitHub access token to an environment variable.

## Usage

```
steps:
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ vars.AWS_IAM_ROLE_ARN }}
aws-region: ${{ vars.AWS_REGION }}
- uses: babbel/generate-github-access-tokens@v1
with:
invoke-url: ${{ vars.ACCESS_TOKEN_GENERATOR_INVOKE_URL }}
region: ${{ vars.ACCESS_TOKEN_GENERATOR_REGION }}
configuration-name: EXAMPLE_TOKEN
```

This will assign GitHub access token to the `EXAMPLE_TOKEN` environment variable.