Sometime with your pipeline, application or any automation you may need to connect and authenticate with GitHub. For this you want to be secure, safe and not use a users details. This is why you would use a GitHub App instead, which is like a service account for authentication. I will guide you through howContinueContinue reading “Authenticating with GitHub App for git push”
Tag Archives: Bash
Automatic ACME SSL Certificate Rotation
Technology needs to be secure, but we also want to make it easy to use. This is the same for us engineers managing SSL Certificates and their rotation. You can get long life certificates, but why when you can get free ones generated via the Automated Certificate Management Environment (ACME protocol). This is normally dueContinueContinue reading “Automatic ACME SSL Certificate Rotation”
Setup Certbot for Azure Virtual Machines
Certbot is a method of automating the renewal of Automated Certificate Management Environment (ACME protocol) SSL certificates and can be a handy tool to install on your Azure Virtual Machines. However, currently as of writing this there is a little snag with the Azure plugin for Certbot, as it is not yet been merged intoContinueContinue reading “Setup Certbot for Azure Virtual Machines”
Bash compare version numbers
Here is a little script to help compare version numbers in the format X.X.X using bash/shell. This can be good if you are trying to find out which version is higher for something like an upgrade. versionlte() { [ “$1” = “`echo -e “$1\n$2″ | sort -V | head -n1`” ] } versionlt() { [ContinueContinue reading “Bash compare version numbers”