Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Paws questions

by Krambambuli (Curate)
on May 01, 2017 at 19:39 UTC ( #1189283=note: print w/replies, xml ) Need Help??


in reply to Re: Paws questions
in thread Paws questions

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.

Replies are listed 'Best First'.
Re^3: Paws questions
by nikosv (Chaplain) on May 04, 2017 at 09:16 UTC
      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.
        In this case I would suggest setting up an API Gateway which exposes and HTTP API endpoint which calls into the Cloudwatch service. Since you don't want to use any AWS credentials in the clean machine you can authorize through creating API Keys by choosing security for your endpoint as "Open with access key", so that you can access the backend service over HTTP

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1189283]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2019-12-11 08:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?