Class UserPassword
Inherited Members
Namespace: Pulumi.MySql
Assembly: Pulumi.MySql.dll
Syntax
public class UserPassword : CustomResource
Constructors
View SourceUserPassword(String, UserPasswordArgs, CustomResourceOptions)
Create a UserPassword resource with the given unique name, arguments, and options.
Declaration
public UserPassword(string name, UserPasswordArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| UserPasswordArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceEncryptedPassword
The encrypted password, base64 encoded.
Declaration
public Output<string> EncryptedPassword { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Host
The source host of the user. Defaults to localhost.
Declaration
public Output<string> Host { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
KeyFingerprint
The fingerprint of the PGP key used to encrypt the password
Declaration
public Output<string> KeyFingerprint { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PgpKey
Either a base-64 encoded PGP public key, or a keybase username in the form keybase:some_person_that_exists.
Declaration
public Output<string> PgpKey { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
User
The IAM user to associate with this access key.
Declaration
public Output<string> User { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, UserPasswordState, CustomResourceOptions)
Get an existing UserPassword resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static UserPassword Get(string name, Input<string> id, UserPasswordState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| UserPasswordState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| UserPassword |