This is described here (https://docs.brew.sh/Tap-Trust) if you scroll down a bit.