We'll show you how to configure an existing authentication key for use in programmatic uploads.
You will require the Publishing and Reporting roles to access the Authentication keys page. See Roles and permissions for more information.
Select Settings from the side menu and then Auth keys in the top-right hand corner
Select in the row for the key you wish to configure
Ensure that the option Programmatic File Transfer option is enabled, as shown in the following example and select Save: