Skip to content

Instantly share code, notes, and snippets.

View CampGareth's full-sized avatar

Max Siegieda CampGareth

  • MirrorWeb
  • Manchester, UK
View GitHub Profile
@keymon
keymon / rotate_my_creds.sh
Last active January 12, 2022 19:59
Script to rotate AWS access keys
#!/bin/bash
#
# Will rotate the credentials for the user and account that you have
# currently configured. It will print the shell `export` lines to use
# the creds.
#
# If you team uses STS with MFA to access the API, you must use those
# STS credentials.
#