I’m having quite a hard time making this to work. I have to add dozens of users and it can’t be done by hand. Also it seems the only way of receiving some support is posting here instead of opening a support ticket. So let’s see…
At Duo Admin API | Duo Security it says:
Which means that with:
Tue, 21 Aug 2012 17:29:18 -0000 POST api-xxxxxxx.duosecurity. com /admin/v1/users realname=First%20Last&username=root
DIWJ8X6AEYOR5OMC6TQ 1 as the integration key and
Zh5eGmUq9zpfQnyUIu5OL9iWoMMv5ZNmk3zLJ4Ep as the secret key (and also the HMAC key) you should end up with this base64 encoded sha1 string:
But I find no way of getting to that result. Only the beginning of it (since I already know the first part of the string before being base64-encoded, which is
I’ve added some spaces here and there to avoid this forum to hide text.
I have found absolutely no functional client to interact with the API (yes, you provide skeleton demonstration clients in a few languages, but not working code as such).
Can you please point me to a FULL client/binary that I can use from a Linux console? I’ve found nothing after deeply searching online about it (except a client for powershell which it’s of no use from Linux).