forked from joetanx/conjur-jenkins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathauthn-jwt-hosts.yaml
33 lines (33 loc) · 983 Bytes
/
authn-jwt-hosts.yaml
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
- !group
id: jenkins-admins
owner: !policy root
- !policy
id: jwt-apps/jenkins
owner: !group jenkins-admins
body:
- !layer
- &jenkins-hosts
- !host
id: vxlab-AWS-Access-Key-Demo
annotations:
authn-jwt/jenkins/jenkins_full_name: AWS-Access-Key-Demo
authn-jwt/jenkins/jenkins_task_noun: Build
authn-jwt/jenkins/jenkins_pronoun: Pipeline
- !host
id: vxlab-MySQL-Demo
annotations:
authn-jwt/jenkins/jenkins_full_name: MySQL-Demo
authn-jwt/jenkins/jenkins_task_noun: Build
authn-jwt/jenkins/jenkins_pronoun: Pipeline
- !grant
role: !layer
members: *jenkins-hosts
- !grant
role: !group conjur/authn-jwt/jenkins/consumers
member: !layer jwt-apps/jenkins
- !grant
role: !group aws_api/consumers
member: !host jwt-apps/jenkins/vxlab-AWS-Access-Key-Demo
- !grant
role: !group world_db/consumers
member: !host jwt-apps/jenkins/vxlab-MySQL-Demo