Hello !
I'm trying to setup an AWSConfig to implement tests for my s3 backend.
The access key provided by my IAM component works with the aws cli but does not work k6-jslib-aws with the following error message:
ERRO[0000] Uncaught (in promise) Error: invalid AWS access key ID; reason: size should be between 16 and 128 characters, got 1532
at apply (native)
at webpack://k6-jslib-aws/./src/internal/endpoint.ts:4:21(12)
at r (webpack://k6-jslib-aws/./src/internal/endpoint.ts:4:21(12))
at construct (native)
at l (webpack://k6-jslib-aws/./src/internal/endpoint.ts:4:21(24))
at t (webpack://k6-jslib-aws/./src/internal/config.ts:177:33(14))
at e (webpack://k6-jslib-aws/./src/internal/config.ts:94:18(97))
cf https://github.com/grafana/k6-jslib-aws/blob/main/src/internal/config.ts#L93
I tried to find a source for the 128 char restriction but I was only able to find a source for the min length of 16.
Do you have a source for more information on why a 128 char restriction is setup here ? If this limitation is was arbitrary setup, are you open to remove it ?
I can provide the following PR.
Regards,
Hello !
I'm trying to setup an AWSConfig to implement tests for my s3 backend.
The access key provided by my IAM component works with the aws cli but does not work k6-jslib-aws with the following error message:
cf https://github.com/grafana/k6-jslib-aws/blob/main/src/internal/config.ts#L93
I tried to find a source for the 128 char restriction but I was only able to find a source for the min length of 16.
Do you have a source for more information on why a 128 char restriction is setup here ? If this limitation is was arbitrary setup, are you open to remove it ?
I can provide the following PR.
Regards,