aws.secretsmanager.get_random_password
Example SQL Queries
SELECT * FROMaws.secretsmanager.get_random_password;Description
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.
Table Definition
| Column Name | Column Data Type |
|---|---|
| exclude_characters Input Column A string of the characters that you don't want in the password. | VARCHAR |
| exclude_lowercase Input Column Specifies whether to exclude lowercase letters from the password. If you don't include this switch, the password can contain lowercase letters. | BOOLEAN |
| exclude_numbers Input Column Specifies whether to exclude numbers from the password. If you don't include this switch, the password can contain numbers. | BOOLEAN |
| exclude_punctuation Input Column Specifies whether to exclude the following punctuation characters from the password: ! " # $ % & ' ( ) * + , - ./: ; < = > ? @ [ \ ] ^ _ ` { | } ~. If you don't include this switch, the password can contain punctuation. | BOOLEAN |
| exclude_uppercase Input Column Specifies whether to exclude uppercase letters from the password. If you don't include this switch, the password can contain uppercase letters. | BOOLEAN |
| include_space Input Column Specifies whether to include the space character. If you include this switch, the password can contain space characters. | BOOLEAN |
| password_length Input Column The length of the password. If you don't include this parameter, the default length is 32 characters. | BIGINT |
| require_each_included_type Input Column 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. | BOOLEAN |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| random_password A string with the password. | VARCHAR |