Skip to content

Create User Profile

opsworks_create_user_profile R Documentation

Creates a new user profile

Description

Creates a new user profile.

Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.

Usage

opsworks_create_user_profile(IamUserArn, SshUsername, SshPublicKey,
  AllowSelfManagement)

Arguments

IamUserArn

[required] The user's IAM ARN; this can also be a federated user's ARN.

SshUsername

The user's SSH user name. The allowable characters are [a-z], [A-Z], [0-9], '-', and '_'. If the specified name includes other punctuation marks, OpsWorks Stacks removes them. For example, my.name is changed to myname. If you do not specify an SSH user name, OpsWorks Stacks generates one from the IAM user name.

SshPublicKey

The user's public SSH key.

AllowSelfManagement

Whether users can specify their own SSH public key through the My Settings page. For more information, see Setting an IAM User's Public SSH Key.

Value

A list with the following syntax:

list(
  IamUserArn = "string"
)

Request syntax

svc$create_user_profile(
  IamUserArn = "string",
  SshUsername = "string",
  SshPublicKey = "string",
  AllowSelfManagement = TRUE|FALSE
)