generateSecretString

@JvmName(name = "qwhhdmyagvferroj")
suspend fun generateSecretString(value: Output<GenerateSecretStringArgs>)
@JvmName(name = "pbkrnoobpuouxnff")
suspend fun generateSecretString(value: GenerateSecretStringArgs?)

Parameters

value

A structure that specifies how to generate a password to encrypt and store in the secret. To include a specific string in the secret, use `SecretString` instead. If you omit both `GenerateSecretString` and `SecretString`, you create an empty secret. When you make a change to this property, a new secret version is created. We recommend that you specify the maximum length and include every character type that the system you are generating a password for can support. 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. Required permissions: `secretsmanager:GetRandomPassword`. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.


@JvmName(name = "jhiamwrwwchunjsj")
suspend fun generateSecretString(argument: suspend GenerateSecretStringArgsBuilder.() -> Unit)

Parameters

argument

A structure that specifies how to generate a password to encrypt and store in the secret. To include a specific string in the secret, use `SecretString` instead. If you omit both `GenerateSecretString` and `SecretString`, you create an empty secret. When you make a change to this property, a new secret version is created. We recommend that you specify the maximum length and include every character type that the system you are generating a password for can support. 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. Required permissions: `secretsmanager:GetRandomPassword`. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.