Skip to content

Instantly share code, notes, and snippets.

View morganpyne's full-sized avatar

Morgan Pyne morganpyne

View GitHub Profile
@morganpyne
morganpyne / aws-roll-all-keys.sh
Last active November 12, 2018 20:40
Rotate all the AWS secret keys in your named profiles.
#!/bin/bash
set -e
#
# Rotate all the AWS access keys found in your ~/.aws/credentials file
# Depends on : https://github.com/Fullscreen/aws-rotate-key to do
# the actual rotation.
#
# Alternatively - start using "aws-vault" to do this stuff properly :D
#

Keybase proof

I hereby claim:

  • I am morganpyne on github.
  • I am morganpyne (https://keybase.io/morganpyne) on keybase.
  • I have a public key whose fingerprint is 1A56 04D6 649F 1285 D6FE BB7B 83E0 F92D 9DED A0F3

To claim this, I am signing this object:

@morganpyne
morganpyne / nginx_symfony.conf
Created December 13, 2010 11:30
Minimal nginx vhost config for Symfony/PHP project
server {
server_name projectname.local default;
listen 80;
root /Users/username/projects/projectname/web;
index index.php index.html;
access_log /opt/nginx/logs/projectname.access.log;
charset utf-8;