Using AWS environment variable for secret for basic auth defined in deploy.staging.yml

ivan-jurisic
ivan-jurisic Senior Spryker developer Posts: 25 🧑🏻‍🚀 - Cadet

I am using deploy.staging.yml

x-frontend-auth: &frontend-auth

<<: *real-ip
auth:
        engine: basic
        users:
            - username: cloud
              password: cloud

And I want to pass password but defined in AWS environment variables so it is not pushed to git. Is there a way how can I do it?

I tried by using ${SOME_ENV_VARIABLE} but it didn't work.

Answers

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,075 ⚖️ - Guardians (admin)

    Heyhey @ivan-jurisic ,

    to my information this is currently not possible. :( I propose you create a support issue or get in touch with your Spryker representative to figure out a solution.

    All the best,

    Florian

  • ivan-jurisic
    ivan-jurisic Senior Spryker developer Posts: 25 🧑🏻‍🚀 - Cadet

    Hey Florian thank you. I will do so.