DEV Community

Marcel.L
Marcel.L

Posted on • Updated on

GitHub Actions Hackathon 2021 - Reusable workflows to automate tokens

💡 Automate Azure Service Bus SAS tokens with reusable GitHub Action Workflows

I decided to submit a second github Actions hack for this years ActionsHackathon21 contest.

In my post I demonstrate how we can implement and automate/generate short lived temporary Azure Service bus SAS tokens using github actions. The post also covers a new github actions workflow feature announced at github universe 2021 recently, the ability to create reusable/callable GitHub workflows as a job. In my demo I use such a reusable workflow to handle temporary SAS token generation.

Here is the link to the post in which my github actions are documented and explained, enjoy!

Submission Category: Wacky Wildcards

😳💥🔥 I know... ITSec Ops workflows are totally WACKY! 🔥💥😳

Yaml File or Link to Code

GitHub logo Pwd9000-ML / Azure-Service-Bus-SAS-Management

Repository to maintain and manage Azure Service Bus SAS tokens

Azure-Service-Bus-SAS-Management

Repository to maintain and manage Azure Service Bus SAS tokens

New Service Bus SAS Token Dependabot

Video tutorial

image.png

Overview

This repository hosts github workflows which can be used to automate and generate short lived usable Azure Service Bus SAS tokens and stores them inside of an Azure Key Vault.

See my blog post for full details 😄

With the workflows published on this repo you can implement and automate Azure Service bus SAS tokens using reusable github action workflows. The post above also explains in detail a new github actions workflow feature by using a reusable GitHub workflow as a job to generate short lived Service Bus SAS tokens.




Author

Like, share, follow me on: 🐙 GitHub | 🐧 X/Twitter | 👾 LinkedIn

Top comments (0)