Action Variables

Hi All,

Looking at this document 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

Hi @lwillmore,

Welcome to the Auth0 Community!

I understand that you would like to know what is the Rules Configuration Object equivalent in Actions.

Yes, Action Secrets 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.