Closed RafPe closed 3 years ago
I am unable to reproduce the issue with akamai sandbox version 1.2.2. Do you use dockerized CLI or a standalone one?
@kporowski here is more info
[root@7f0f5eee9192 cli-sandbox]# akamai sandbox -V
1.2.2
I would like to to confirm if by 'edge rc file' you mean ~/.edgerc file used in a command line.
I tried to reproduce it in docker env, but the only way I can see this error is when ~/.edgerc2 file doesn't contain [default] section. e.g. when I introduce a typo in that section name like [defualt].
Edgerc file has the following
[root@7f0f5eee9192 cli-sandbox]# cat ~/.edgerc2
[default]
client_secret = *****/****=
host = akab-****-***.luna.akamaiapis.net
access_token = akab-***-****
client_token = akab-****-****
[root@7f0f5eee9192 cli-sandbox]#
@kporowski - I fixed this and similar edgerc issues in EdgeWorkers CLI which was based roughly on Sandbox CLI - see: https://github.com/akamai/cli-edgeworkers/issues/1 which is resolved in EWCLI v0.1.1. Ping me if you want to discuss.
@dctheobald: thank you, I have a fix already prepared, but would like to recreate this issue to make sure it is properly handled.
Already fixed.
When using custom credentials file with default section it bails out with exception