Skip to content

Conversation

@guillaume-fr
Copy link
Contributor

namespace- prefix is not added to token properties by current akamai edgekv CLI. This incompatibility leads to execution errors in EdgeWorkers that are not easy to debug.

`namespace-` prefix is not added to token properties by current akamai edgekv CLI.
This incompatibility leads to execution errors in EdgeWorkers that are not easy to debug.
@iwanaga
Copy link

iwanaga commented Mar 24, 2025

👍
This change is backward-compatible.
I’ve also confirmed that it works without errors in my environment.


Let me provide additional context.

The latest edgekv.js always throws error because it expects that namespace-MY_NAMESPACE is present when the actual namespace is MY_NAMESPACE.

The current format of edgekv_tokens.js is like:

var edgekv_access_tokens = {
  "MY_NAMESPACE" : { 
    "name": "TOKEN_NAME",
    "reference" : "xxx"
  }
}

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants