Can I override CI Environment Variable via Bitrise API?

Can I override CI Environment Variable via Bitrise API?
I saw Bitrise Swagger API Document, I couldn’t find how to override Environemnt Variables, except POST: /apps/{app-slug}/bitrise.yml.

But our bitrise.yml is very huge file so it’s difficult to post after converting bitrise.yml into one string value.

If you have some solutions, can you tell me the solutions?

See also: https://api-docs.bitrise.io/#/

Hey @funzin,

It’s not possible currently to set environment variables via the API. Can you describe your use case in more detail?

Apple started 2FA mandatory and so we have changed to use AppStoreConnectAPI instead of FASTLANE_SESSION.
FASTLANE_SESSION is required for some(e.g.AppStoreConnectAPI doesn’t support upload / download dsyms fastlane actions.)

Now, I change FASTLANE_SESSION manually on Bitrise, but I wanna change it through using Bitrise API

We have a page summarizing various steps and their possible authentication methods. Are you sure your use case is not covered by these options?

It didn’t work when I set it before so I think we should set FASTLANE_SESSION manually.
But I just confirmed summarizing various steps and their possible authentication methods , Assigning Apple ID authentication to your app wasn’t set for some reason🤦‍♂️

Can I set it and check if there is no problem next week? If it occurs problem, I will ask you that again.

I confirmed correct behavior!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.