RadicalImaging / ohif-aws-healthimaging

MIT License
22 stars 10 forks source link

add x-amz-security-token header #32

Closed JeffersonCurveBeam closed 6 months ago

JeffersonCurveBeam commented 6 months ago

Addressing https://github.com/RadicalImaging/ohif-aws-healthimaging/issues/28

PR by @Kevinwochan https://github.com/RadicalImaging/ohif-aws-healthimaging/pull/31 enables optional sessionToken authentication credential. Requests signed using temporary credentials requires an extra request header - x-amz-security-token

Tested this PR for both long-term credential (accessKeyId + secretAccessKey) and temporary credential (accessKeyId + secretAccessKey + sessionToken) authentication flows.