Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load the credentials for the client go library #29

Merged
merged 1 commit into from
Aug 25, 2017

Conversation

houshengbo
Copy link

@houshengbo houshengbo commented Aug 18, 2017

There are two ways to configure the credentials for client go, which are local wskprops, and
whisk.properties from openwhisk in a precedence descending order.

For local wskprops: we can specify the path of the local properties file or it will
by default look up the file under system HOME dir. The valid file name is .wskprops.

For openwhisk properties file, we will look up the OPENWHISK_HOME directory to load whisk.properties
in order to get the credentials to access openwhisk service.

Closes-Bug: #22

@houshengbo houshengbo force-pushed the add-credential branch 5 times, most recently from 7c95e10 to 15e75cf Compare August 21, 2017 22:11
@houshengbo houshengbo force-pushed the add-credential branch 7 times, most recently from bf3d265 to 0b4ce09 Compare August 23, 2017 17:15
@houshengbo houshengbo changed the title Load the credentials for the test cases Load the credentials for the client go library Aug 23, 2017
@houshengbo houshengbo force-pushed the add-credential branch 3 times, most recently from 0ea2f92 to f221d89 Compare August 23, 2017 17:20
@houshengbo houshengbo force-pushed the add-credential branch 6 times, most recently from 499a620 to f038dac Compare August 24, 2017 21:46
There are two ways to configure the credentials for client go, which are local wskprops, and
whisk.properties from openwhisk in a precedence descending order.

For local wskprops: we can specify the path of the local properties file or it will
by default look up the file under system HOME dir. The valid file name is .wskprops.

For openwhisk properties file, we will look up the OPENWHISK_HOME directory to load whisk.properties
in order to get the credentials to access openwhisk service.

Closes-Bug: apache#22
Copy link
Contributor

@mrutkows mrutkows left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mrutkows mrutkows merged commit 9967197 into apache:master Aug 25, 2017
houshengbo pushed a commit to houshengbo/incubator-openwhisk-client-go that referenced this pull request Aug 25, 2017
There are two ways to configure the credentials for client go, which are local wskprops, and
whisk.properties from openwhisk in a precedence descending order.

For local wskprops: we can specify the path of the local properties file or it will
by default look up the file under system HOME dir. The valid file name is .wskprops.

For openwhisk properties file, we will look up the OPENWHISK_HOME directory to load whisk.properties
in order to get the credentials to access openwhisk service.

Closes-Bug: apache#22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants