[id='cli_add_entries']
= Adding Cache Entries
Create `key:value` pair entries in the data container.

.Prerequisites

Create a {brandname} cache that can store your data.

.Procedure

. Create a CLI connection to {brandname}.
. Add entries into your cache as follows:
+
* Use the [command]`put` command from the context of a cache:
+
[source,options="nowrap",subs=attributes+]
----
[//containers/default/caches/mycache]> put hello world
----
+
* Use the [command]`--cache=` with the [command]`put` command:
+
----
[//containers/default]> put --cache=mycache hello world
----
+
. Use the [command]`get` command to verify entries.
+
[source,options="nowrap",subs=attributes+]
----
[//containers/default/caches/mycache]> get hello
world
----
