With the files not there some things (like mounts) will not work. Skipping once they're there is generally fine, but a first run with full credentials should be enforced.
The secret stuff should be moved to a separate file, adding a check for file presence. If the file is not present, and can't be created it should stop with an error.