get Random Password
Generate a random password.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.secretsmanager.SecretsmanagerFunctions;
import com.pulumi.aws.secretsmanager.inputs.GetRandomPasswordArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var test = SecretsmanagerFunctions.getRandomPassword(GetRandomPasswordArgs.builder()
.excludeNumbers(true)
.passwordLength(50)
.build());
}
}
Return
A collection of values returned by getRandomPassword.
Parameters
A collection of arguments for invoking getRandomPassword.
Return
A collection of values returned by getRandomPassword.
Parameters
String of the characters that you don't want in the password.
Specifies whether to exclude lowercase letters from the password.
Specifies whether to exclude numbers from the password.
Specifies whether to exclude the following punctuation characters from the password: `! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~ .`
Specifies whether to exclude uppercase letters from the password.
Specifies whether to include the space character.
Length of the password.
Random password.
Specifies whether to include at least one upper and lowercase letter, one number, and one punctuation.
See also
Return
A collection of values returned by getRandomPassword.
Parameters
Builder for com.pulumi.aws.secretsmanager.kotlin.inputs.GetRandomPasswordPlainArgs.