Description
I'm having an issue with the library not using credentials provided to the host by instance profile. I've tested that I have access to Kinesis Video Streams service from the host and the container that uses the library. This access is provided by the instance profile, but only way to get the stream to work with KVS is to have the credentials in environment variables. The documentation mentions "If you use AWS plug-in (e.g. KVS) outside of AWS environment.." but this does not apply to my case. The error I get is the same as in the topic:
2023-09-28 08:14:05 [140184709070848] INFO - User agent string: AWS-SDK-KVS-CPP-CLIENT/3.4.1 2023-09-28 08:14:05 [140184709070848] ERROR - Unable to create Rotating Credential provider. Error status: 0x15000022 INFO:awstreamer.gst_pipeline.stream_pipeline:(<enum GST_STATE_CHANGE_FAILURE of type Gst.StateChangeReturn>, state=<enum GST_STATE_NULL of type Gst.State>, pending=<enum GST_STATE_PLAYING of type Gst.State>) ERROR:awstreamer.gst_pipeline.stream_pipeline:Failed to set the pipeline to the playing state INFO:awstreamer.gst_pipeline.stream_client:None All done.
Thank you for the help.