summaryrefslogtreecommitdiffstats
path: root/qa/suites/rgw/crypt/2-kms/barbican.yaml
blob: 0c75a131cceb3fc8def6678a16e043a57d08921c (plain)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
overrides:
  ceph:
    conf:
      client:
        rgw crypt s3 kms backend: barbican
        rgw keystone barbican project: rgwcrypt
        rgw keystone barbican user: rgwcrypt-user
        rgw keystone barbican password: rgwcrypt-pass
        rgw keystone barbican domain: Default
        rgw keystone api version: 3
        rgw keystone accepted roles: admin,Member,creator
        rgw keystone implicit tenants: true
        rgw keystone accepted admin roles: admin
        rgw swift enforce content length: true
        rgw swift account in url: true
        rgw swift versioning enabled: true
        rgw keystone admin project: admin
        rgw keystone admin user: admin
        rgw keystone admin password: ADMIN
        rgw keystone admin domain: Default
  rgw:
    client.0:
      use-keystone-role: client.0
      use-barbican-role: client.0

tasks:
- tox: [ client.0 ]
- keystone:
    client.0:
      force-branch: stable/2023.1
      services:
        - name: swift
          type: object-store
          description: Swift Service
      projects:
        - name: rgwcrypt
          description: Encryption Tenant
          domain: default
        - name: barbican
          description: Barbican
          domain: default
        - name: s3
          description: S3 project
          domain: default
      users:
        - name: rgwcrypt-user
          password: rgwcrypt-pass
          project: rgwcrypt
          domain: default
        - name: barbican-user
          password: barbican-pass
          project: barbican
          domain: default
        - name: s3-user
          password: s3-pass
          project: s3
          domain: default
      roles: [ name: Member, name: creator ]
      role-mappings:
        - name: Member
          user: rgwcrypt-user
          project: rgwcrypt
        - name: admin
          user: barbican-user
          project: barbican
        - name: creator
          user: s3-user
          project: s3
- barbican:
    client.0:
      force-branch: stable/xena
      use-keystone-role: client.0
      keystone_authtoken:
        auth_plugin: password
        username: barbican-user
        password: barbican-pass
        user_domain_name: Default
      rgw_user:
        tenantName: rgwcrypt
        username: rgwcrypt-user
        password: rgwcrypt-pass
      secrets:
        - name: my-key-1
          base64: a2V5MS5GcWVxKzhzTGNLaGtzQkg5NGVpb1FKcFpGb2c=
          tenantName: s3
          username: s3-user
          password: s3-pass
        - name: my-key-2
          base64: a2V5Mi5yNUNNMGFzMVdIUVZxcCt5NGVmVGlQQ1k4YWg=
          tenantName: s3
          username: s3-user
          password: s3-pass