The API key as D-ID Studio shows it (API_USERNAME:API_PASSWORD), or that string
base64-encoded. Sent as given.
Discriminator selecting this variant of Auth.
The part of the API key after the colon (API_PASSWORD).
Discriminator selecting this variant of Auth.
The part of the API key before the colon (API_USERNAME). It is not the account's
email address.
A D-ID API key, sent with HTTP basic authentication.
An API key from D-ID Studio has the form
API_USERNAME:API_PASSWORD. Pass it whole astoken, or split at the colon intousernameandpassword. It gives access to the whole account, so keep it on a server and never ship it in a page; use ClientKeyAuth in a browser. The SDK sends it asAuthorization: Basic <credentials>~<connectionId>; the D-ID authorizer strips the per-connection id before it validates the key.