Skip to contents

Gets user information, including policies, groups, and attached policies

Usage

aws_user(username = NULL)

Arguments

username

(character) A user name. required

Value

a named list with slots for:

  • user (tibble)

  • policies (list)

  • attached_policies (list)

  • groups (list)

Note

if username not supplied, gets logged in user

Examples

if (FALSE) { # \dontrun{
# if username not supplied, gets logged in user
aws_user()

# supply a username to get that user's information
aws_user_create("testBlueBird")
aws_user(username = "testBlueBird")
aws_user_delete("testBlueBird") # cleanup user
} # }