Hello,
This might be an incompatibility between the version of snapcraft you used to generate your credentials file and the format supported by snapd (and snap command). Please ensure you are using snapcraft 6.x or older to generate the credential file; specifically unless something has changed while I wasn’t looking, the authentication file produced by snapcraft 7 and newer is incompatible with what snapd/snap expect.
- Daniel