Transfer Family
Protocol: JSON 1.1
Endpoint: http://localhost:4566/
X-Amz-Target prefix: TransferService.
AWS Transfer Family managed file transfer server management. This implementation covers the management-plane API for server and user lifecycle, SSH public key management, and tagging. Actual SFTP/FTP protocol handling is out of scope — server state is simulated in-process.
Supported Actions
Servers
| Action |
Description |
CreateServer |
Create a managed file transfer server |
DescribeServer |
Get server metadata and configuration |
UpdateServer |
Update protocols, endpoint type, logging role, security policy |
DeleteServer |
Delete a server in any state, along with its users |
ListServers |
Paginated list of servers |
StartServer |
Transition server from OFFLINE to ONLINE |
StopServer |
Transition server from ONLINE to OFFLINE |
Users
| Action |
Description |
CreateUser |
Associate a user with a server |
DescribeUser |
Get user configuration and SSH keys |
UpdateUser |
Update role, home directory, or home directory mappings |
DeleteUser |
Remove a user from a server |
ListUsers |
Paginated list of users on a server |
SSH Public Keys
| Action |
Description |
ImportSshPublicKey |
Attach an SSH public key to a user |
DeleteSshPublicKey |
Remove an SSH public key from a user |
Tagging
| Action |
Description |
TagResource |
Add or update tags on a server or user |
UntagResource |
Remove tags from a server or user |
ListTagsForResource |
List tags for a server or user |
Configuration
| Environment variable |
Default |
Description |
FLOCI_SERVICES_TRANSFER_ENABLED |
true |
Enable or disable Transfer Family |
ARN Format
Server IDs have the format s- followed by 17 lowercase alphanumeric characters (e.g. s-01234567890abcdef).
With IAM enforcement on, each action is checked on the resources the AWS Service Authorization
Reference lists for it, read from the request: a server by its ServerId and a user by its
ServerId and UserName, as the ARNs above, and a tag call on its Arn. CreateServer and
ListServers name no resource and are checked on *.
Example Usage
Notes
- Phase 1 covers the management-plane API only. Data-plane SFTP connectivity (actual file transfer) is not emulated.
- CloudFormation provisions
AWS::Transfer::Server through the management-plane service. Ref returns the server ARN; Fn::GetAtt exposes Arn, ServerId, and State. AS2 managed egress IP allocation is not modeled, so As2ServiceManagedEgressIpAddresses is not exposed. CloudFormation also provisions AWS::Transfer::User: Ref returns the user ARN, Fn::GetAtt exposes Arn (the only attribute the registry schema declares), Policy and PosixProfile fail explicitly, and a ServerId or UserName change replaces the user. Server properties not supported by the management-plane implementation fail explicitly. Changing Domain requires replacement, which is not yet supported. IdentityProviderType changes are also not supported by Floci, although AWS supports updating that property without replacement.
- Server
EndpointType defaults to PUBLIC. The State field transitions between ONLINE and OFFLINE via StartServer / StopServer.
- SSH key bodies are stored and returned as-is; no cryptographic validation is performed.