Last active
March 9, 2017 09:25
-
-
Save akrabat/17aff266c7778b83f2bbd5acf2b28569 to your computer and use it in GitHub Desktop.
Swap OpenWhisk credentials
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
# OpenWhisk | |
function owibm() { | |
wsk property set --apihost openwhisk.ng.bluemix.net --auth {auth key here} | |
wsk property unset --namespace | |
} | |
function owlocal() { | |
( | |
cd ~/Projects/openwhisk/openwhisk/tools/vagrant && \ | |
wsk -i property set --apihost http://192.168.33.13:10001 --auth `vagrant ssh -- cat openwhisk/ansible/files/auth.guest` && \ | |
wsk property unset --namespace | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment