forked from danielbayerlein/dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
auth.ts
40 lines (33 loc) · 878 Bytes
/
auth.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import { IAuthModel } from "./lib/auth-model";
const bitbucket: IAuthModel = {
username: process.env.BITBUCKET_USER,
password: process.env.BITBUCKET_PASS,
};
const elasticsearch: IAuthModel = {
username: process.env.ELASTICSEARCH_USER,
password: process.env.ELASTICSEARCH_PASS,
};
const jenkins: IAuthModel = {
username: process.env.JENKINS_USER,
password: process.env.JENKINS_PASS,
};
const jira: IAuthModel = {
username: process.env.JIRA_USER,
password: process.env.JIRA_PASS,
};
const sonarqube: IAuthModel = {
username: process.env.SONARQUBE_USER,
password: process.env.SONARQUBE_PASS,
};
const github: IAuthModel = {
username: process.env.GITHUB_USER,
password: process.env.GITHUB_PASS,
};
export default {
bitbucket: bitbucket,
elasticsearch: elasticsearch,
jenkins: jenkins,
jira: jira,
sonarqube: sonarqube,
github: github,
};