{"id":15877608,"url":"https://github.com/ishuar/terraform-sshkey-generator","last_synced_at":"2026-02-13T08:34:19.785Z","repository":{"id":39641906,"uuid":"497735725","full_name":"ishuar/terraform-sshkey-generator","owner":"ishuar","description":"This module generates the SSH key for any development used case. ","archived":false,"fork":false,"pushed_at":"2025-03-14T18:46:14.000Z","size":20,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T23:28:54.926Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HCL","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/ishuar.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-29T23:52:26.000Z","updated_at":"2025-03-14T18:45:46.000Z","dependencies_parsed_at":"2024-10-06T02:02:26.348Z","dependency_job_id":"b1cf5865-b16d-4ab1-a450-a4ce5929f438","html_url":"https://github.com/ishuar/terraform-sshkey-generator","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":0.4,"last_synced_commit":"1835da83a62e0cdff2e3d32ced6d1fe1f5c54c2d"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ishuar/terraform-sshkey-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ishuar%2Fterraform-sshkey-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ishuar%2Fterraform-sshkey-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ishuar%2Fterraform-sshkey-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ishuar%2Fterraform-sshkey-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ishuar","download_url":"https://codeload.github.com/ishuar/terraform-sshkey-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ishuar%2Fterraform-sshkey-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278297601,"owners_count":25963759,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-06T02:02:19.942Z","updated_at":"2025-10-04T10:13:26.353Z","avatar_url":"https://github.com/ishuar.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_azurerm\"\u003e\u003c/a\u003e [azurerm](#requirement\\_azurerm) | ~\u003e 3.50 |\n| \u003ca name=\"requirement_local\"\u003e\u003c/a\u003e [local](#requirement\\_local) | ~\u003e2.4 |\n| \u003ca name=\"requirement_tls\"\u003e\u003c/a\u003e [tls](#requirement\\_tls) | ~\u003e3.4 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_azurerm\"\u003e\u003c/a\u003e [azurerm](#provider\\_azurerm) | ~\u003e 3.50 |\n| \u003ca name=\"provider_local\"\u003e\u003c/a\u003e [local](#provider\\_local) | ~\u003e2.4 |\n| \u003ca name=\"provider_tls\"\u003e\u003c/a\u003e [tls](#provider\\_tls) | ~\u003e3.4 |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [azurerm_key_vault.password_key_vault](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault) | resource |\n| [azurerm_key_vault_access_policy.user_access_policy](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_access_policy) | resource |\n| [azurerm_key_vault_secret.kv_secret](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret) | resource |\n| [azurerm_resource_group.ssh_key_kv_rg](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/resource_group) | resource |\n| [local_sensitive_file.private_key](https://registry.terraform.io/providers/hashicorp/local/latest/docs/resources/sensitive_file) | resource |\n| [tls_private_key.ssh](https://registry.terraform.io/providers/hashicorp/tls/latest/docs/resources/private_key) | resource |\n| [azurerm_client_config.current](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/client_config) | data source |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_algorithm\"\u003e\u003c/a\u003e [algorithm](#input\\_algorithm) | (Required) Name of the algorithm to use when generating the private key. Currently-supported values are RSA, ECDSA and ED25519. | `string` | n/a | yes |\n| \u003ca name=\"input_directory_permission\"\u003e\u003c/a\u003e [directory\\_permission](#input\\_directory\\_permission) | (optional) Permissions to set for directories created (before umask), expressed as string in numeric notation. Default value is 0700 | `string` | `\"700\"` | no |\n| \u003ca name=\"input_ecdsa_curve\"\u003e\u003c/a\u003e [ecdsa\\_curve](#input\\_ecdsa\\_curve) | (optional)  When algorithm is ECDSA, the name of the elliptic curve to use | `string` | `\"P224\"` | no |\n| \u003ca name=\"input_enable_az_key_vault_secret\"\u003e\u003c/a\u003e [enable\\_az\\_key\\_vault\\_secret](#input\\_enable\\_az\\_key\\_vault\\_secret) | (Optional) Whether to push generated ssh private key to azure keyVault as secret. | `bool` | `false` | no |\n| \u003ca name=\"input_enabled_for_disk_encryption\"\u003e\u003c/a\u003e [enabled\\_for\\_disk\\_encryption](#input\\_enabled\\_for\\_disk\\_encryption) | (optional)Boolean flag to specify whether Azure Disk Encryption is permitted to retrieve secrets from the vault and unwrap keys. | `bool` | `false` | no |\n| \u003ca name=\"input_expiration_date\"\u003e\u003c/a\u003e [expiration\\_date](#input\\_expiration\\_date) | (optional) Expiration UTC datetime (2024-01-31T00:00:00Z) | `string` | `\"2024-01-31T00:00:00Z\"` | no |\n| \u003ca name=\"input_file_permission\"\u003e\u003c/a\u003e [file\\_permission](#input\\_file\\_permission) | (optional) Permissions to set for the output file (before umask), expressed as string in numeric notation. Default value is 0700 | `string` | `\"700\"` | no |\n| \u003ca name=\"input_location\"\u003e\u003c/a\u003e [location](#input\\_location) | (optional) The location of resource group in which Key vault and associated resources are created | `string` | `\"westeurope\"` | no |\n| \u003ca name=\"input_private_key_filename\"\u003e\u003c/a\u003e [private\\_key\\_filename](#input\\_private\\_key\\_filename) | (optional) Filename for private key saved locally on machine with path | `string` | `\"./private_ssh_key\"` | no |\n| \u003ca name=\"input_purge_protection_enabled\"\u003e\u003c/a\u003e [purge\\_protection\\_enabled](#input\\_purge\\_protection\\_enabled) | (optional) Is Purge Protection enabled for this Key Vault? | `bool` | `false` | no |\n| \u003ca name=\"input_resource_group_name\"\u003e\u003c/a\u003e [resource\\_group\\_name](#input\\_resource\\_group\\_name) | (optional) Resource group in which Key vault and respective resources would be created | `string` | `\"kv-auto-ssh-ppk-key\"` | no |\n| \u003ca name=\"input_rsa_bits\"\u003e\u003c/a\u003e [rsa\\_bits](#input\\_rsa\\_bits) | (optional)When algorithm is RSA, the size of the generated RSA key, in bits | `number` | `4096` | no |\n| \u003ca name=\"input_soft_delete_retention_days\"\u003e\u003c/a\u003e [soft\\_delete\\_retention\\_days](#input\\_soft\\_delete\\_retention\\_days) | (optional) he number of days that items should be retained for once soft-deleted. | `number` | `7` | no |\n| \u003ca name=\"input_ssh_key_vault_name\"\u003e\u003c/a\u003e [ssh\\_key\\_vault\\_name](#input\\_ssh\\_key\\_vault\\_name) | (optional) Key Vault name where private key would be stored as password | `string` | `\"kv-ssh-key-module\"` | no |\n| \u003ca name=\"input_ssh_kv_secret\"\u003e\u003c/a\u003e [ssh\\_kv\\_secret](#input\\_ssh\\_kv\\_secret) | (optional) KV secret which contains the ssh ppk | `string` | `\"secret-ssh-ppk-module\"` | no |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | (optional) Tags atttached with the resources | `map(string)` | `{}` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_public_ssh_key\"\u003e\u003c/a\u003e [public\\_ssh\\_key](#output\\_public\\_ssh\\_key) | n/a |\n| \u003ca name=\"output_public_ssh_key_pem\"\u003e\u003c/a\u003e [public\\_ssh\\_key\\_pem](#output\\_public\\_ssh\\_key\\_pem) | n/a |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fishuar%2Fterraform-sshkey-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fishuar%2Fterraform-sshkey-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fishuar%2Fterraform-sshkey-generator/lists"}