Resource Type: private_key

Defined in:
lib/puppet/type/private_key.rb
Providers:
openssl

Overview

manage a private key

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent

Parameters

  • decrypt

    If true, decrypts the private key before writing to disk. Requires password_file parameter to be set

    Supported values:
    • true
    • false
    • yes
    • no
  • group

    Specifies a permissions group for the private key. Valid options: a string containing a group name or integer containing a gid.

  • mode

    Specifies the permissions mode of the private key. Valid options: a string containing a permission mode value in octal notation.

  • owner

    Specifies the owner of the private key. Valid options: a string containing a username or integer containing a uid.

  • password_file

    Path to file containing the private key file password

  • path

    Path to the private key file

  • provider

    The specific backend to use for this ‘private_key` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.

  • source

    Specifies the source of the private key.