How to make Jenkinsfile credential visible to many stages
No, the credentials will only be visible within the block passed to withCredentials, not outside of that.
There is no way to make the credentials globally available without switching to Scripted Pipeline.  With Scripted, you can wrap your entire job in withCredentials.  This is not possible with Declarative.