Recipes
Before you can start using EdgeKV, you need to initialize your EdgeKV database.
- Set up authorization
- Call the API
- Review the response
Initialize EdgeKV
Before you can start using EdgeKV, you need to initialize your EdgeKV database.
3 stepsOpen RecipeGet the EdgeKV initialization status
Check EdgeKV's initialization status. You can't use your EdgeKV database until the initialization has completed successfully.
3 stepsOpen RecipeList namespaces
List the EdgeKV namespaces available in staging or production network.
6 stepsOpen RecipeWrite an item
Create or update an item in EdgeKV. You need to specify the namespace and group this item belongs to. The target namespace must already exist, while the group can automatically be created for you if it doesn't yet exist.
8 stepsOpen RecipeList access tokens
List EdgeKV access tokens that you have permission to view from your account.
4 stepsOpen RecipeCreate an access token
Generate an access token to allow EdgeWorkers code to access a namespace.
7 stepsOpen RecipeRevoke an access token
Revoke an access token. To learn more about access tokens, refer to the EdgeKV guide.
5 stepsOpen RecipeUpdate namespace details
Update the name and the retention period of an existing namespace. To change the geoLocation you need to create a new namespace with the new geoLocation. Note that the geolocation can only changed from the default of US on the production network.
8 stepsOpen RecipeList permission groups
View a list of access groups and the associated permission capabilities, for example: create and view an EdgeKV namespace.
4 stepsOpen RecipeGet a permission group
View details on the capabilities enabled within a specified access group.
6 stepsOpen RecipeReauthorize a namespace
Change the access group used to authorize an existing namespace.
5 stepsOpen RecipeList groups within a namespace
View a list of group identifiers created when writing items to a namespace.
6 stepsOpen RecipeGet namespace upload job details
View details about a specific namespace upload job.
9 stepsOpen Recipe
