This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-*-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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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!" |