Skip to content

Instantly share code, notes, and snippets.

View tjrivera's full-sized avatar
🌎
Working from earth

Tyler Rivera tjrivera

🌎
Working from earth
  • Sagely, LLC
  • Philadelphia, PA
  • X @atriv
View GitHub Profile
@tjrivera
tjrivera / testing_iam.md
Last active October 10, 2018 13:59
Testing Service IAM Capabilities

First log in to AWS using your default credentials:

$ aws_adfs_auth
Username: <ntid>
Password: <password>

<<ROLE SELECTION>>

Usage:

conffigen.py test01 | int01 | prod01

$ configgen.py int01

Input:

@tjrivera
tjrivera / gist:3dc2a09132d819f3f2ba
Created November 19, 2014 23:25
etcd persistence
docker run -d -v /srv/etcd:/data/certs --restart=always --name="etcd" -p 4002:4001 coreos/etcd -f -name machine0 -cert-file=/data/certs/res01.crt -key-file=/data/certs/res01.key -ca-file=/data/certs/ca.crt -data-dir /data/certs/machine0

Keybase proof

I hereby claim:

  • I am tjrivera on github.
  • I am tjrivera (https://keybase.io/tjrivera) on keybase.
  • I have a public key ASC7bAuSyMuhahNEAEuaHs92kltWY2B7clU1ax7HwJWoRQo

To claim this, I am signing this object: