How to use an SMB credentials file for fstab, that’s stored in an encrypted home directory?

As per the title, I’m mounting several directories on boot using CIFS in fstab
I have specified a credentials file located at /home/stephen/.smbcredentials
On my Mint (LMDE 6 – Cinnamon) system, my home directory is encrypted (as offered by the setup program during installation)

Mount isn’t working at boot because it cannot find /home/stephen/.smbcredentials, presumably because it hasn’t been decrypted yet

How do I get fstab to use the .smbcredentials file? Can I delay mount until home is decrypted?


Update: So I appended that x-systemd.requires directive to the last mount as a test and rebooted, but it’s still not working.

Do you see where I’m going wrong?

sudo cat /etc/fstab
#nas/websites  
//192.168.26.250/websites   /mnt/websites   cifs    credentials=/home/stephen/.smbcredentials,uid=stephen,gid=www-data,x-gvfs-show  0   0  
#nas/orac  
//192.168.26.250/files/orac /mnt/orac   cifs    credentials=/home/stephen/.smbcredentials,uid=stephen,x-gvfs-show           0   0  
#nas/files  
//192.168.26.250/files      /mnt/files  cifs    x-systemd.requires=home-stephen.mount,credentials=/home/stephen/.smbcredentials,uid=stephen,x-gvfs-show         0   0
journactl -b
May 10 14:51:31 Orac systemd[1]: Mounting mnt-files.mount - /mnt/files...  
May 10 14:51:31 Orac systemd[1]: Mounting mnt-orac.mount - /mnt/orac...    
May 10 14:51:31 Orac systemd[1]: Mounting mnt-websites.mount - /mnt/websites...  
May 10 14:51:31 Orac mount[903]: error 2 (No such file or directory) opening credential file /home/stephen/.smbcredentials  
May 10 14:51:31 Orac systemd[1]: Started cups-browsed.service - Make remote CUPS printers available locally.  
May 10 14:51:31 Orac mount[906]: error 2 (No such file or directory) opening credential file /home/stephen/.smbcredentials  
May 10 14:51:31 Orac mount[908]: error 2 (No such file or directory) opening credential file /home/stephen/.smbcredentials  
May 10 14:51:31 Orac systemd[1]: mnt-files.mount: Mount process exited, code=exited, status=2/INVALIDARGUMENT  
May 10 14:51:31 Orac systemd[1]: mnt-files.mount: Failed with result 'exit-code'.  
May 10 14:51:31 Orac systemd[1]: Failed to mount mnt-files.mount - /mnt/files.  
May 10 14:51:31 Orac systemd[1]: Dependency failed for remote-fs.target - Remote File Systems.  
May 10 14:51:31 Orac systemd[1]: remote-fs.target: Job remote-fs.target/start failed with result 'dependency'.  
May 10 14:51:31 Orac systemd[1]: mnt-orac.mount: Mount process exited, code=exited, status=2/INVALIDARGUMENT  
May 10 14:51:31 Orac systemd[1]: mnt-orac.mount: Failed with result 'exit-code'.  
May 10 14:51:31 Orac systemd[1]: Failed to mount mnt-orac.mount - /mnt/orac.  
May 10 14:51:31 Orac systemd[1]: mnt-websites.mount: Mount process exited, code=exited, status=2/INVALIDARGUMENT  
May 10 14:51:31 Orac systemd[1]: mnt-websites.mount: Failed with result 'exit-code'.  
May 10 14:51:31 Orac systemd[1]: Failed to mount mnt-websites.mount - /mnt/websites.
mount | grep ~
/home/.ecryptfs/stephen/.Private on /home/stephen type ecryptfs (rw,nosuid,nodev,relatime,ecryptfs_fnek_sig=###############,ecryptfs_sig=#############,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_unlink_sigs)