granted icon indicating copy to clipboard operation
granted copied to clipboard

`assume` command errors with Profile 'xyz' is not configured properly.

Open SantiRaposo opened this issue 2 years ago • 0 comments

Hello,

With the following configuration, granted shows the previously mentioned error when assuming a role:

# ~/.aws/credentials 
[default]
aws_access_key_id=***
aws_secret_access_key=***
aws_session_toke


# ~/.aws/config
[default]
region=eu-west-1
azure_tenant_id=****
azure_app_id_uri=****
azure_default_username=****
azure_default_role_arn=
azure_default_duration_hours=12
azure_default_remember_me=true

The CLI otherwise works properly and I have been unable to see any debug messages, so I imagine that this is due to the code trying to process the azure_* variables, which are used for aws-azure-login.

SantiRaposo avatar Aug 19 '23 16:08 SantiRaposo