Skip to main content
Both providers authenticate against the Biznet GIO Portal API with a single API token. There is no username/password flow, and each product group uses the same token.

Get an API token

  1. Log in to the customer portal.
  2. Open the Generate API Key menu (under your account/profile section).
  3. Generate a key and copy it immediately - it is shown only once. If you lose it, contact support to regenerate.
The token is sent on every request as the x-token header.

Configuration

Terraform

Values set in the provider block take precedence over environment variables. If api_key is missing everywhere, configuration fails with an error.
The provider works with no provider block at all - export the environment variables and use provider "biznetgio" {}.

Pulumi

The provider errors if apiToken is not set via config or environment.

Base URLs

Both are the default when base_url / baseUrl is omitted. Point the providers at staging by setting the variable, e.g. export BIZNETGIO_BASE_URL="https://api.portal.biznetgio.dev/v1".

Keep your token secret

  • api_key and apiToken are marked sensitive; they never appear in plans, diffs, or outputs.
  • The raw output on every resource is redacted: values under keys like password, private_key, secret_key, token, and pem are masked as *** before entering state.
  • Secrets that the API returns only once (keypair private keys, S3 secret keys) are preserved in state across refreshes - protect your state files with a secure backend.
The token grants full control of your account. Never commit it to version control; use a secret manager (Terraform Cloud variables, Pulumi ESC, SOPS, Vault) for CI/CD.