Skip to content

Instantly share code, notes, and snippets.

View wontondon's full-sized avatar
:bowtie:

Donnie McNeal wontondon

:bowtie:
View GitHub Profile
#-*-coding: utf-8-*-
"""
Simple script to dump documents out of a CouchDB database and straight into
a Couchbase instance.
"""
import time
import sys
import argparse
@wontondon
wontondon / cognito-signup.sh
Created February 23, 2022 15:12 — forked from jaymes-bearden/cognito-signup.sh
Bash script - AWS CLI Cognito User Sign Up using a client app with client secret
#!/bin/bash
# Found in user pool "General Settings / App clients" -- you can always add another if needed
APP_CLIENT_ID="abcdefg1234567"
APP_CLIENT_SECRET="a1b2c3d4e5f6g7h8i9j10"
# User details for Cognito
USERNAME=$(uuidgen) # Cognito user name -- if you don't have this aliased, use an email for the username
EMAIL="[email protected]" # Extra attributes (specified when creating the user pool)
PASSWORD="MyTestPassword!"