Calling Developers!
We are reenergizing our code contribution process! Learn More

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

Options
ivan-jurisic
ivan-jurisic Senior Spryker developer Posts: 24 🧑🏻‍🚀 - 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,016 ⚖️ - Guardians (admin)
    Options

    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: 24 🧑🏻‍🚀 - Cadet
    Options

    Hey Florian thank you. I will do so.