iam_delete_login_profile: Deletes the password for the specified IAM user, which...

Description Usage Arguments Details Request syntax Examples

View source: R/iam_operations.R

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

1

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: \_+=,[email protected]

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.

Request syntax

1
2
3
svc$delete_login_profile(
  UserName = "string"
)

Examples

1
2
3
4
# The following command deletes the password for the IAM user named Bob.
svc$delete_login_profile(
  UserName = "Bob"
)

paws.security.identity documentation built on Jan. 14, 2020, 5:08 p.m.