Search Unity

Managing secrets in UCB

Discussion in 'Unity Build Automation' started by hessel_mm, Aug 24, 2021.

  1. hessel_mm

    hessel_mm

    Joined:
    Mar 12, 2014
    Posts:
    44
    I'm looking for a solid way to manage secrets like api keys, passwords, etc on Cloud Build. I want to avoid having to commit those sensitive values to the repository, because having those in there is bad practice, but I can't figure out how to do that with Cloud Build.

    GitHub for example, has a secrets manager, is something similar possible with Cloud Build (but I just can't find it)? Or is this a feature that is on the roadmap? How do other developers handle secrets on Cloud Build?

    Thanks!
     
  2. Jelmer123

    Jelmer123

    Joined:
    Feb 11, 2019
    Posts:
    243
    I'm also looking for this. Did you find anything?
    I did use environment variables to include some secrets in a post build bash script. Maybe that approach can also be used for other things? Idk..
     
  3. Jelmer123

    Jelmer123

    Joined:
    Feb 11, 2019
    Posts:
    243