Skip to content

Credentials Environment File

Devin edited this page Mar 20, 2025 · 1 revision

The use of environmental variables with the ipb application allows for further customization.

If you have a card(s) under a business profile and want to access and update them only from within a specific project, you can put the credentials for that account in a .env file.

INVESTEC_CLIENT_ID=your-client-id
INVESTEC_CLIENT_SECRET=your-client-secret
INVESTEC_API_KEY=your-api-key

The environment file will be used over your stored credentials file. So, if you have a client ID stored in the credentials file and you add it to your environment, the environment value will be used.

The env also allows you to override the host service location for using the mock testing environment or testing staging.

INVESTEC_HOST=https://openapi.investec.com

You can also set your card-key if you are only deploying to a single card.

INVESTEC_CARD_KEY=your-card-key

Clone this wiki locally