File: federation.pp

package info (click to toggle)
puppet-module-keystone 27.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,352 kB
  • sloc: ruby: 9,331; pascal: 301; python: 33; sh: 10; makefile: 10
file content (27 lines) | stat: -rw-r--r-- 877 bytes parent folder | download
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
# == Class: keystone::federation
#
# == Parameters
#
# [*trusted_dashboards*]
#   (Optional) URL list of trusted horizon servers.
#   This setting ensures that keystone only sends token data back to trusted
#   servers. This is performed as a precaution, specifically to prevent man-in-
#   the-middle (MITM) attacks.
#   Defaults to $facts['os_service_default']
#
# [*remote_id_attribute*]
#   (Optional) Value to be used to obtain the entity ID of the Identity
#   Provider from the environment.
#   Defaults to $facts['os_service_default']
#
class keystone::federation (
  $trusted_dashboards  = $facts['os_service_default'],
  $remote_id_attribute = $facts['os_service_default'],
) {
  include keystone::deps

  keystone_config {
    'federation/trusted_dashboard':   value => $trusted_dashboards;
    'federation/remote_id_attribute': value => $remote_id_attribute;
  }
}