Don't write in plaintext the password of an account which has full control over the repository. Instead use an account with read-only access.