authentication - How to authenticate and authorize with AWS Identity and Access Management? -


i writing own reporting software in java , planning use rds data storage. want a.a. aws iam. there example(s) of authenticating , authorizing aws identity , access management might aware , share me?

i not looking on how set user amazon's console or how issue console commands. instead see java code how identify if user authenticated his/her credentials (user id, password combination) , whether person authorized access specific report.

aws iam not designed authenticate users own app. aws iam designed authenticate users aws services.

the way see if user real user(authentication) , if user authorized make aws api call.

for example, can create policy looks , attach user/group:

{    "statement":[{       "effect":"allow",       "action":["rds:createdbsecuritygroup",                 "rds:deletedbsecuritygroup",                 "rds:describedbsecuritygroup",                 "rds:authorizedbsecuritygroupingress",                 "rds:revokedbsecuritygroupingress"],       "resource":"*"       }    ] } 

and user or group has policy can make these api calls , not others.

see here: http://docs.aws.amazon.com/amazonrds/latest/userguide/usingwithrds.iam.html


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -