OctoPackPublishPackageToHttp authentication parameters?


I 'm trying to use msbuild with Octopack, OctoPackPublishPackageToHttp to deploy a release package to my Octopus Deploy server over HTTP. And I need to authenticate by passing username and password.
Can someone point me to the documentation for that? As I can’t find it. There are no parameters to pass username and password example: OctoPackPublishUsername, OctoPackPublishPassword

I have sorted this. I was using the license key instead of creating a new api key under my profile… dumb ass…lol