All Projects → nordcloud → aws-assume-role

nordcloud / aws-assume-role

Licence: MIT license
GitHub action to assume subsequent AWS roles

Programming Languages

shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to aws-assume-role

assign-one-project-github-action
Automatically add an issue or pull request to specific GitHub Project(s) when you create and/or label them.
Stars: ✭ 140 (+536.36%)
Mutual labels:  actions, github-action
github-action-wpe-site-deploy
A GitHub Action to deploy code directly to WP Engine.
Stars: ✭ 116 (+427.27%)
Mutual labels:  actions, github-action
ssh2actions
Connect to GitHub Actions VM via SSH for interactive debugging
Stars: ✭ 62 (+181.82%)
Mutual labels:  actions, github-action
standard-action
Github Action to lint with `standard` and friends
Stars: ✭ 15 (-31.82%)
Mutual labels:  actions, github-action
github-run-tests-action
mabl Github Actions implementation
Stars: ✭ 39 (+77.27%)
Mutual labels:  actions, github-action
nrwl-nx-action
A GitHub Action to wrap Nrwl Nx commands in your workflows.
Stars: ✭ 163 (+640.91%)
Mutual labels:  actions, github-action
action-deploy-aws-static-site
Batteries-included Github action that deploys a static site to AWS Cloudfront, taking care of DNS, SSL certs and S3 buckets
Stars: ✭ 70 (+218.18%)
Mutual labels:  actions, github-action
changed-files
Github action to retrieve all (added, copied, modified, deleted, renamed, type changed, unmerged, unknown) files and directories.
Stars: ✭ 733 (+3231.82%)
Mutual labels:  actions, github-action
build-godot-action
GitHub action that builds a Godot project for multiple platforms
Stars: ✭ 62 (+181.82%)
Mutual labels:  actions, github-action
action-sync-node-meta
GitHub Action that syncs package.json with the repository metadata.
Stars: ✭ 25 (+13.64%)
Mutual labels:  actions, github-action
clojure-dependency-update-action
A simple GitHub Actions job to create Pull Requests for outdated dependencies in clojure projects
Stars: ✭ 37 (+68.18%)
Mutual labels:  actions, github-action
recent-activity
Add your recent activity to your profile readme!
Stars: ✭ 87 (+295.45%)
Mutual labels:  actions, github-action
setup-jdk
(DEPRECATED) Set up your GitHub Actions workflow with a specific version of AdoptOpenJDK
Stars: ✭ 32 (+45.45%)
Mutual labels:  actions, github-action
clang-format-action
GitHub Action for clang-format checking
Stars: ✭ 48 (+118.18%)
Mutual labels:  actions, github-action
action-netlify-deploy
🙌 Netlify deployments via GitHub actions
Stars: ✭ 32 (+45.45%)
Mutual labels:  actions, github-action
overview
Automate your workflows with GitHub actions for MATLAB.
Stars: ✭ 40 (+81.82%)
Mutual labels:  actions, github-action
qodana-action
⚙️ Scan your Java, Kotlin, PHP, Python, JavaScript, TypeScript projects at GitHub with Qodana
Stars: ✭ 112 (+409.09%)
Mutual labels:  actions, github-action
action-my-broken-link-checker
A GitHub Action for checking broken links
Stars: ✭ 32 (+45.45%)
Mutual labels:  actions, github-action
action-dynamic-readme
~ Dynamic ReadME Generator ~
Stars: ✭ 29 (+31.82%)
Mutual labels:  actions, github-action
action-github-workflow-sync
Github Action To Sync Github Action's Workflow Files Across Repositories
Stars: ✭ 51 (+131.82%)
Mutual labels:  github-action

AWS Assume role action

It lets you assume a role and sets the credentials accordingly.

Usage

The action under the hood uses the https://github.com/nordcloud/assume-role-arn tool and follows the same version schema. Below is a simple example where you pass AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY via Github secrets, and assume role in passed in DEPLOYMENT_ROLE with additional external id DEPLOYMENT_EXID. The action will set the needed credentials for later steps. For more switches you can check assume-role-arn tool.

Example:

name: CI

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v1
    - uses: nordcloud/aws-assume-role@master
      env: 
        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
      with:
        args: -r ${{ secrets.DEPLOYMENT_ROLE }} -e ${{ secrets.DEPLOYMENT_EXID }}

Authors

Dariusz Dwornikowski, Nordcloud 🇵🇱

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].