Skip to content

GetRandomPasswordRequest

Source code in docs_src/capo_secrets_manager/types/get_random_password_request.py
class GetRandomPasswordRequest(TypedDict, closed=True):
    password_length: NotRequired[
        "capo_secrets_manager.types.password_length_type.PasswordLengthType"
    ]
    """<p>The length of the password. If you don't include this parameter, the default length is 32 characters.</p>"""
    exclude_characters: NotRequired[
        "capo_secrets_manager.types.exclude_characters_type.ExcludeCharactersType"
    ]
    """<p>A string of the characters that you don't want in the password.</p>"""
    exclude_numbers: NotRequired[
        "capo_secrets_manager.types.exclude_numbers_type.ExcludeNumbersType"
    ]
    """<p>Specifies whether to exclude numbers from the password. If you don't include this switch, the password can contain numbers.</p>"""
    exclude_punctuation: NotRequired[
        "capo_secrets_manager.types.exclude_punctuation_type.ExcludePunctuationType"
    ]
    r"""<p>Specifies whether to exclude the following punctuation characters from the password: <code>! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~</code>. If you don't include this switch, the password can contain punctuation.</p>"""
    exclude_uppercase: NotRequired[
        "capo_secrets_manager.types.exclude_uppercase_type.ExcludeUppercaseType"
    ]
    """<p>Specifies whether to exclude uppercase letters from the password. If you don't include this switch, the password can contain uppercase letters.</p>"""
    exclude_lowercase: NotRequired[
        "capo_secrets_manager.types.exclude_lowercase_type.ExcludeLowercaseType"
    ]
    """<p>Specifies whether to exclude lowercase letters from the password. If you don't include this switch, the password can contain lowercase letters.</p>"""
    include_space: NotRequired[
        "capo_secrets_manager.types.include_space_type.IncludeSpaceType"
    ]
    """<p>Specifies whether to include the space character. If you include this switch, the password can contain space characters.</p>"""
    require_each_included_type: NotRequired[
        "capo_secrets_manager.types.require_each_included_type_type.RequireEachIncludedTypeType"
    ]
    """<p>Specifies whether to include at least one upper and lowercase letter, one number, and one punctuation. If you don't include this switch, the password contains at least one of every character type.</p>"""

exclude_characters instance-attribute

exclude_characters: NotRequired[ExcludeCharactersType]

A string of the characters that you don't want in the password.

exclude_lowercase instance-attribute

exclude_lowercase: NotRequired[ExcludeLowercaseType]

Specifies whether to exclude lowercase letters from the password. If you don't include this switch, the password can contain lowercase letters.

exclude_numbers instance-attribute

exclude_numbers: NotRequired[ExcludeNumbersType]

Specifies whether to exclude numbers from the password. If you don't include this switch, the password can contain numbers.

exclude_punctuation instance-attribute

exclude_punctuation: NotRequired[ExcludePunctuationType]

Specifies whether to exclude the following punctuation characters from the password: ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~. If you don't include this switch, the password can contain punctuation.

exclude_uppercase instance-attribute

exclude_uppercase: NotRequired[ExcludeUppercaseType]

Specifies whether to exclude uppercase letters from the password. If you don't include this switch, the password can contain uppercase letters.

include_space instance-attribute

include_space: NotRequired[IncludeSpaceType]

Specifies whether to include the space character. If you include this switch, the password can contain space characters.

password_length instance-attribute

password_length: NotRequired[PasswordLengthType]

The length of the password. If you don't include this parameter, the default length is 32 characters.

require_each_included_type instance-attribute

require_each_included_type: NotRequired[RequireEachIncludedTypeType]

Specifies whether to include at least one upper and lowercase letter, one number, and one punctuation. If you don't include this switch, the password contains at least one of every character type.