-
Notifications
You must be signed in to change notification settings - Fork 44
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
Pick up environment parameters to configure the authentication credentials, platform endpoint and namespace. #23
Comments
houshengbo
pushed a commit
to houshengbo/incubator-openwhisk-client-go
that referenced
this issue
Aug 23, 2017
There are three ways to configure the credentials for client go, which are environment variable, local go client properties, and whisk.properties from openwhisk in a precedence descending order. Environment variable takes the most priority, and whisk.properties from openwhisk takes the least priority. For env variables: All valid environment variables to be configured include __OW_API_HOST, __OW_NAMESPACE, __OW_API_KEY, __OW_APIGW_TOKEN and __OW_APIGW_SPACE_SUID. For local client go configuration: we can specify the path of the local properties file or it will by default look up the file under GOPATH. The valid file name is whiskClientConfig.properties. 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 apache#23
houshengbo
pushed a commit
to houshengbo/incubator-openwhisk-client-go
that referenced
this issue
Aug 23, 2017
There are three ways to configure the credentials for client go, which are environment variable, local go client properties, and whisk.properties from openwhisk in a precedence descending order. Environment variable takes the most priority, and whisk.properties from openwhisk takes the least priority. For env variables: All valid environment variables to be configured include __OW_API_HOST, __OW_NAMESPACE, __OW_API_KEY, __OW_APIGW_TOKEN and __OW_APIGW_SPACE_SUID. For local client go configuration: we can specify the path of the local properties file or it will by default look up the file under GOPATH. The valid file name is whiskClientConfig.properties. 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 apache#23
houshengbo
pushed a commit
to houshengbo/incubator-openwhisk-client-go
that referenced
this issue
Aug 23, 2017
There are three ways to configure the credentials for client go, which are environment variable, local go client properties, and whisk.properties from openwhisk in a precedence descending order. Environment variable takes the most priority, and whisk.properties from openwhisk takes the least priority. For env variables: All valid environment variables to be configured include __OW_API_HOST, __OW_NAMESPACE, __OW_API_KEY, __OW_APIGW_TOKEN and __OW_APIGW_SPACE_SUID. For local client go configuration: we can specify the path of the local properties file or it will by default look up the file under GOPATH. The valid file name is whiskClientConfig.properties. 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 apache#23
houshengbo
pushed a commit
to houshengbo/incubator-openwhisk-client-go
that referenced
this issue
Aug 23, 2017
There are three ways to configure the credentials for client go, which are environment variable, local go client properties, and whisk.properties from openwhisk in a precedence descending order. Environment variable takes the most priority, and whisk.properties from openwhisk takes the least priority. For env variables: All valid environment variables to be configured include __OW_API_HOST, __OW_NAMESPACE, __OW_API_KEY, __OW_APIGW_TOKEN and __OW_APIGW_SPACE_SUID. For local client go configuration: we can specify the path of the local properties file or it will by default look up the file under GOPATH. The valid file name is whiskClientConfig.properties. 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 apache#23
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From https://github.com/apache/incubator-openwhisk-client-js:
Is that true for incubator-openwhisk-client-go as well?
The text was updated successfully, but these errors were encountered: