class Amazonite::SecretsManager::GetRandomPasswordRequest

Included Modules

Defined in:

secrets_manager/get_random_password_request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(password_length : Int64 | Nil = nil, exclude_characters : String | Nil = nil, exclude_numbers : Bool | Nil = nil, exclude_punctuation : Bool | Nil = nil, exclude_uppercase : Bool | Nil = nil, exclude_lowercase : Bool | Nil = nil, include_space : Bool | Nil = nil, require_each_included_type : Bool | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def exclude_characters : String | Nil #

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


[View source]
def exclude_characters=(exclude_characters : String | Nil) #

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


[View source]
def exclude_lowercase : Bool | Nil #

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


[View source]
def exclude_lowercase=(exclude_lowercase : Bool | Nil) #

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


[View source]
def exclude_numbers : Bool | Nil #

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


[View source]
def exclude_numbers=(exclude_numbers : Bool | Nil) #

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


[View source]
def exclude_punctuation : Bool | Nil #

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


[View source]
def exclude_punctuation=(exclude_punctuation : Bool | Nil) #

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


[View source]
def exclude_uppercase : Bool | Nil #

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


[View source]
def exclude_uppercase=(exclude_uppercase : Bool | Nil) #

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


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def include_space : Bool | Nil #

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


[View source]
def include_space=(include_space : Bool | Nil) #

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


[View source]
def password_length : Int64 | Nil #

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


[View source]
def password_length=(password_length : Int64 | Nil) #

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


[View source]
def require_each_included_type : Bool | Nil #

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.


[View source]
def require_each_included_type=(require_each_included_type : Bool | Nil) #

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.


[View source]
def validate! : Nil #

[View source]