UserPassword
Create a UserPassword Resource
new UserPassword(name: string, args: UserPasswordArgs, opts?: CustomResourceOptions);def UserPassword(resource_name, opts=None, host=None, pgp_key=None, user=None, __props__=None);func NewUserPassword(ctx *Context, name string, args UserPasswordArgs, opts ...ResourceOption) (*UserPassword, error)public UserPassword(string name, UserPasswordArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args UserPasswordArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args UserPasswordArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UserPasswordArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
UserPassword Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The UserPassword resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the UserPassword resource produces the following output properties:
- Encrypted
Password string The encrypted password, base64 encoded.
- Id string
- The provider-assigned unique ID for this managed resource.
- Key
Fingerprint string The fingerprint of the PGP key used to encrypt the password
- Encrypted
Password string The encrypted password, base64 encoded.
- Id string
- The provider-assigned unique ID for this managed resource.
- Key
Fingerprint string The fingerprint of the PGP key used to encrypt the password
- encrypted
Password string The encrypted password, base64 encoded.
- id string
- The provider-assigned unique ID for this managed resource.
- key
Fingerprint string The fingerprint of the PGP key used to encrypt the password
- encrypted_
password str The encrypted password, base64 encoded.
- id str
- The provider-assigned unique ID for this managed resource.
- key_
fingerprint str The fingerprint of the PGP key used to encrypt the password
Look up an Existing UserPassword Resource
Get an existing UserPassword resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: UserPasswordState, opts?: CustomResourceOptions): UserPasswordstatic get(resource_name, id, opts=None, encrypted_password=None, host=None, key_fingerprint=None, pgp_key=None, user=None, __props__=None);func GetUserPassword(ctx *Context, name string, id IDInput, state *UserPasswordState, opts ...ResourceOption) (*UserPassword, error)public static UserPassword Get(string name, Input<string> id, UserPasswordState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Encrypted
Password string The encrypted password, base64 encoded.
- Host string
The source host of the user. Defaults to
localhost.- Key
Fingerprint string The fingerprint of the PGP key used to encrypt the password
- Pgp
Key string Either a base-64 encoded PGP public key, or a keybase username in the form
keybase:some_person_that_exists.- User string
The IAM user to associate with this access key.
- Encrypted
Password string The encrypted password, base64 encoded.
- Host string
The source host of the user. Defaults to
localhost.- Key
Fingerprint string The fingerprint of the PGP key used to encrypt the password
- Pgp
Key string Either a base-64 encoded PGP public key, or a keybase username in the form
keybase:some_person_that_exists.- User string
The IAM user to associate with this access key.
- encrypted
Password string The encrypted password, base64 encoded.
- host string
The source host of the user. Defaults to
localhost.- key
Fingerprint string The fingerprint of the PGP key used to encrypt the password
- pgp
Key string Either a base-64 encoded PGP public key, or a keybase username in the form
keybase:some_person_that_exists.- user string
The IAM user to associate with this access key.
- encrypted_
password str The encrypted password, base64 encoded.
- host str
The source host of the user. Defaults to
localhost.- key_
fingerprint str The fingerprint of the PGP key used to encrypt the password
- pgp_
key str Either a base-64 encoded PGP public key, or a keybase username in the form
keybase:some_person_that_exists.- user str
The IAM user to associate with this access key.
Package Details
- Repository
- https://github.com/pulumi/pulumi-mysql
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mysqlTerraform Provider.