Resource Type: dsc_xpfximport

Defined in:
lib/puppet/type/dsc_xpfximport.rb
Providers:
powershell

Overview

The DSC xPfxImport resource type. Automatically generated from ‘xCertificate/DSCResources/MSFT_xPfxImport/MSFT_xPfxImport.schema.mof’

To learn more about PowerShell Desired State Configuration, please visit technet.microsoft.com/en-us/library/dn249912.aspx.

For more information about built-in DSC Resources, please visit technet.microsoft.com/en-us/library/dn249921.aspx.

For more information about xDsc Resources, please visit github.com/PowerShell/DscResources.

Properties

  • ensure

    The basic property that the resource should be in.

    Supported values:
    • exists?
    • present
    • absent

Parameters

  • dsc_credential

    Credential - A ‘PSCredential` object that is used to decrypt the PFX file.

  • dsc_ensure

    Ensure - Specifies whether the PFX file should be present or absent. Valid values are Present, Absent.

  • dsc_exportable

    Exportable - Determines whether the private key is exportable from the machine after it has been imported

    Supported values:
    • true
    • false
  • dsc_location

    Location - The Windows Certificate Store Location to import the PFX file to. Valid values are LocalMachine, CurrentUser.

  • dsc_path

    Path - The path to the PFX file you want to import.

  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • dsc_store

    Store - The Windows Certificate Store Name to import the PFX file to.

  • dsc_thumbprint

    Thumbprint - The thumbprint (unique identifier) of the PFX file you’re importing.

  • name (namevar)
  • provider

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