Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-7595

ssh_authorized_key should be able to take a ready-made OpenSSH public key

    Details

    • Type: Improvement
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: sshkeys_core
    • Template:
    • Acceptance Criteria:
      Hide

        ssh_authorized_key {'mi':
          user   => 'root',
          pubkey => 'puppet:///keys/mi.pub'
      }
      

      Show
      ssh_authorized_key { 'mi' : user => 'root' , pubkey => 'puppet:///keys/mi.pub' }
    • Team:
      Coremunity

      Description

      When creating adding an authorized public key with the Ssh_authorized_key-resource, the manifest is supposed to provide all of the pieces of the key.

      It would be very nice, if the resource could simply parse an existing foo.pub in the format used by OpenSSH (maybe, in some other formats as well). The path to the file can be interpreted the same way, source-attribute of the File-resource is or, perhaps even better, the way template() interprets its arguments.

      Options specified in the manifest can complement and, in case of conflict, overwrite those found in the file.

      By treating the keys as data rather than as code, it would be easier for users to deal with large number of them.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                mi Mikhail T.
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Zendesk Support