summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config/manifests/x509/client_ca/key.pp
blob: 0b537e7682ee9ad3038bfc4db5738a4697b83549 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class site_config::x509::client_ca::key {

  ##
  ## This is for the special CA that is used exclusively for generating
  ## client certificates by the webapp.
  ##

  include ::site_config::params

  $x509 = hiera('x509')
  $key  = $x509['client_ca_key']

  x509::key { $site_config::params::client_ca_name:
    content => $key
  }
}