{"id":19508879,"url":"https://github.com/rhythmictech/terraform-aws-secretsmanager-random-secret","last_synced_at":"2025-08-11T21:16:35.146Z","repository":{"id":43374480,"uuid":"191015767","full_name":"rhythmictech/terraform-aws-secretsmanager-random-secret","owner":"rhythmictech","description":"Generates and stores a random string in Secrets Manager.","archived":false,"fork":false,"pushed_at":"2022-08-31T09:34:46.000Z","size":21,"stargazers_count":5,"open_issues_count":1,"forks_count":12,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-26T03:44:02.291Z","etag":null,"topics":["aws","terraform","terraform-module","terraform-modules"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/modules/rhythmictech/secretsmanager-random-secret","language":"HCL","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/rhythmictech.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":"2019-06-09T14:22:53.000Z","updated_at":"2021-11-18T13:48:02.000Z","dependencies_parsed_at":"2022-09-02T18:21:23.123Z","dependency_job_id":null,"html_url":"https://github.com/rhythmictech/terraform-aws-secretsmanager-random-secret","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/rhythmictech/terraform-aws-secretsmanager-random-secret","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhythmictech%2Fterraform-aws-secretsmanager-random-secret","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhythmictech%2Fterraform-aws-secretsmanager-random-secret/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhythmictech%2Fterraform-aws-secretsmanager-random-secret/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhythmictech%2Fterraform-aws-secretsmanager-random-secret/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhythmictech","download_url":"https://codeload.github.com/rhythmictech/terraform-aws-secretsmanager-random-secret/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhythmictech%2Fterraform-aws-secretsmanager-random-secret/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269958495,"owners_count":24503570,"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-08-11T02:00:10.019Z","response_time":75,"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":["aws","terraform","terraform-module","terraform-modules"],"created_at":"2024-11-10T23:10:12.546Z","updated_at":"2025-08-11T21:16:35.130Z","avatar_url":"https://github.com/rhythmictech.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-aws-secretsmanager-random-secret\n\n[![](https://github.com/rhythmictech/terraform-aws-secretsmanager-random-secret/workflows/check/badge.svg)](https://github.com/rhythmictech/terraform-aws-secretsmanager-random-secret/actions)\n\nGenerates and stores a random string in Secrets Manager.\n\nExample:\n\n```\nmodule \"random_password\" {\n  source                  = \"git::https://github.com/rhythmictech/terraform-aws-secretsmanager-secret\"\n  name_prefix             = \"RDSPassword\"\n  description             = \"RDS instance master password\"\n  length                  = 20\n  override_special        = \"@#$%^*()-=_+[]{};\u003c\u003e?,./\"\n}\n```\n\n\u003c!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n## Requirements\n\n| Name | Version |\n|------|---------|\n| random | \u003e= 2.2.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| aws | n/a |\n| random | \u003e= 2.2.0 |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| cloudtrail\\_log\\_group | Cloudtrail Log Group name (required if `enable_secret_access_notification=true`) | `string` | `\"change_me\"` | no |\n| create\\_secret | If false, this module does nothing (since tf doesn't support conditional modules) | `bool` | `true` | no |\n| description | Description to add to Secret | `string` | `\"\"` | no |\n| enable\\_secret\\_access\\_notification | Notify SNS topic on secret access (not recommended for most use cases) | `bool` | `false` | no |\n| kms\\_key\\_id | Optional. The KMS Key ID to encrypt the secret. KMS key arn or alias can be used. | `any` | `null` | no |\n| length | Length of string | `number` | n/a | yes |\n| min\\_lower | Minimum number of lower case characters | `number` | `0` | no |\n| min\\_numeric | Minimum number of numbers | `number` | `0` | no |\n| min\\_special | Minimum number of special characters | `number` | `0` | no |\n| min\\_upper | Minimum number of upper case characters | `number` | `0` | no |\n| name | Name (omit to use name\\_prefix) | `string` | `\"\"` | no |\n| name\\_prefix | Name Prefix (not used if name specified) | `string` | `\"terraform\"` | no |\n| override\\_special | n/a | `string` | `\"\"` | no |\n| pass\\_version | Password version. Increment this to trigger a new password. | `number` | `1` | no |\n| recovery_window_in_days | Number of days to wait before deleting the secret | `number` | `\"30\"` | no |\n| secret\\_access\\_metric\\_namespace | Metric namespace to use for CloudWatch metric | `string` | `\"SecretsManager\"` | no |\n| secret\\_access\\_notification\\_arn | SNS topic to notify on secret access (required if `enable_secret_access_notification=true`) | `string` | `\"\"` | no |\n| tags | Tags to add to supported resources | `map(string)` | `{}` | no |\n| use\\_lower | Use lower case  characters | `bool` | `true` | no |\n| use\\_number | Use numbers | `bool` | `true` | no |\n| use\\_special | Use special characters | `bool` | `true` | no |\n| use\\_upper | Use upper case characters | `bool` | `true` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| secret | Generated secret |\n| secret\\_arn | The ARN of the secret |\n| version\\_id | The unique identifier of the version of the secret. |\n\n\u003c!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n\n## Warning\nSecrets are generated using the random provider and are stored in the tfstate in plaintext.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhythmictech%2Fterraform-aws-secretsmanager-random-secret","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhythmictech%2Fterraform-aws-secretsmanager-random-secret","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhythmictech%2Fterraform-aws-secretsmanager-random-secret/lists"}