{"id":15022629,"url":"https://github.com/puppetlabs/puppetlabs-sshkeys_core","last_synced_at":"2025-04-04T22:07:00.363Z","repository":{"id":44786836,"uuid":"136063782","full_name":"puppetlabs/puppetlabs-sshkeys_core","owner":"puppetlabs","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-21T12:32:46.000Z","size":258,"stargazers_count":4,"open_issues_count":10,"forks_count":33,"subscribers_count":90,"default_branch":"main","last_synced_at":"2025-03-24T02:04:32.614Z","etag":null,"topics":["module","ssh","ssh-authorized-keys","sshkey","supported"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/puppetlabs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-04T18:02:09.000Z","updated_at":"2025-03-21T12:32:50.000Z","dependencies_parsed_at":"2024-06-18T18:36:01.840Z","dependency_job_id":"fd9e0f35-4287-4045-a4de-94425b3659ef","html_url":"https://github.com/puppetlabs/puppetlabs-sshkeys_core","commit_stats":{"total_commits":136,"total_committers":26,"mean_commits":5.230769230769231,"dds":0.7720588235294118,"last_synced_commit":"514187bf7fef71d157050f5e3af6e3a9a2ac72f7"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puppetlabs%2Fpuppetlabs-sshkeys_core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puppetlabs%2Fpuppetlabs-sshkeys_core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puppetlabs%2Fpuppetlabs-sshkeys_core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puppetlabs%2Fpuppetlabs-sshkeys_core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/puppetlabs","download_url":"https://codeload.github.com/puppetlabs/puppetlabs-sshkeys_core/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245383176,"owners_count":20606268,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["module","ssh","ssh-authorized-keys","sshkey","supported"],"created_at":"2024-09-24T19:58:12.904Z","updated_at":"2025-03-28T21:07:01.938Z","avatar_url":"https://github.com/puppetlabs.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# sshkeys_core\n\n[![Modules Status](https://github.com/puppetlabs/puppetlabs-sshkeys_core/workflows/%5BDaily%5D%20Unit%20Tests%20with%20nightly%20Puppet%20gem/badge.svg?branch=main)](https://github.com/puppetlabs/puppetlabs-sshkeys_core/actions)\n[![Modules Status](https://github.com/puppetlabs/puppetlabs-sshkeys_core/workflows/Static%20Code%20Analysis/badge.svg?branch=main)](https://github.com/puppetlabs/puppetlabs-sshkeys_core/actions) \n[![Modules Status](https://github.com/puppetlabs/puppetlabs-sshkeys_core/workflows/Unit%20Tests%20with%20nightly%20Puppet%20gem/badge.svg?branch=main)](https://github.com/puppetlabs/puppetlabs-sshkeys_core/actions) \n[![Modules Status](https://github.com/puppetlabs/puppetlabs-sshkeys_core/workflows/Unit%20Tests%20with%20released%20Puppet%20gem/badge.svg?branch=main)](https://github.com/puppetlabs/puppetlabs-sshkeys_core/actions)\n\n\n## Table of Contents\n\n1. [Description](#description)\n2. [Usage - Configuration options and additional functionality](#usage)\n3. [Reference - User documentation](#reference)\n4. [Development - Guide for contributing to the module](#development)\n\n\u003ca id=\"description\"\u003e\u003c/a\u003e\n## Description\n\nManage SSH `authorized_keys`, and `ssh_known_hosts` files.\n\n\u003ca id=\"usage\"\u003e\u003c/a\u003e\n## Usage\n\nTo manage an authorized key for a user, use the following code:\n\n```\nssh_authorized_key { 'nick@magpie.example.com':\n  ensure =\u003e present,\n  user   =\u003e 'nick',\n  type   =\u003e 'ssh-rsa',\n  key    =\u003e 'AAAAB3Nza[...]qXfdaQ==',\n}\n```\n\nThis would create a key that appears in your ~/.ssh/id_rsa.pub file like this with resource name as comment:\n```\nssh-rsa AAAAB3Nza[...]qXfdaQ== nick@magpie.example.com\n```\n\nTo manage a known hosts file entry, use the following code:\n\n```\nsshkey { 'github.com':\n  ensure =\u003e present,\n  type   =\u003e 'ssh-rsa',\n  key    =\u003e 'AAAAB3Nza[...]UFFAaQ==',\n}\n```\n\u003ca id=\"reference\"\u003e\u003c/a\u003e\n## Reference\n\nPlease see REFERENCE.md for the reference documentation.\n\nThis module is documented using Puppet Strings.\n\nFor a quick primer on how Strings works, please see [this blog post](https://puppet.com/blog/using-puppet-strings-generate-great-documentation-puppet-modules) or the [README.md](https://github.com/puppetlabs/puppet-strings/blob/master/README.md) for Puppet Strings.\n\nTo generate documentation locally, run the following command:\n```\nbundle install\nbundle exec puppet strings generate ./lib/**/*.rb\n```\nThis command will create a browsable `\\_index.html` file in the `doc` directory. The references available here are all generated from YARD-style comments embedded in the code base. When any development happens on this module, the impacted documentation should also be updated.\n\n\u003ca id=\"development\"\u003e\u003c/a\u003e\n## Development\n\nPuppet Labs modules on the Puppet Forge are open projects, and community contributions are essential for keeping them great. We can't access the huge number of platforms and myriad of hardware, software, and deployment configurations that Puppet is intended to serve.\n\nWe want to keep it as easy as possible to contribute changes so that our modules work in your environment. There are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things.\n\nFor more information, see our [module contribution guide.](https://puppet.com/docs/puppet/latest/contributing.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuppetlabs%2Fpuppetlabs-sshkeys_core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpuppetlabs%2Fpuppetlabs-sshkeys_core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuppetlabs%2Fpuppetlabs-sshkeys_core/lists"}