# Action Variables

**URL:** <https://community.auth0.com/t/action-variables/83699>\
**Category:** Get Help\
**Created:** [May 19, 2022, 2:08am UTC](https://community.auth0.com/t/action-variables/83699 "2022-05-19T02:08:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lwillmore](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lwillmore/32/13136_2.png) [@lwillmore](https://community.auth0.com/u/lwillmore)\
**Post date:** [May 19, 2022, 2:08am UTC](https://community.auth0.com/t/action-variables/83699/1 "2022-05-19T02:08:39Z")

</div>

Hi All,

Looking at this document [Set Up Multiple Environments](https://auth0.com/docs/get-started/auth0-overview/create-tenants/set-up-multiple-environments) particularly the part about Migration and portability of code. Rules gives the ability to have variables that you can use to make the code portable. With regards to actions does it have the same functionality? I have used secrets which I assume is the correct place

Regards

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [June 1, 2022, 6:57am UTC](https://community.auth0.com/t/action-variables/83699/3 "2022-06-01T06:57:57Z")

</div>

Hi @lwillmore,

Welcome to the Auth0 Community!

I understand that you would like to know what is the [Rules Configuration Object](https://auth0.com/docs/customize/rules/configuration) equivalent in Actions.

> [@lwillmore](#):
>
> I have used secrets which I assume is the correct place

Yes, [Action Secrets](https://auth0.com/docs/customize/actions/write-your-first-action#add-a-secret) is the equivalent object used for storing sensitive information.

Auth0 Secrets is similar to the Rules configurations, except Secrets are local variables that can only be accessed in the Action script which defines it. Whereas the Rules Configuration Object is a global variable, which can be accessed by any Rule script.

Hoped this addresses your question!

Please let me know if you have any further questions.

Thank you.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 22, 2022, 9:39am UTC](https://community.auth0.com/t/action-variables/83699/4 "2022-12-22T09:39:48Z")

</div>


