If for some reason your Credential and Instance Factories are both broken, which could in fact be because the API Gateway authenticator and/or authorizer that ties them to your identity provider are broken, you’ll find yourself feeling pretty locked out.
If you happen to have credentials in your shell environment that are still valid, you can run
substrate-create-admin-account to remedy the situation.
More likely, though, you’ll need to follow these steps:
OrganizationAdministratorrole in your management account (using the information in
substrate.accounts.txtas your guide)