Amazon Transfer Family CreateUser API

The CreateUser API from Amazon Transfer Family — 1 operation(s) for createuser.

GitHub OpenAPI

Operations 1

POST /#CreateUser Create User #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-transfer-family:amazon-transfer-family-createuser-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-transfer-family-createuser-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Transfer Family Createuser API
  version: '2018-11-05'
  description: Generated from AWS's published Smithy model for AWS Transfer Family. 1 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://transfer.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#CreateUser:
    post:
      operationId: CreateUser
      summary: Create User
      description: Creates a user and associates them with an existing file transfer protocol-enabled server. You can only
        create and associate users with servers that have the IdentityProviderType set to SERVICE_MANAGED. Using parameters
        for CreateUser, you can specify the user name, set the home directory, store the user's public key, and assign the
        user's Identity and Access Management (IAM) role. You can also optionally add a session policy, and assign metadata
        with tags that can be used to group and search for users.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/CreateUserResponse'
        '503':
          description: InternalServiceError; ServiceUnavailableException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServiceError'
        '400':
          description: InvalidRequestException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '409':
          description: ResourceExistsException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ResourceExistsException'
        '404':
          description: ResourceNotFoundException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - TransferService.CreateUser
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/CreateUserRequest'
      tags:
      - Createuser
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: transfer
  schemas:
    CreateUserRequest:
      type: object
      properties:
        HomeDirectory:
          type: string
          description: The landing directory (folder) for a user when they log in to the server using the client. A HomeDirectory
            example is /bucket_name/home/mydirectory. You can use the HomeDirectory parameter for HomeDirectoryType when it
            is set to either PATH or LOGICAL.
        HomeDirectoryType:
          type: string
          enum:
          - PATH
          - LOGICAL
          description: The type of landing directory (folder) that you want your users' home directory to be when they log
            in to the server. If you set it to PATH, the user will see the absolute Amazon S3 bucket or Amazon EFS path as
            is in their file transfer protocol clients. If you set it to LOGICAL, you need to provide mappings in the HomeDirectoryMappings
            for how you want to make Amazon S3 or Amazon EFS paths visible to your users. If HomeDirectoryType is LOGICAL,
            you must provide mappings, using the HomeDirectoryMappings parameter. If, on the other hand, HomeDirectoryType
            is PATH, you provide an absolute path u
        HomeDirectoryMappings:
          type: array
          items:
            $ref: '#/components/schemas/HomeDirectoryMapEntry'
          description: 'Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should be visible
            to your user and how you want to make them visible. You must specify the Entry and Target pair, where Entry shows
            how the path is made visible and Target is the actual Amazon S3 or Amazon EFS path. If you only specify a target,
            it is displayed as is. You also must ensure that your Identity and Access Management (IAM) role provides access
            to paths in Target. This value can be set only when HomeDirectoryType is set to LOGICAL. The following is an Entry
            and Target pair example. [ { "Entry": "/dir'
        Policy:
          type: string
          description: A session policy for your user so that you can use the same Identity and Access Management (IAM) role
            across multiple users. This policy scopes down a user's access to portions of their Amazon S3 bucket. Variables
            that you can use inside this policy include ${Transfer:UserName}, ${Transfer:HomeDirectory}, and ${Transfer:HomeBucket}.
            This policy applies only when the domain of ServerId is Amazon S3. Amazon EFS does not use session policies. For
            session policies, Transfer Family stores the policy as a JSON blob, instead of the Amazon Resource Name (ARN)
            of the policy. You save the policy as a JS
        PosixProfile:
          $ref: '#/components/schemas/PosixProfile'
        Role:
          type: string
          description: The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that controls your
            users' access to your Amazon S3 bucket or Amazon EFS file system. The policies attached to this role determine
            the level of access that you want to provide your users when transferring files into and out of your Amazon S3
            bucket or Amazon EFS file system. The IAM role should also contain a trust relationship that allows the server
            to access your resources when servicing your users' transfer requests.
        ServerId:
          type: string
          description: A system-assigned unique identifier for a server instance. This is the specific server that you added
            your user to.
        SshPublicKeyBody:
          type: string
          description: The public portion of the Secure Shell (SSH) key used to authenticate the user to the server. The three
            standard SSH public key format elements are <key type>, <body base64>, and an optional <comment>,
            with spaces between each element. Transfer Family accepts RSA, ECDSA, and ED25519 keys. For RSA keys, the key
            type is ssh-rsa. For ED25519 keys, the key type is ssh-ed25519. For ECDSA keys, the key type is either ecdsa-sha2-nistp256,
            ecdsa-sha2-nistp384, or ecdsa-sha2-nistp521, depending on the size of the key you generated.
        Tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: Key-value pairs that can be used to group and search for users. Tags are metadata attached to users
            for any purpose.
        UserName:
          type: string
          description: 'A unique string that identifies a user and is associated with a ServerId. This user name must be a
            minimum of 3 and a maximum of 100 characters long. The following are valid characters: a-z, A-Z, 0-9, underscore
            ''_'', hyphen ''-'', period ''.'', and at sign ''@''. The user name can''t start with a hyphen, period, or at
            sign.'
      required:
      - Role
      - ServerId
      - UserName
    CreateUserResponse:
      type: object
      properties:
        ServerId:
          type: string
          description: The identifier of the server that the user is attached to.
        UserName:
          type: string
          description: A unique string that identifies a Transfer Family user.
      required:
      - ServerId
      - UserName
    HomeDirectoryMapEntry:
      type: object
      properties:
        Entry:
          type: string
          description: Represents an entry for HomeDirectoryMappings.
        Target:
          type: string
          description: Represents the map target that is used in a HomeDirectoryMapEntry.
        Type:
          type: string
          enum:
          - FILE
          - DIRECTORY
          description: Specifies the type of mapping. Set the type to FILE if you want the mapping to point to a file, or
            DIRECTORY for the directory to point to a directory. By default, home directory mappings have a Type of DIRECTORY
            when you create a Transfer Family server. You would need to explicitly set Type to FILE if you want a mapping
            to have a file target.
      required:
      - Entry
      - Target
    InternalServiceError:
      type: object
      properties:
        Message:
          type: string
      required:
      - Message
    InvalidRequestException:
      type: object
      properties:
        Message:
          type: string
      required:
      - Message
    PosixProfile:
      type: object
      properties:
        Uid:
          type: integer
          description: The POSIX user ID used for all EFS operations by this user.
        Gid:
          type: integer
          description: The POSIX group ID used for all EFS operations by this user.
        SecondaryGids:
          type: array
          items:
            type: integer
          description: The secondary POSIX group IDs used for all EFS operations by this user.
      required:
      - Uid
      - Gid
    ResourceExistsException:
      type: object
      properties:
        Message:
          type: string
        Resource:
          type: string
        ResourceType:
          type: string
      required:
      - Message
      - Resource
      - ResourceType
    ResourceNotFoundException:
      type: object
      properties:
        Message:
          type: string
        Resource:
          type: string
        ResourceType:
          type: string
      required:
      - Message
      - Resource
      - ResourceType
    Tag:
      type: object
      properties:
        Key:
          type: string
          description: The name assigned to the tag that you create.
        Value:
          type: string
          description: Contains one or more values that you assigned to the key name you create.
      required:
      - Key
      - Value
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/transfer/service/2018-11-05/transfer-2018-11-05.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)