I hereby claim:
- I am kave on github.
- I am grouch (https://keybase.io/grouch) on keybase.
- I have a public key ASBt77BSKXK_-8PbfeTuQc8RGLeaum8qV62TVc28ObvUlwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
""" | |
Python RDS IAM Auth Example | |
Requirements.txt | |
pip install boto3==1.9.66 | |
pip install pymysql==0.9.3 | |
""" | |
import os |
# This will list all the secret notes in the folder `dev` and export them into the local directory `dev` | |
# Protip if your doing this on a mac, you'll need th gnu version of sed `brew install gnu-sed` | |
lpass ls "<folder_name>" | sed -n "s/^.*\/\s*\(.*\)\[.*$/\1/p" | xargs -i bash -c "lpass show --note {} > <folder_name>/{}" | |
lpass ls "dev" | sed -n "s/^.*\/\s*\(.*\)\[.*$/\1/p" | xargs -i bash -c "lpass show --note {} > dev/{}" |