Skip to content

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

Open
@moegelin

Description

@moegelin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions