Try adding a flow environment var credential and see if you can see it after you enter it and deploy. Then try exporting the flow and see if the credential is exported.
As soon as the flow is deployed the credential is encrypted by the server.
[edit] I think we are communicating past each other , i am referring to flow, group and global env vars, not an enviroment file.