# How config "Allow for cookie's SameSite" in YAML type CDRS?

**URL:** <https://discuss.elastic.co/t/how-config-allow-for-cookies-samesite-in-yaml-type-cdrs/299209>\
**Category:** Kibana\
**Created:** [March 9, 2022, 12:05pm UTC](https://discuss.elastic.co/t/how-config-allow-for-cookies-samesite-in-yaml-type-cdrs/299209 "2022-03-09T12:05:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pablo\_Andrei](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pablo_andrei/32/102809_2.png) [@Pablo\_Andrei](https://discuss.elastic.co/u/Pablo_Andrei)\
**Post date:** [March 9, 2022, 12:05pm UTC](https://discuss.elastic.co/t/how-config-allow-for-cookies-samesite-in-yaml-type-cdrs/299209/1 "2022-03-09T12:05:50Z")

</div>

I need to use EMBED CODE for displaying dashboards, but I need the parameters to:

_xpack.security.secureCookies: true  
xpack.security.sameSiteCookies: None_  
or  
_XPACK\_SECURITY\_SECURECOOKIES=true  
XPACK\_SECURITY\_SAMESICOOKIES=None_  
properly configured.

I'm using CRDs, and I have this question, where should I configure such keys? I assume it's in package.yaml.

Would anyone have any tips?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 6, 2022, 12:06pm UTC](https://discuss.elastic.co/t/how-config-allow-for-cookies-samesite-in-yaml-type-cdrs/299209/2 "2022-04-06T12:06:22Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
