API token to automate creation of org and deploy an app to this org

Hi,

I would like to automate the following task in a CI server:

  1. create a new org
  2. deploy an app to this org

I wonder what fly API token to use in this case because in fly tokens create I can either create a deploy token which ties to an app or create an org token which ties to an org. In my use case, the org and app don’t exist ahead of time.

Thanks,
Owen

And I would prefer an API token that doesn’t expire so that I wouldn’t need to swap it often in the CI if not leaked.

From General to Questions / Help

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