Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/duplocloud/ghactions-aws-jit

Github action to get just-in-time access to AWS
https://github.com/duplocloud/ghactions-aws-jit

aws duplocloud github-actions

Last synced: 2 months ago
JSON representation

Github action to get just-in-time access to AWS

Awesome Lists containing this project

README

        

# Deprecation Warning
This is no longer actively maintained.
Migrate to this action: [duplocloud/actions/setup](https://github.com/duplocloud/actions/tree/main/setup)


ghactions-aws-jit status

# Github action to get just-in-time access to AWS

This action will retrieve just-in-time AWS credentials from Duplo

# Usage

Here is an example of what to put in your `.github/workflows/build-and-deploy.yml` file to use this workflow.

```yaml
name: Build and Deploy
on:
push:
branches:
- develop # branch to trigger on
jobs:
deploy:
# This example get AWS credentials, then lists all S3 buckets.
name: Deploy with DuploCloud
runs-on: ubuntu-latest
steps:
- name: aws-jit
uses: duplocloud/ghactions-aws-jit@master
with:
duplo_host: https://mysystem.duplocloud.net
duplo_token: ${{ secrets.DUPLO_TOKEN }}
tenant: default
- name: list-s3
run: aws s3 ls
```