TestEngineering/Web/Automation/Credentials
WebQA Credentials
We are using a private GitHub repository to store credentials for WebQA projects. These credentials can be used by automation projects.
To read/write to this repository you must first have access to it. The CI server (qa-selenium.mv.mozilla.com) has a deploy key configured so it can pull updates for the automated tests. The repository is currently checked out to /Users/webqa/webqa-credentials, and can be updated using the command git pull.
The first automated project to use this is AMO, where the credentials are stored in a simple YAML format. The credentials file is then passed to the tests on the command line by specifying --credentialsfile=<file>. This means that we keep our passwords secure, and allow anyone running the tests locally to use the provided credentials.yaml template to provide their own login details.