cifscreds saves a username and password in the kernel keyring for a host, so multi-user CIFS mounts can authenticate per user without embedding passwords in mount options. The credentials live in the session keyring and expire with the session. Clear them with cifscreds clear nas.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.