paws.security.identity (version 0.1.0)

iam_delete_login_profile: Deletes the password for the specified IAM user, which terminates the user's ability to access AWS services through the AWS Management Console

Description

Deletes the password for the specified IAM user, which terminates the user's ability to access AWS services through the AWS Management Console.

Usage

iam_delete_login_profile(UserName)

Arguments

UserName

[required] The name of the user whose password you want to delete.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: \_+=,.@-

Request syntax

svc$delete_login_profile(
  UserName = "string"
)

Details

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.

Examples

Run this code
# NOT RUN {
# The following command deletes the password for the IAM user named Bob.
# }
# NOT RUN {
svc$delete_login_profile(
  UserName = "Bob"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab