bulk addition/update for credential pairs

33 views
Skip to first unread message

tter...@wordstream.com

unread,
Dec 16, 2017, 1:58:22 PM12/16/17
to confidant-users
Hi, is there an easy way to perform a bulk create/update via the API or the web interface? It's a whole lot of clicks to add a group of 20 creds one-at-a-time to several services.

Russell Maclean

unread,
Dec 17, 2017, 12:44:07 PM12/17/17
to confidant-users
There is, 

I wrote a bootstrapping script that did exactly that, From a KMS encrypted yaml file. It used KMS (just like confidant) to encrypt/decrypt the yaml containing all the passwords.

It was intended for my client to provide them a DR recovery option. I cant share it as its not open source and was written under contract.

It worked perfectly and bootstrapped confidant in seconds. To learn to do it you just need to use a browser debugger like firefox developer edition and see all the API calls made and recreate them in your script.

GL

tter...@wordstream.com

unread,
Dec 28, 2017, 4:32:34 PM12/28/17
to confidant-users
I did that as well, but I don't think that fits the definition for "easy". This seems like a common enough use case to warrant a built-in tool, no?

Ryan Lane

unread,
Dec 28, 2017, 5:08:10 PM12/28/17
to tter...@wordstream.com, confidant-users
Yeah, I agree.

The CLI currently can only add blind credentials, but I've been meaning to add support for credentials and services. I need to do this work to add some integration tests anyway, so it's coming.

Similarly, I've been meaning to add api docs. I've been working on the api docs lately, but I need to switch the docs site to sphinx, so it's been slow going. 

--
You received this message because you are subscribed to the Google Groups "confidant-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confidant-users+unsubscribe@googlegroups.com.
To post to this group, send email to confidant-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confidant-users/92ccf773-4b9e-42dc-a436-81fcbab567e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages