API Management cloud: users for basic auth

Just to be sure for API Gateway in the cloud: is the only way to add users for basic auth by adding them as platform users via cloud administration console as normal users?
Problem I have with that is that I want a certain password expiry time for real platform users (eg. developers). And for basic auth API’s I want a different password expiry. Namely much longer or infinite. How would I accomplish this?