Skip to content

Instantly share code, notes, and snippets.

@KyMidd
Created August 7, 2022 14:37
Show Gist options
  • Select an option

  • Save KyMidd/606afadee2ca628c452e19c5b729b5de to your computer and use it in GitHub Desktop.

Select an option

Save KyMidd/606afadee2ca628c452e19c5b729b5de to your computer and use it in GitHub Desktop.
#!/usr/bin/env python3
# Imports
import boto3
from botocore.exceptions import ClientError
import sys # Needed to take input from user for testing
import os # To create directories
# Search AWS for secrets matching secrets lists
def main():
# Read list of secrets search strings as input values
SECRETS_SEARCH_INPUT=sys.argv[1:]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment