Open
Description
Edgeworkers CLI does not allow generating a token for a wildcard domain.
akamai ew auth '*.example.com'
We get the following error
ERROR: Creating auth token with secret is deprecated with version CLI 1.1.0. Please use your host name to create an authentication token.
We should update or remove isValidDomain(hostName)
check
https://github.com/akamai/cli-edgeworkers/blob/master/src/edgeworkers/ew-cli-main.ts#L414
This should allow wildcard domain or propertyId as it is supported by API: https://techdocs.akamai.com/edgeworkers/reference/post-secure-token
Metadata
Metadata
Assignees
Labels
No labels