Skip to content

2024

Using multiple SSH keys for Github

If you use GitHub, you likely rely on an SSH key to clone repositories and sign commits. However, when working with a GitHub Enterprise-managed account, you must set up a separate SSH key because the same key cannot be shared across different accounts. This guide will show you how to create and configure a new SSH key for a second account. Additionally, you'll learn how to configure Git to automatically apply specific settings for repositories that match certain URL patterns.

Setting up Workload Identity Federation in Google Cloud for Github pipelines

Setting up authentication for pushing images to Google Artifact Registry from a Github pipeline is usually done by creating a static, forever valid, credential file for at service account, which will probably never be rotated. An alternative to that is to use Workload Identity Federation to exchange a Github issued JWT token with a Google token and use that for authentication.

Creating a bash script with commandline arguments

When creating a good bash script for others to use, it's important to create a good user experience. Creating good usage arguments makes all the difference and really makes your script look professional instead of just a list of commands bunced together in a file.