Hung-Wei Chiu | 6a075af | 2021-09-09 22:33:06 +0000 | [diff] [blame] | 1 | --- |
| 2 | # keycloak molecule/default/molecule.yml |
| 3 | # |
| 4 | # SPDX-FileCopyrightText: © 2021 Open Networking Foundation <support@opennetworking.org> |
| 5 | # SPDX-License-Identifier: Apache-2.0 |
| 6 | |
| 7 | dependency: |
| 8 | name: galaxy |
| 9 | driver: |
| 10 | name: docker |
| 11 | platforms: |
| 12 | - name: "debian-11-priv" |
| 13 | image: "onfinfra/molecule-systemd:debian-11" |
| 14 | privileged: true |
| 15 | volumes: |
| 16 | - "/sys/fs/cgroup:/sys/fs/cgroup:ro" |
| 17 | provisioner: |
| 18 | name: ansible |
| 19 | inventory: |
| 20 | host_vars: |
| 21 | debian-11-priv: |
Hung-Wei Chiu | 817f8b4 | 2021-09-16 06:08:36 +0000 | [diff] [blame] | 22 | keycloak_behind_reverse_proxy: false |
Hung-Wei Chiu | 7260e78 | 2021-09-14 18:33:46 +0000 | [diff] [blame] | 23 | keycloak_server: "http://localhost:8080" |
| 24 | keycloak_admin_api: "{{ keycloak_server }}/auth/admin/realms/master" |
| 25 | keycloak_ldap_testing_user: "test2" |
| 26 | keycloak_ldap_server: "ldap://127.0.0.1:389" |
| 27 | keycloak_ldap_userdn: "ou=people,dc=testing,dc=org" |
| 28 | keycloak_ldap_admin_dn: "cn=Directory Manager" |
| 29 | keycloak_ldap_admin_password: "changeme" |
| 30 | keyclaok_ldap_user_object: "inetOrgPerson,organizationalPerson" |
Hung-Wei Chiu | 6a075af | 2021-09-09 22:33:06 +0000 | [diff] [blame] | 31 | keycloak_admin_username: "admin" |
| 32 | keycloak_admin_password: "changeme" |
Hung-Wei Chiu | 718cd26 | 2021-09-13 18:20:21 +0000 | [diff] [blame] | 33 | keycloak_client_settings: |
| 34 | - name: client_testing |
| 35 | client_id: https://testing.client.site/v1-saml/keycloak/saml/metadata |
| 36 | auth_realm: master |
| 37 | protocol: saml |
| 38 | description: "Testing Server" |
| 39 | attributes: |
| 40 | saml.client.signature: false |
| 41 | saml.assertion.signature: true |
| 42 | saml_idp_initiated_sso_url_name: "IdPSSOName" |
| 43 | saml.server.signature: true |
| 44 | saml_name_id_format: "username" |
| 45 | redirect_uris: |
| 46 | - https://testing.client.site/v1-saml/keycloak/saml/acs |
| 47 | protocol_mappers: |
| 48 | - config: |
| 49 | attribute.name: "uid" |
| 50 | attribute.nameformat: "Basic" |
| 51 | user.attribute: "username" |
| 52 | name: "x509 username" |
| 53 | protocol: "saml" |
| 54 | protocolMapper: "saml-user-property-mapper" |
| 55 | - config: |
| 56 | attribute.name: "member" |
| 57 | attribute.nameformat: "Basic" |
| 58 | full.path: "false" |
| 59 | single: "true" |
| 60 | name: "groups" |
| 61 | protocol: "saml" |
| 62 | protocolMapper: "saml-group-membership-mapper" |
Hung-Wei Chiu | 6a075af | 2021-09-09 22:33:06 +0000 | [diff] [blame] | 63 | verifier: |
| 64 | name: ansible |