Basic auth should be a base 64 encoded string of your username and password. Take the username and password, put them like this:

username:password

Then base64 encode that and set that to your variable.

I work in the cloud with a strong focus on serverless and API lifecycle. Pushing the limits on API design, standardization, and automation.