Authorizations
Standard JWT token obtained via a separate authentication process. Required for most user-facing API endpoints.
Headers
The temporary password generated for the SFTP backup script.
Path Parameters
The AWS SFTP server ID.
"s-12345abcdef"
The SFTP username, which is the Site UUID.
Response
Authentication successful. Returns IAM role and S3 policy.
The ARN of the IAM role for S3 access.
"arn:aws:iam::.....:role/UploadBackups"
The S3 home directory path for the user.
"/altostrat-...-bucket/site-uuid-here"
A JSON string containing the S3 access policy.
"{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"AllowListingOfUserFolder\",...}]}"