{"id":46678669,"url":"https://github.com/mattdavis0351/packet-create-user-ssh-key","last_synced_at":"2026-03-08T23:35:32.849Z","repository":{"id":65160829,"uuid":"251549907","full_name":"mattdavis0351/packet-create-user-ssh-key","owner":"mattdavis0351","description":"GitHub Action to create user level ssh key on Packet.com","archived":false,"fork":false,"pushed_at":"2020-03-31T09:50:46.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-03T12:29:53.635Z","etag":null,"topics":["actions","cloud","deployment-automation","github-actions","packet"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mattdavis0351.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-31T08:56:25.000Z","updated_at":"2020-04-01T07:18:16.000Z","dependencies_parsed_at":"2023-01-13T15:44:09.373Z","dependency_job_id":null,"html_url":"https://github.com/mattdavis0351/packet-create-user-ssh-key","commit_stats":{"total_commits":4,"total_committers":2,"mean_commits":2.0,"dds":0.5,"last_synced_commit":"265901f48d47f4e528e9cd307c6bc2b9623256fc"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mattdavis0351/packet-create-user-ssh-key","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattdavis0351%2Fpacket-create-user-ssh-key","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattdavis0351%2Fpacket-create-user-ssh-key/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattdavis0351%2Fpacket-create-user-ssh-key/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattdavis0351%2Fpacket-create-user-ssh-key/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattdavis0351","download_url":"https://codeload.github.com/mattdavis0351/packet-create-user-ssh-key/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattdavis0351%2Fpacket-create-user-ssh-key/sbom","scorecard":{"id":625755,"data":{"date":"2025-08-11","repo":{"name":"github.com/mattdavis0351/packet-create-user-ssh-key","commit":"265901f48d47f4e528e9cd307c6bc2b9623256fc"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/4 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating python:3 to python:3@sha256:50cbf8e58ca53a806b99250b1ba2d16c19433e8c42e7eb4ac4ea924b095e280b","Warn: pipCommand not pinned by hash: Dockerfile:4","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   1 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-21T06:24:20.379Z","repository_id":65160829,"created_at":"2025-08-21T06:24:20.380Z","updated_at":"2025-08-21T06:24:20.380Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30277072,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T20:45:49.896Z","status":"ssl_error","status_checked_at":"2026-03-08T20:45:49.525Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["actions","cloud","deployment-automation","github-actions","packet"],"created_at":"2026-03-08T23:35:32.027Z","updated_at":"2026-03-08T23:35:32.840Z","avatar_url":"https://github.com/mattdavis0351.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Actions for creating user SSH keys on Packet.com\n\n## Automate your access\n\nThis GitHub Action will store a new user level SSH key on [packet.com](https://packet.com). SSH keys grant you access to resources such as deployed servers within a project.\n\n# Creating projects\n\nWith this action you can automate your workflow by adding user level SSH keys using the [packet.com api](https://api.packet.net).\n\nTo use this action you will first need an [authentication token](https://www.packet.com/developers/api/authentication/) which can be generated through the [Packet Portal](https://app.packet.net/login?redirect=%2F%3F__woopraid%3DjUPDKi0tqtym).\n\nYou will also need a public/private key pair. [Learn how to generate keys](https://www.packet.com/developers/docs/servers/key-features/ssh-keys/).\n\n**NEVER share your private key with anyone!**\n\n**Packet.com is NOT a free service, so you will be asked to provide billing information. This action will NOT have access to that information.**\n\n## Sample workflow that uses the packet-create-user-ssh-key action\n\n```yaml\n# File: .github/workflows/workflow.yml\n\non: [push]\n\nname: Packet Project Sample\n\njobs:\n  store-new-public-key:\n    runs-on: ubuntu-latest\n    name: Store new user level SSH key\n    steps:\n      - uses: mattdavis0351/packet-create-user-ssh-key@v1\n        id: key\n        with:\n          API_key: ${{ secrets.PACKET_API_KEY }}\n          key_label: our-admin\n          public_key: ${{ secrets.PACKET_PUBLIC_KEY }}\n```\n\n## Available Inputs\n\n| Input        | Description                                        | Default                     | Required           |\n| ------------ | -------------------------------------------------- | --------------------------- | ------------------ |\n| `API_key`    | Packet.com API authorization token                 | No key supplied             | :white_check_mark: |\n| `key_label`  | Desired label for users SSH key                    | Generated by GitHub Actions | :white_check_mark: |\n| `public_key` | Public key for user stored in as repository secret | No key supplied             | :white_check_mark: |\n\n## Outputs from action\n\nThis action supplies the following outputs which can be consumed by subsequent actions in the current job.\n\n| Output      | Description                                            |\n| ----------- | ------------------------------------------------------ |\n| `key_id`    | ID of the newly stored SSH key returned as a string    |\n| `key_owner` | Owner of the newly stored SSH key returned as a string |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattdavis0351%2Fpacket-create-user-ssh-key","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattdavis0351%2Fpacket-create-user-ssh-key","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattdavis0351%2Fpacket-create-user-ssh-key/lists"}