|
I was poking around the Twitter app, and noticed that its setup.xml utilizes an admin/passwords endpoint to, I believe, store and retrieve twitter credentials: From the setup.xml
From the scripted input:
I'm quite intrigued. I could use this functionality, but I can't find any documentation on what it's actually doing or how to use it properly. In particular, I have a need to potentially store multiple sets of credentials, so I'd be curious whether that's possible. Where can I find some docs on this? |
|
admin/passwords is an EAI endpoint provided by splunkd to support storing of credentials in an encrypted format. You should also be aware that the encryption key is stored on the same machine - so the encryption is not strong. To see what fields are supported by the endpoint you should hit:
These is a pretty standard set of fields that should be useful in many different situations. The credentials are stored in app.conf as follows:
Now, when you want to access the clear password you simply hit admin/passwords and look at clear_password. NOTE: currently only admins (or any role that has admin_all_objects capability) have the ability to edit/view this endpoint |