- Execute
sudo docker run --name postgres -p 5432:5432 -e POSTGRES_PASSWORD=CHANGEME -d postgres
-
Execute
psql -h localhost -U postgres
-
Within the psql shell execute the following lines
CREATE USER barbican WITH PASSWORD 'ALLTHEPASS';
#/usr/bin/env bash | |
SHRUG="¯\_(ツ)_/¯" | |
if [ -t 1 ] | |
then | |
echo $SHRUG | |
else | |
# For piping to your clipboard (e.g., "shrug | pbcopy") or elsewhere | |
echo $SHRUG | tr -d '\n' |
sudo docker run --name postgres -p 5432:5432 -e POSTGRES_PASSWORD=CHANGEME -d postgres
Execute psql -h localhost -U postgres
Within the psql shell execute the following lines
CREATE USER barbican WITH PASSWORD 'ALLTHEPASS';
class DisableMigrations(object): | |
def __contains__(self, item): | |
return True | |
def __getitem__(self, item): | |
return "notmigrations" | |
MIGRATION_MODULES = DisableMigrations() |
#!/bin/bash | |
get_id () { | |
echo `$@ | awk '/ id / { print $4 }'` | |
} | |
export OS_SERVICE_TOKEN="ADMIN_TOKEN" | |
export OS_SERVICE_ENDPOINT="http://localhost:35357/v2.0" | |
SERVICE_ID=$(get_id keystone service-create --name=barbican --type="key-manager" --description="Key_Management_Service") |