Module Values.GetRandomPasswordRequestSource

Generates a random password. We recommend that you specify the maximum length and include every character type that the system you are generating a password for can support. By default, Secrets Manager uses uppercase and lowercase letters, numbers, and the following characters in passwords: !\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~ Secrets Manager generates a CloudTrail log entry when you call this action. Required permissions: secretsmanager:GetRandomPassword. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

Sourcetype nonrec t = {
  1. passwordLength : PasswordLengthType.t option;
    (*

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

    *)
  2. excludeCharacters : ExcludeCharactersType.t option;
    (*

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

    *)
  3. excludeNumbers : ExcludeNumbersType.t option;
    (*

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

    *)
  4. excludePunctuation : ExcludePunctuationType.t option;
    (*

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

    *)
  5. excludeUppercase : ExcludeUppercaseType.t option;
    (*

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

    *)
  6. excludeLowercase : ExcludeLowercaseType.t option;
    (*

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

    *)
  7. includeSpace : IncludeSpaceType.t option;
    (*

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

    *)
  8. requireEachIncludedType : RequireEachIncludedTypeType.t option;
    (*

    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.

    *)
}
Sourceval make : ?passwordLength:??? -> ?excludeCharacters:??? -> ?excludeNumbers:??? -> ?excludePunctuation:??? -> ?excludeUppercase:??? -> ?excludeLowercase:??? -> ?includeSpace:??? -> ?requireEachIncludedType:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of ExcludeNumbersType.t | `Long of PasswordLengthType.t | `String of ExcludeCharactersType.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t