Unable to create AWS transfer family SFTP server with disabled password #8962
Labels
bug
This issue is a bug.
p2
This is a standard priority issue
service-api
This issue is due to a problem in a service API, not the SDK implementation.
transfer
Describe the bug
Trying to create SFTP server with S3 as backend with identity provider type set to SERVICE_MANAGED and SftpAuthenticationMethods set to PUBLIC_KEY.
E.g
aws transfer create-server --identity-provider-type SERVICE_MANAGED --identity-provider-details SftpAuthenticationMethods=PUBLIC_KEY
The error is:
An error occurred (InvalidRequestException) when calling the CreateServer operation: Must specify IdentityProviderType with IdentityProviderDetails
which is clearly a bug since I do provide a type.
AWS CLI version:
Regression Issue
Expected Behavior
That the SFTP server got created with no possibility to require passwords for users.
Current Behavior
An exception
Reproduction Steps
aws transfer create-server --identity-provider-type SERVICE_MANAGED --identity-provider-details SftpAuthenticationMethods=PUBLIC_KEY
Possible Solution
No response
Additional Information/Context
Seems to be broken also when using cloudformation and AWS SDK
CLI version used
aws-cli/2.17.57 Python/3.12.6 Linux/6.1.109-118.189.amzn2023.x86_64 exec-env/CloudShell exe/x86_64.amzn.2023
Environment details (OS name and version, etc.)
AmazonLinux
The text was updated successfully, but these errors were encountered: