Skip to content

nix copy to s3: [AuthCredentialsProvider] - Failed to resolve role arn during sts web identity provider initialization. #14880

@guskovd

Description

@guskovd

Describe the bug

I get an error when trying to copy to an s3-compatible minio server.

[ERROR] [2025-12-28T15:40:38Z] [0000ffffba162020] [AuthCredentialsProvider] - Failed to resolve role arn during sts web identity provider initialization.

In fact, the copying is successful, but I'm not quite clear about the region checks when using the 'endpoint' parameter.
As far as I can tell, 'endpoint' is only used for the minio implementation.

I haven't seen such errors on versions of nix < 2.33.0

Steps To Reproduce

nix copy --refresh --to 's3://nix-cache?endpoint=my-minio' --all --verbose

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions