hook for mirroring stash repos with key authtorization