Skip to contents

Delete current user's AWS Access Key

Usage

aws_user_access_key_delete(access_key_id, username = NULL)

Arguments

access_key_id

(character) The access key ID for the access key ID and secret access key you want to delete. required.

username

(character) A user name. optional. however, if you do not supply a username, paws will likely use the current user, and so may not be the user the access key id is associated - and then you'll get an error like NoSuchEntity (HTTP 404). The Access Key with id xx cannot be found

Value

NULL, invisibly

Details

See https://www.paws-r-sdk.com/docs/iam_delete_access_key/ docs for more details

Examples

if (FALSE) { # interactive()
aws_user_access_key_delete(access_key_id = "adfasdfadfadfasdf")
aws_user_access_key_delete(access_key_id = "adfasdf", username = "jane")
}