get_keeper_token

ltdconveyor.keeper.get_keeper_token(host, username, password)

Get a temporary auth token from LTD Keeper.

Parameters:
host : str

Hostname of the LTD Keeper API (e.g., 'https://keeper.lsst.codes').

username : str

Username.

password : str

Password.

Returns:
token : str

LTD Keeper API token.

Raises:
KeeperError

Raised if the LTD Keeper API cannot return a token.