Generate a random password.
data "aws_secretsmanager_random_password" "test" {
password_length = 50
exclude_numbers = true
}
exclude_characters
- (Optional) String of the characters that you don't want in the password.exclude_lowercase
- (Optional) Specifies whether to exclude lowercase letters from the password.exclude_numbers
- (Optional) Specifies whether to exclude numbers from the password.exclude_punctuation
- (Optional) Specifies whether to exclude the following punctuation characters from the password: ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~ .
exclude_uppercase
- (Optional) Specifies whether to exclude uppercase letters from the password.include_space
- (Optional) Specifies whether to include the space character.password_length
- (Optional) Length of the password.require_each_included_type
- (Optional) Specifies whether to include at least one upper and lowercase letter, one number, and one punctuation.This data source exports the following attributes in addition to the arguments above:
random_password
- Random password.