DEV Community

Marcel.L
Marcel.L

Posted on • Edited on

3 1

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

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay