Class: Aws::SecretsManager::Types::GetRandomPasswordRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecretsManager::Types::GetRandomPasswordRequest
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-secretsmanager/types.rb
Overview
When making an API call, you may pass GetRandomPasswordRequest data as a hash:
{
password_length: 1,
exclude_characters: "ExcludeCharactersType",
exclude_numbers: false,
exclude_punctuation: false,
exclude_uppercase: false,
exclude_lowercase: false,
include_space: false,
require_each_included_type: false,
}
Instance Attribute Summary collapse
-
#exclude_characters ⇒ String
A string that includes characters that should not be included in the generated password.
-
#exclude_lowercase ⇒ Boolean
Specifies that the generated password should not include lowercase letters.
-
#exclude_numbers ⇒ Boolean
Specifies that the generated password should not include digits.
-
#exclude_punctuation ⇒ Boolean
Specifies that the generated password should not include punctuation characters.
-
#exclude_uppercase ⇒ Boolean
Specifies that the generated password should not include uppercase letters.
-
#include_space ⇒ Boolean
Specifies that the generated password can include the space character.
-
#password_length ⇒ Integer
The desired length of the generated password.
-
#require_each_included_type ⇒ Boolean
A boolean value that specifies whether the generated password must include at least one of every allowed character type.
Instance Attribute Details
#exclude_characters ⇒ String
A string that includes characters that should not be included in the generated password. The default is that all characters from the included sets can be used.
708 709 710 711 712 713 714 715 716 717 718 |
# File 'lib/aws-sdk-secretsmanager/types.rb', line 708 class GetRandomPasswordRequest < Struct.new( :password_length, :exclude_characters, :exclude_numbers, :exclude_punctuation, :exclude_uppercase, :exclude_lowercase, :include_space, :require_each_included_type) include Aws::Structure end |
#exclude_lowercase ⇒ Boolean
Specifies that the generated password should not include lowercase letters. The default if you do not include this switch parameter is that lowercase letters can be included.
708 709 710 711 712 713 714 715 716 717 718 |
# File 'lib/aws-sdk-secretsmanager/types.rb', line 708 class GetRandomPasswordRequest < Struct.new( :password_length, :exclude_characters, :exclude_numbers, :exclude_punctuation, :exclude_uppercase, :exclude_lowercase, :include_space, :require_each_included_type) include Aws::Structure end |
#exclude_numbers ⇒ Boolean
Specifies that the generated password should not include digits. The default if you do not include this switch parameter is that digits can be included.
708 709 710 711 712 713 714 715 716 717 718 |
# File 'lib/aws-sdk-secretsmanager/types.rb', line 708 class GetRandomPasswordRequest < Struct.new( :password_length, :exclude_characters, :exclude_numbers, :exclude_punctuation, :exclude_uppercase, :exclude_lowercase, :include_space, :require_each_included_type) include Aws::Structure end |
#exclude_punctuation ⇒ Boolean
Specifies that the generated password should not include punctuation characters. The default if you do not include this switch parameter is that punctuation characters can be included.
The following are the punctuation characters that can be included in the generated password if you don’t explicitly exclude them with ‘ExcludeCharacters` or `ExcludePunctuation`:
“ ! “ # $ % & ‘ ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~ “
708 709 710 711 712 713 714 715 716 717 718 |
# File 'lib/aws-sdk-secretsmanager/types.rb', line 708 class GetRandomPasswordRequest < Struct.new( :password_length, :exclude_characters, :exclude_numbers, :exclude_punctuation, :exclude_uppercase, :exclude_lowercase, :include_space, :require_each_included_type) include Aws::Structure end |
#exclude_uppercase ⇒ Boolean
Specifies that the generated password should not include uppercase letters. The default if you do not include this switch parameter is that uppercase letters can be included.
708 709 710 711 712 713 714 715 716 717 718 |
# File 'lib/aws-sdk-secretsmanager/types.rb', line 708 class GetRandomPasswordRequest < Struct.new( :password_length, :exclude_characters, :exclude_numbers, :exclude_punctuation, :exclude_uppercase, :exclude_lowercase, :include_space, :require_each_included_type) include Aws::Structure end |
#include_space ⇒ Boolean
Specifies that the generated password can include the space character. The default if you do not include this switch parameter is that the space character is not included.
708 709 710 711 712 713 714 715 716 717 718 |
# File 'lib/aws-sdk-secretsmanager/types.rb', line 708 class GetRandomPasswordRequest < Struct.new( :password_length, :exclude_characters, :exclude_numbers, :exclude_punctuation, :exclude_uppercase, :exclude_lowercase, :include_space, :require_each_included_type) include Aws::Structure end |
#password_length ⇒ Integer
The desired length of the generated password. The default value if you do not include this parameter is 32 characters.
708 709 710 711 712 713 714 715 716 717 718 |
# File 'lib/aws-sdk-secretsmanager/types.rb', line 708 class GetRandomPasswordRequest < Struct.new( :password_length, :exclude_characters, :exclude_numbers, :exclude_punctuation, :exclude_uppercase, :exclude_lowercase, :include_space, :require_each_included_type) include Aws::Structure end |
#require_each_included_type ⇒ Boolean
A boolean value that specifies whether the generated password must include at least one of every allowed character type. The default value is ‘True` and the operation requires at least one of every character type.
708 709 710 711 712 713 714 715 716 717 718 |
# File 'lib/aws-sdk-secretsmanager/types.rb', line 708 class GetRandomPasswordRequest < Struct.new( :password_length, :exclude_characters, :exclude_numbers, :exclude_punctuation, :exclude_uppercase, :exclude_lowercase, :include_space, :require_each_included_type) include Aws::Structure end |