Attaching custom build ubuntu core image to private store

Hmm simply adding auth.json file to a root user dir does not work. I see with snap whoami command my user, but I cannot see my private snap in a store. I only see it when I do full snap login. Is it even possible to do it this way ?

I also found this old topic regarding using private snap with custom-build image

which states that it is only possible with a brand store. :confused: Is it still like this ?

There is also info like this, but I do not understand how and where to use this. Or even if it is possible

What is supported atm is using UBUNTU_STORE_AUTH_DATA_FILENAME to point to a JSON file with the macaroon bits ( {"macaroon": ..., "discharges": [...]} , where discharges are actually unbound), there is no official tooling to create such a file though.

Any suggestions are welcome :slight_smile: