in reply to Paws questions

Are you certain that Paws merges the two profiles? The keys surely suggest that, but I can't even find source_profile in the distribution (or at least, the grep on doesn't).

Maybe try with explicitly stated settings instead of inheriting settings?

Replies are listed 'Best First'.
Re^2: Paws questions
by Krambambuli (Curate) on May 01, 2017 at 19:39 UTC
    Thanks for the answer - but I guess that would be the answer for a 3. question :)

    The error I get seems to say that I'm not authenticating properly - I get the same error if using an altered MY_ACCESS_KEY_ID.
    I used the ROLE_ARN as param in the call in order to avoid the possible non-inheriting in the credentials file,
    but in a final code version, I'd like to have that too only in the credentials file.
        Yes, but that is supposed to happen - and happens - 'under the hood'.

        Basically, I'm trying to access the cloudwatch service, with an IAM user account set up to switch to a given role, from an external (non-AwS) machine.