Skip to content

Commit e55ea1b

Browse files
authored
Add pagination to list-keys command (#1510)
* Add pagination to list-keys command
1 parent f7f6ef7 commit e55ea1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tooling/docs-assembler/Deploying/AwsCloudFrontKeyValueStoreProxy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ private HashSet<string> ListAllKeys(string kvsArn)
8585
{
8686
ConsoleApp.Log("Acquiring existing redirects");
8787
var allKeys = new HashSet<string>();
88-
string[] baseArgs = ["cloudfront-keyvaluestore", "list-keys", "--kvs-arn", kvsArn];
88+
string[] baseArgs = ["cloudfront-keyvaluestore", "list-keys", "--kvs-arn", kvsArn, "--page-size", "50", "--max-items", "50"];
8989
string? nextToken = null;
9090
try
9191
{

0 commit comments

Comments
 (0)