You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IAM::LoginProfile
- Inherits:
-
Resources::Resource
- Object
- Resources::Resource
- Aws::IAM::LoginProfile
- Defined in:
- (unknown)
Instance Attribute Summary collapse
-
#create_date ⇒ Time
readonly
The date when the password for the user was created.
-
#password_reset_required ⇒ Boolean
readonly
Specifies whether the user is required to set a new password on next sign-in.
-
#user_name ⇒ String
readonly
Attributes inherited from Resources::Resource
Instance Method Summary collapse
-
#create(options = {}) ⇒ LoginProfile
-
#delete ⇒ Struct
Deletes the password for the specified IAM user, which terminates the user's ability to access AWS services through the AWS Management Console.
Deleting a user's password does not prevent a user from accessing AWS through the command line interface or the API.
-
#initialize ⇒ Object
constructor
-
#update(options = {}) ⇒ Struct
Changes the password for the specified IAM user.
IAM users can change their own passwords by calling ChangePassword.
-
#user ⇒ User
Methods inherited from Resources::Resource
add_data_attribute, add_identifier, #data, data_attributes, #data_loaded?, identifiers, #load, #wait_until
Methods included from Resources::OperationMethods
#add_batch_operation, #add_operation, #batch_operation, #batch_operation_names, #batch_operations, #operation, #operation_names, #operations
Constructor Details
#initialize(user_name, options = {}) ⇒ Object #initialize(options = {}) ⇒ Object
Instance Attribute Details
#create_date ⇒ Time (readonly)
The date when the password for the user was created.
#password_reset_required ⇒ Boolean (readonly)
Specifies whether the user is required to set a new password on next sign-in.
#user_name ⇒ String (readonly)
Instance Method Details
#create(options = {}) ⇒ LoginProfile
#delete ⇒ Struct
Deletes the password for the specified IAM user, which terminates the user's ability to access AWS services through the AWS Management Console.
Deleting a user's password does not prevent a user from accessing AWS through the command line interface or the API. To prevent all user access, you must also either make any access keys inactive or delete them. For more information about making keys inactive or deleting them, see UpdateAccessKey and DeleteAccessKey.
#update(options = {}) ⇒ Struct
Changes the password for the specified IAM user.
IAM users can change their own passwords by calling ChangePassword. For more information about modifying passwords, see Managing Passwords in the IAM User Guide.