Show / Hide Table of Contents

Class UserArgs

Inheritance
System.Object
InputArgs
ResourceArgs
UserArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.MySql
Assembly: Pulumi.MySql.dll
Syntax
public sealed class UserArgs : ResourceArgs

Constructors

View Source

UserArgs()

Declaration
public UserArgs()

Properties

View Source

AuthPlugin

Use an [authentication plugin][ref-auth-plugins] to authenticate the user instead of using password authentication. Description of the fields allowed in the block below. Conflicts with password and plaintext_password.

Declaration
public Input<string> AuthPlugin { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Host

The source host of the user. Defaults to "localhost".

Declaration
public Input<string> Host { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Password

Deprecated alias of plaintext_password, whose value is stored as plaintext in state. Prefer to use plaintext_password instead, which stores the password as an unsalted hash. Conflicts with auth_plugin.

Declaration
public Input<string> Password { get; set; }
Property Value
Type Description
Input<System.String>
View Source

PlaintextPassword

The password for the user. This must be provided in plain text, so the data source for it must be secured. An unsalted hash of the provided password is stored in state. Conflicts with auth_plugin.

Declaration
public Input<string> PlaintextPassword { get; set; }
Property Value
Type Description
Input<System.String>
View Source

TlsOption

An TLS-Option for the CREATE USER or ALTER USER statement. The value is suffixed to REQUIRE. A value of 'SSL' will generate a CREATE USER ... REQUIRE SSL statement. See the MYSQL CREATE USER documentation for more. Ignored if MySQL version is under 5.7.0.

Declaration
public Input<string> TlsOption { get; set; }
Property Value
Type Description
Input<System.String>
View Source

UserName

The name of the user.

Declaration
public Input<string> UserName { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.