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

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

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

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