we have automated out deployment with python API's however we have been caught in a situation which we cannot yet solve.
We are looking to collect a token during the first deployment within the environment. currently our API requires a token.
Is there an api that can take an initial user and password to produce a token during the first deployment?