I hereby claim:
- I am jamesduffy on github.
- I am dffy (https://keybase.io/dffy) on keybase.
- I have a public key whose fingerprint is 350D 00AD 1D28 C608 D9E1 B991 176A 0EEC 2B8A 543D
To claim this, I am signing this object:
### Keybase proof | |
I hereby claim: | |
* I am jamesduffy on github. | |
* I am dffy (https://keybase.io/dffy) on keybase. | |
* I have a public key whose fingerprint is 350D 00AD 1D28 C608 D9E1 B991 176A 0EEC 2B8A 543D | |
To claim this, I am signing this object: |
I hereby claim:
To claim this, I am signing this object:
#!/bin/python | |
# This simple Python script runs simulations for different retry algorithms | |
# The results are printed as CSV data to the console | |
# See this article on my blog for details: | |
# https://blog.miguelgrinberg.com/post/how-to-retry-with-class | |
from random import random, choice | |
This is a python 2 snippet showing how to generate headers to authenticate with HashiCorp's Vault using the AWS authentication method.
It will look for credentials in the
default boto3 locations;
if you need to supply custom credentials (such as from an AssumeRole
call), you would use the
botocore.session.set_credentials
method before calling create_client
.