# repeating from a Secured Origin

**URL:** <https://community.wowza.com/t/repeating-from-a-secured-origin/693>\
**Category:** Wowza Streaming Engine\
**Created:** [May 5, 2014, 2:33pm UTC](https://community.wowza.com/t/repeating-from-a-secured-origin/693 "2014-05-05T14:33:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [May 5, 2014, 2:33pm UTC](https://community.wowza.com/t/repeating-from-a-secured-origin/693/1 "2014-05-05T14:33:28Z")

</div>

Hi there … I need to be able to re-stream from an Origin which is configured with Secure Content Protection

But my new re-streamer needs to pull all the streams from the StartupStreams.xml, following .stream files, not as a live-edge set

Due to the protection, I can’t re-stream … how can I do that? Is there any way to build a token always valid to configure on the .stream files? (I know the shared secret set on the origin)

Thanks

---

<div class="post-metadata">

**Author:** ![Roger\_Littin1](https://avatars.discourse-cdn.com/v4/letter/r/c89c15/32.png) [@Roger\_Littin1](https://community.wowza.com/u/Roger_Littin1)\
**Post date:** [May 6, 2014, 11:30am UTC](https://community.wowza.com/t/repeating-from-a-secured-origin/693/2 "2014-05-06T11:30:06Z")

</div>

Hi,

If the origin is running Secure Token, you can use the following property on your edges to connect to it.

```auto
<Property>
    <Name>lsrSecureTokenOriginSharedSecret</Name>
    <Value>origintokenvalue</Value>
</Property>

```

You can set the property as an Application level property or a MediaCaster level property. You can also set it for individual .stream files if using advanced stream files (json format). This is handy if you have multiple origins that have different settings.

This will tell the mediaCaster to use secure token when connecting to the origin. You don’t need to have secure token enabled on the edges.

Roger.

---

<div class="post-metadata">

**Author:** ![Gustavo\_Villegas](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@Gustavo\_Villegas](https://community.wowza.com/u/Gustavo_Villegas)\
**Post date:** [May 5, 2014, 10:07pm UTC](https://community.wowza.com/t/repeating-from-a-secured-origin/693/3 "2014-05-05T22:07:49Z")

</div>

I guess what I’m looking for is the advanced .stream file you mention

So, a .stream file with following info should make the trick?

{

uri : “rtmp://192.168.0.100/app\_name/stream\_name”,

lsrSecureTokenOriginSharedSecret : “token\_value”

}

Thanks

---

<div class="post-metadata">

**Author:** ![Roger\_Littin1](https://avatars.discourse-cdn.com/v4/letter/r/c89c15/32.png) [@Roger\_Littin1](https://community.wowza.com/u/Roger_Littin1)\
**Post date:** [May 6, 2014, 3:38pm UTC](https://community.wowza.com/t/repeating-from-a-secured-origin/693/4 "2014-05-06T15:38:42Z")

</div>

yes, that should work.

Roger.
