Skip to content

Instantly share code, notes, and snippets.

View david-mcdonagh's full-sized avatar

david-mcdonagh

View GitHub Profile
@david-mcdonagh
david-mcdonagh / aws-kms-client.go
Last active November 22, 2023 11:30
Go client to search KMS Keys in multiple profiles and mark keys that have tag ResourceIdentifier for deletion 'go run wd-aws-client.go <--dry-mode (optional> <profile_name> ...
package main
import (
"context"
"fmt"
"log"
"os"
"time"
"github.com/aws/aws-sdk-go-v2/aws"