codemagic

How to add encrypted variables in codemagic.yaml?


I'm new to Codemagic, and I want to use it to automatically build, test and deploy my Flutter app.

Following this tutorial, I would like to encrypt some variables and add them in my codemagic.yaml file, using the Encrypt environnement variables utility, as shown in the tutorial.

But it looks like it's an old interface, and I can't find it anywhere anymore.

So how can I encrypt sensitive variables and add them in my codemagic.yaml file, using the Encrypted() command?

Thanks.


Solution

  • Encrypted() variables were deprecated time ago and now you should add all secret variables in Codemagic UI. You can read more here https://docs.codemagic.io/yaml-basic-configuration/configuring-environment-variables/