Skip to content

Missing prompt for MFA serial number in delete request using MFA code #16267

@DanSega1

Description

@DanSega1

I try to delete a file or directory in MFA enabled s3 bucket and I got an error after adding my MFA code.
My IAM user have policy attached that included s3:Delete & s3:DeleteObjectVersion with aws:MultiFactorAuthPresent.

To Reproduce
Steps to reproduce the behavior:

  1. find file I want to delete
  2. right-click on the mouse and choose to delete from the menu
  3. MFA pop-up to fill the MFA code
  4. Error Pop-up

Expected behavior
using mfa to delete the file/directory from the cyberduck

Screenshots
Image from Mail Attachment

Desktop (please complete the following information):

  • OS: MacOS Sonoma
  • Cyberduck Version 9.0.1

Log Files

2024-08-28 13:48:08,982 [Thread-302] DEBUG org.jets3t.service.impl.rest.httpclient.RestStorageService - Rethrowing as a ServiceException error in performRequest: org.jets3t.service.ServiceException: Service Error Message. -- ResponseCode: 400, ResponseStatus: null, XML Error Message: InvalidArgumentMfa header is invalid -- the header should be formatted as {serialNumber}(space){tokenCode}x-amz-mfa970589APA0HGV56CGKYM3SNXyPQotnvCIpixZZ6H5JeYldjzjaQOnm9gtyHZe5kf+wSb+MpS7dH3SSkQmFlWkZxVOBdhDXWQA=

Additional context
This is by api issue or mission the permission in aws? how to solve it?

Metadata

Metadata

Assignees

Labels

s3AWS S3 Protocol Implementation

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions