Resource Type: ssh_key

Defined in:
lib/puppet/type/ssh_key.rb
Providers:
openssh

Overview

Manage SSH keys

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent

Parameters

  • comment

    Comment for SSH key

  • name (namevar)

    User to manage SSH key for

  • passphrase

    Passphrase for key

  • path

    File path for key

  • provider

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

  • size

    Size of key to create

  • type (defaults to: ed25519)

    Kind of key to create

    Supported values:
    • rsa
    • ecdsa
    • ed25519