You can use an expression in the credential value and have it reference a value from a node earlier in your workflow that would allow you to kind of do what you are after but it does mean the request is in the workflow history.
The best option I can think of would be to create a custom node that includes your credential logic then use that in the http request node.