{"id":15393889,"url":"https://github.com/mitchellh/terraform-aws-dynamic-keys","last_synced_at":"2025-04-14T10:35:39.585Z","repository":{"id":52703233,"uuid":"128424219","full_name":"mitchellh/terraform-aws-dynamic-keys","owner":"mitchellh","description":"Terraform module that dynamically generates a public/private keypair.","archived":false,"fork":false,"pushed_at":"2021-04-26T02:10:23.000Z","size":7,"stargazers_count":26,"open_issues_count":2,"forks_count":25,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-10T05:59:26.677Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/modules/mitchellh/dynamic-keys/","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mitchellh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-06T17:19:41.000Z","updated_at":"2023-05-03T08:40:59.000Z","dependencies_parsed_at":"2022-08-22T08:51:11.561Z","dependency_job_id":null,"html_url":"https://github.com/mitchellh/terraform-aws-dynamic-keys","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Fterraform-aws-dynamic-keys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Fterraform-aws-dynamic-keys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Fterraform-aws-dynamic-keys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Fterraform-aws-dynamic-keys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mitchellh","download_url":"https://codeload.github.com/mitchellh/terraform-aws-dynamic-keys/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248863556,"owners_count":21174026,"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":[],"created_at":"2024-10-01T15:20:41.022Z","updated_at":"2025-04-14T10:35:39.562Z","avatar_url":"https://github.com/mitchellh.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"AWS Dynamic Keypair\n========================\n\nThis Terraform module dynamically generates an SSH key pair, imports it\ninto AWS, and provides the keypair via outputs.\n\nThis can be used to create AWS resources with a keypair that doesn't have\nto exist prior to the Terraform run. This is great for demos! Warning that\nthe private key information will be in the Terraform state, so this isn't\nwell suited currently for production environments.\n\nWhat This Module Does\n---------------------\n\nFeatures:\n\n  * Creates a public/private keypair.\n\n  * Writes the keypair into files (optional).\n\n  * Imports the keypair into AWS.\n\n  * Provides the OpenSSH-formatted public key and a PEM-encoded private\n    key as output values that can be used directly with `connection` blocks.\n\nUsage\n-----\n\nRun `terraform apply` against the example configuration below:\n\n```hcl\nprovider \"aws\" {\n  version = \"~\u003e 1.0.0\"\n  region  = \"us-west-2\"\n}\n\nmodule \"keypair\" {\n  source = \"mitchellh/dynamic-keys/aws\"\n  path   = \"${path.root}/keys\"\n}\n\noutput \"private_key_pem\" {\n  value = \"${module.keypair.private_key_pem}\"\n}\n```\n\nThe SSH keys created are also in the `./keys` subdirectory relative to\nthe root Terraform configuration if you need those for any other reason.\nThese keys will be automatically deleted and removed when your configuration\nis destroyed (via `terraform destroy`).\n\nTerraform version\n-----------------\n\nTerraform version 0.11.0 or newer is required for this version to work.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitchellh%2Fterraform-aws-dynamic-keys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitchellh%2Fterraform-aws-dynamic-keys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitchellh%2Fterraform-aws-dynamic-keys/lists"}