Skip to content

Commit

Permalink
Increase default pagination limit to 100
Browse files Browse the repository at this point in the history
  • Loading branch information
martinhaus committed Mar 10, 2020
1 parent 1f58ba0 commit 5a09d3b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ func listAllSecrets() *secretsmanager.ListSecretsOutput {

svc := secretsmanager.New(s,
aws.NewConfig().WithRegion(region))
input := &secretsmanager.ListSecretsInput{}
input := &secretsmanager.ListSecretsInput{
MaxResults: aws.Int64(100),
}

result, err := svc.ListSecrets(input)
if err != nil {
Expand Down

0 comments on commit 5a09d3b

Please sign in to comment.