Content-Length: 204328 | pFad | http://github.com/akamai/cli-edgeworkers/issues/151

29 Cannot create token without missing expiry option in v1.8.0 · Issue #151 · akamai/cli-edgeworkers · GitHub
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

Cannot create token without missing expiry option in v1.8.0 #151

Open
moegelin opened this issue Aug 5, 2024 · 1 comment
Open

Cannot create token without missing expiry option in v1.8.0 #151

moegelin opened this issue Aug 5, 2024 · 1 comment

Comments

@moegelin
Copy link

moegelin commented Aug 5, 2024

In version 1.8.0 the --expiry option was removed from edgekv.

However, if we remove this option from the command line we get this error:

ERROR: Unable to create edgekv token. Invalid expiration time. The time format should be provided as per ISO-8601. [TraceId: 850766a9f7ed429d]

So it seems the service still needs this option and the CLI does not allow this option anymore.

When trying to run the following command:

edgekv create token $token_name --save_path=src/ --overwrite --staging=allow --production=allow --ewids=all --namespace=$NAMESPACE --expiry=$expiry_date

we get this error:

error: unknown option '--expiry=2024-12-28'

The mentioned command was working fine with version 1.7.3

However it is not possible to install a specific version via akamai cli of the edgeworker cli. It will always install the latest which is not working.

@moegelin moegelin changed the title Missing expiry option Cannot create token without missing expiry option in v1.8.0 Aug 5, 2024
@ananner
Copy link
Collaborator

ananner commented Aug 14, 2024

Hi @moegelin, this was a bug that was mitigated in the EdgeKV 1.8.1 release. See #150. Let us know if you are still experiencing the error after upgrade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/akamai/cli-edgeworkers/issues/151

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy