six_user_create: Create a user, magically

six_user_createR Documentation

Create a user, magically

Description

Create a user, magically

Usage

six_user_create(
  username,
  path = NULL,
  permission_boundary = NULL,
  tags = NULL,
  copy_to_cb = TRUE
)

Arguments

username

(character) A user name. required

path

(character) The path for the user name. optional. If it is not included, it defaults to a slash (/).

permission_boundary

(character) The ARN of the managed policy that is used to set the permissions boundary for the user. optional

tags

(list) A list of tags that you want to attach to the new user. optional

copy_to_cb

(logical) Copy to clipboard. Default: FALSE. See section "Clipboard" below for more details.

Details

See aws_user_create() for more details. This function creates a user, adds policies so the user can access their own account, and grants them an access key. Add more policies using ⁠aws_polic*⁠ functions

Value

NULL invisibly. A draft email is copied to your clipboard

What is magical

  • Adds a UserInfo policy to your account if doesn't exist yet

  • Attaches UserInfo policy to the user created

  • Grants an access key, copying an email template to your clipboard

See Also

Other users: aws_user(), aws_user_access_key(), aws_user_access_key_delete(), aws_user_add_to_group(), aws_user_create(), aws_user_current(), aws_user_delete(), aws_user_exists(), aws_users(), six_user_delete()

Other magicians: six_admin_setup(), six_bucket_delete(), six_bucket_upload(), six_file_upload(), six_user_delete()

Examples


name <- random_user()
six_user_create(name)

# cleanup
six_user_delete(name)


sixtyfour documentation built on April 3, 2025, 8:22 p.m.