Build snap that depends on private build-snaps

How to build a snap, that depends on build-snaps/ stage-snaps, that are private? I’ve set UBUNTU_STORE_AUTH_DATA_FILENAME and UBUNTU_STORE_ID, but the snaps are still not found.

Many thanks.