Skip to content

Support --download-browser-driver flag in list-roles command for automation #1467

@marcportabellaclotet-mt

Description

I am using saml2aws and automating the creation of aws profiles.

Currently, I use the browser driver and start with the configuration step:

saml2aws configure xxxx

After that, I would like to automate the AWS profile creation by running the list-roles command and parsing its output

However, when I run list-roles, I get an error saying that the browser driver needs to be downloaded first. This breaks my automation because it forces me to run a login step beforehand—without knowing the available AWS roles—and creates unnecessary AWS profiles.

Feature Request

To avoid this, I’d like to request support for the --download-browser-driver flag in the list-roles command, so that the browser driver can be downloaded automatically without requiring a prior login.

I have created a PR to achieve this

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