Skip to content

scrape: add support for fetching credentials through a script#166

Open
Keruspe wants to merge 1 commit into
Comcast:mainfrom
Keruspe:script
Open

scrape: add support for fetching credentials through a script#166
Keruspe wants to merge 1 commit into
Comcast:mainfrom
Keruspe:script

Conversation

@Keruspe
Copy link
Copy Markdown

@Keruspe Keruspe commented Apr 16, 2026

To properly support complex authentication scenarii where retrieving a BMC credentials might be non trivial and the cedentials might be temporary, let's support running an external script to gather them.

The script will be called like this:
{script} bmc-password {target}
It should return a JSON like this:
{"user": "root", "pass": "toor"}

The returned credentials won't be cached and the script will get called every time we scrape a target.

To properly support complex authentication scenarii where retrieving a
BMC credentials might be non trivial and the cedentials might be
temporary, let's support running an external script to gather them.

The script will be called like this:
{script} bmc-password {target}
It should return a JSON like this:
{"user": "root", "pass": "toor"}

The returned credentials won't be cached and the script will get called
every time we scrape a target.
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 16, 2026

CLA assistant check
All committers have signed the CLA.

@Keruspe Keruspe marked this pull request as draft May 7, 2026 20:11
@Keruspe Keruspe marked this pull request as ready for review May 7, 2026 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants