Skip to content

No pre-signed URLs available when using Credentials from AWS Command Line Interface connection profile #13738

Closed

Description

@foursec

Hi Team,
Thanks for the great product.
Here is my question - I can successfully connect and perform S3 operations using Credentials from AWS Command Line Interface. However Pre-signed URL is missing from the list of actions in Edit → Copy URL→ Signed URL or File → Info
The docs say:

It is required that your AWS credentials are saved in keychain. Refer to Passwords.

Use keychain option is surely turned on.

I was digging around and didn't find a way to satisfy this requirement. Is there something I am missing here?

Thanks

Desktop (please complete the following information):

  • macOS
  • Version 8.4.4 (38366)

Activity

  1. added
    s3AWS S3 Protocol Implementation
    on Sep 19, 2022
  2. dkocher commented on Sep 19, 2022

    @dkocher
    Contributor

    This is expected with the current implementation as we cannot create signed URLs without a secret found in the password store (Keychain) 1. With the Credentials from AWS Command Line Interface connection profile the secret key is not saved.

    Footnotes

    1. https://github.com/iterate-ch/cyberduck/blob/ce5193a616ea945b9c4b6785153ddfb551d860df/s3/src/main/java/ch/cyberduck/core/s3/S3UrlProvider.java#L179-L182 ↩

  3. self-assigned this
    on Sep 19, 2022
  4. changed the title [-]S3 Pre-signed URLs / Credentials from AWS Command Line Interface[/-] [+]No pre-signed URLs available when using Credentials from AWS Command Line Interface connection profile[/+] on Sep 19, 2022
  5. foursec commented on Sep 19, 2022

    @foursec
    Author

    Thanks for info.
    Does Amazon S3 connection profile with hardcoded aws_access_key_id and aws_secret_access_key work for generating pre-signed URLs on Windows platforms which as I understand do not have a Keychain?

  6. AliveDevil commented on Sep 19, 2022

    @AliveDevil
    Contributor

    Windows platforms which as I understand do not have a Keychain?

    Keychain refers to the general concept of a credential manager. On Windows this is managed through the Windows Credential Manager.

  7. dkocher commented on Sep 20, 2022

    @dkocher
    Contributor

    Thanks for info. Does Amazon S3 connection profile with hardcoded aws_access_key_id and aws_secret_access_key work for generating pre-signed URLs on Windows platforms which as I understand do not have a Keychain?

    Using the generic S3 connection profile this is supported and credentials will be saved in the password manager.

  8. added this to the 9.1.4 milestone on Mar 22, 2025
  9. added a commit that references this issue on Mar 22, 2025
    9083f5e
  10. linked a pull request that will close this issueFix #13738. #16980on Mar 22, 2025
  11. added 3 commits that reference this issue on Mar 22, 2025
    4082d2a
    d86d18e
    e2cfa56
  12. added a commit that references this issue on Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

s3AWS S3 Protocol Implementation

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions