# commands to create, open, etc a postgres wallet in CLI
# run cli as:
# RUST_BACKTRACE=1 LD_LIBRARY_PATH=../samples/storage/storage-postgres/target/debug/ cargo run ../samples/storage/storage-postgres/cli_ps_test.txt
# register the postgres plug-in
wallet register postgres so_file=libindystrgpostgres.dylib prefix=postgreswallet_fn_
# create a postgres wallet
wallet create wallet_psy key storage_type=postgres storage_config={"url":"localhost:5432"} storage_credentials={"account":"postgres","password":"mysecretpassword","admin_account":"postgres","admin_password":"mysecretpassword"}
# open the postgres wallet
wallet open wallet_psy key storage_credentials={"account":"postgres","password":"mysecretpassword","admin_account":"postgres","admin_password":"mysecretpassword"}
# create and use a new DID in the wallet
did new seed=00000000000000000000000000000My5 metadata=my_did_metadata
did use VREsKVpdEtWCcCmMfddYuT
# don't delete wallet - just leave us in an open state
# wallet close
# wallet delete wallet_psy key storage_credentials={"account":"postgres","password":"mysecretpassword","admin_account":"postgres","admin_password":"mysecretpassword"}


# commands to create and open a postgres wallet in CLI
# run cli as:
# RUST_BACKTRACE=1 LD_LIBRARY_PATH=../samples/storage/storage-postgres/target/debug/ cargo run ../samples/storage/storage-postgres/cli_ps_create.txt
# register the postgres plug-in
load-plugin library=../samples/storage/storage-postgres/target/debug/libindystrgpostgres.dylib initializer=postgresstorage_init
# create a postgres wallet
wallet create wallet_psy key storage_type=postgres_storage storage_config={"url":"localhost:5432"} storage_credentials={"account":"postgres","password":"mysecretpassword","admin_account":"postgres","admin_password":"mysecretpassword"}
# open the postgres wallet
wallet open wallet_psy key storage_credentials={"account":"postgres","password":"mysecretpassword","admin_account":"postgres","admin_password":"mysecretpassword"}
# create and use a new DID in the wallet
did new seed=00000000000000000000000000000My5 metadata=my_did_metadata
did use VREsKVpdEtWCcCmMfddYuT
# don't close or delete wallet - just leave us in an open state


Update wallet storage test scripts
Update wallet storage test scripts

Signed-off-by: Ian Costanzo <57a33a5496950fec8433e4dd83347673459dcdfc@anon-solutions.ca>
