mdeuser commented on a change in pull request #370: Allow API GW access token
override
URL:
https://github.com/apache/incubator-openwhisk-cli/pull/370#discussion_r218886177
##########
File path: commands/api.go
##########
@@ -1010,15 +1013,22 @@ func getAccessToken() (string, error) {
var token string = "DUMMY TOKEN"
var err error
- props, err := ReadProps(Properties.PropsFile)
- if err == nil {
- if len(props["APIGW_ACCESS_TOKEN"]) > 0 {
- token = props["APIGW_ACCESS_TOKEN"]
- }
+ // If the api gw access token override has been set, use it instead of
the default
+ whisk.Debug(whisk.DbgInfo, "api gw access token override is '%s'\n",
ApiGwAccessToken)
Review comment:
i just checked the `bx` cli, and id does not display even these "short
lived" tokens..
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services