okta / okta-aws-cli

A CLI for having Okta as the IdP for AWS CLI operations
https://github.com/okta/okta-aws-cli
Other
128 stars 34 forks source link

Adding pagination to apps API call to support more than 200 amazon_aws apps #212

Closed pmgalea closed 4 months ago

pmgalea commented 4 months ago

Bug fix/enhancement to okta-aws-cli to pagination the call to /api/v1/apps instead of limiting to 200

vcloudguy commented 4 months ago

Tried this code and it works great with pagination support and returns a full list of amazon_aws apps

monde commented 4 months ago

I brought this code in on #213 and extended it with a technique from okta-sdk-golang to fetch different types of object lists so we could easily support non-Admin users when the OIDC app has been granted the okta.users.read.self scope without too much code duplication.

Released as v2.2.0 https://github.com/okta/okta-aws-cli/releases/tag/v2.2.0