From 3238fe930594286078e7d284d920818841ba1da8 Mon Sep 17 00:00:00 2001 From: Thorsten Reiter Date: Mon, 2 Oct 2023 15:43:07 +0200 Subject: [PATCH] fixed dictionary-entry create/list --- .../infrastructure_and_maintenance/cache/http_cache/fastly.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/infrastructure_and_maintenance/cache/http_cache/fastly.md b/docs/infrastructure_and_maintenance/cache/http_cache/fastly.md index 8d241471c1..9816a90f60 100644 --- a/docs/infrastructure_and_maintenance/cache/http_cache/fastly.md +++ b/docs/infrastructure_and_maintenance/cache/http_cache/fastly.md @@ -378,7 +378,7 @@ In the example above, the ID is `ltC6Rg4pqw4qaNKF5tEW`. Add username and password to the dictionary: ``` bash -fastly dictionary-item create --dictionary-id=ltC6Rg4pqw4qaNKF5tEW --key=user1 --value=foobar1 +fastly dictionary-entry create --dictionary-id=ltC6Rg4pqw4qaNKF5tEW --key=user1 --value=foobar1 ``` ### List dictionary records @@ -386,7 +386,7 @@ fastly dictionary-item create --dictionary-id=ltC6Rg4pqw4qaNKF5tEW --key=user1 - You can list the records from a dictionary by using the following command: ``` bash -fastly dictionary-item list --dictionary-id=ltC6Rg4pqw4qaNKF5tEW33 +fastly dictionary-entry list --dictionary-id=ltC6Rg4pqw4qaNKF5tEW33 ``` Now your dictionary stores new username and password. The next thing to do is to alter the Fastly VCL configuration