

# 使用键值存储
<a name="kvs-with-functions-kvs"></a>

您必须创建一个键值存储来保存要在 CloudFront Functions 中使用的键值对。

创建键值存储并添加键值对后，即可在 CloudFront 函数代码中使用键值。

要开始使用，请参阅以下主题：

**Topics**
+ [创建键值存储](kvs-with-functions-create.md)
+ [将键值存储与函数相关联](kvs-with-functions-associate.md)
+ [更新键值存储](kvs-with-functions-edit.md)
+ [获取对键值存储的引用](kvs-with-functions-get-reference.md)
+ [删除键值存储](kvs-with-functions-delete.md)
+ [键值对的文件格式](kvs-with-functions-create-s3-kvp.md)

**注意**  
JavaScript 运行时 2.0 包含一些用于在函数代码中处理键值的帮助程序方法。有关更多信息，请参阅 [键值存储的帮助程序方法](functions-custom-methods.md)。