CloudFront Key-Value Stores
Configure CloudFront Key-Value Stores in DuploCloud
CloudFront Key-Value Stores let you manage key-value data that can be accessed by CloudFront Functions to implement personalized, dynamic behaviors at the edge.
Adding a CloudFront Key-Value Store
In the DuploCloud Portal, navigate to Cloud Services -> Networking.
Select the CloudFront tab.
Select the Key-Value Stores tab.
Click Add. The Add Key-Value Store pane displays.
Complete the following fields.
Name
Enter a unique name for the Key-Value Store.
Description
Provide a brief description of the store’s purpose.
Click Create to create the Key-Value Store. Once created, you can add key-value pairs (in AWS Console) to this store and associate it with CloudFront Functions for dynamic content delivery.
Managing a Key-Value Store
After creating a Key-Value Store, you can view and edit its key-value pairs, export them for backup or review, associate the store with CloudFront Functions to enable dynamic edge logic, or delete the store if it’s no longer needed.
In the DuploCloud Portal, navigate to Cloud Services -> Networking.
Select the CloudFront tab.
Select the Key-Value Stores tab.
Click the menu icon (
) next to the Key-Value Store you want to manage.Select one of the following options:
Delete
Permanently removes the selected Key-Value Store. This action cannot be undone.
JSON
View or export the key-value pairs in JSON format. This allows you to review all entries at once or back them up externally.
Console
Open the key-value editor to add new pairs, modify existing ones, or delete entries. Save your changes before exiting the editor.
Associate Function
Link the Key-Value Store to a CloudFront Function. This grants the function permission to access the store during edge processing. Once associated, the function can use the Key-Value Store API to retrieve or update values in real time, enabling dynamic behaviors like feature flagging, routing logic, or custom headers without redeploying function code. The association also ensures the function only has access to explicitly linked stores, improving security and data governance.
Disassociate Function
Remove the link between this Key-Value Store and any associated CloudFront Function. Use this if you want to stop the function from accessing the store.
Last updated
Was this helpful?

