Skip to content

[bug] GCP serviceAccounts.list needs to paginate or this never works in projects with > PAGE_SIZE service accountsΒ #938

@chicagobuss

Description

@chicagobuss

service_accounts = service.projects().serviceAccounts().list(name="projects/" + self.project_id).execute()["accounts"]

I set pageSize to 100 (the max) to resolve my personal issue with this but a proper implementation would keep going until it finds a match or exhausts them all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions