Skip to content

Utilise the AWS client's native credential parsing #50

Closed

Description

@will2hew

We currently provide the s3-client with credentials. The AWS NodeJS SDK will get these automatically if we don't provide it to the client.

The downside of the current approach, is we can't use best-practice short lived AWS (or other) S3 credentials, which contains the extra AWS_SESSION_TOKEN environment variable.

This should simply be fixed by deleting this code, and the SDK will get the credentials automatically.

Activity

  1. will2hew commented on Jul 7, 2024

    @will2hew
    ContributorAuthor

    @Philipinho your current PR doesn't quite fix this; AWS recommends using short lived credentials rather than long term. ones. We also need to use AWS_SESSION_TOKEN if available.

  2. Philipinho commented on Jul 7, 2024

    @Philipinho
    Member

    @will2hew even when the credentials is no longer forced?

  3. added 2 commits that reference this issue on Sep 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions