You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This looks like a really awesome library---I like that you're using reflection to solve everything at once rather than try to wrap one service at a time.
I'm just diving in but seem to have hit a snag.
Here's a minimal example:
(nsscratch
(:require amazonica.core)
(:use amazonica.aws.identitymanagement))
(defcreds {:access-key"root-access-key":secret-key"root-secret-key"})
(create-user creds :user-name"db")
;;This works fine; user is created
(create-access-key creds :user-name"db")
;;This returns a new access key, but it's for the root account (i.e., the same account as creds), not for the new "db" account.
The problem is that the :user-name isn't being taken into account, so access keys are created for the same user that owns the creds used to make the request, not the specified new IAM user.
The docs for the underlying CreateAccessKeyRequest object seem to match the get/set method model that you're reflecting against, so I have no idea why it doesn't work.
It seems like the no-argument CreateAccessKeyRequest is matching first.
The text was updated successfully, but these errors were encountered:
This looks like a really awesome library---I like that you're using reflection to solve everything at once rather than try to wrap one service at a time.
I'm just diving in but seem to have hit a snag.
Here's a minimal example:
The problem is that the
:user-name
isn't being taken into account, so access keys are created for the same user that owns thecreds
used to make the request, not the specified new IAM user.The docs for the underlying
CreateAccessKeyRequest
object seem to match the get/set method model that you're reflecting against, so I have no idea why it doesn't work.It seems like the no-argument
CreateAccessKeyRequest
is matching first.The text was updated successfully, but these errors were encountered: