blob: 7017dd8e584d9a4acf329033f1ab6977a75f67e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
.. _automating_login:
Automating login
================
There's an annoying bug with python keyring module, that makes the 'remember
login' checkbox non functional.
That, and the need to script end-to-end tests with the client inside a docker
environment, made us put a mechanism to pass credentials via environment
variables.
To automate login, set BITMASK_CREDENTIALS env var::
BITMASK_CREDENTIALS=/tmp/secrets.conf bitmask --debug
where the pointed file looks like this::
[Credentials]
username = user@provider
password = mypass
|