Skip to content

Authentication overview

Last updated on

STACKIT Observability separates authentication into two paths: instance management (via the STACKIT Portal or CLI), and technical credentials that can be used in multiple Observability components — including data ingest, data querying, and accessing additional frontends.

The table below explains each case, its purpose, and the recommended authentication method.

Before you can configure technical access or manage your service, ensure the following foundational conditions are met:

To perform administrative tasks such as configuring your instance or managing API users, you can use the STACKIT Portal or the STACKIT CLI. While the Portal covers all standard tasks, the CLI provides more advanced configuration options. The CLI leverages your active session for seamless authentication against the Observability API.

We officially support and recommend using the STACKIT CLI for automated Observability API operations. This replaces legacy methods using manual token generation and raw HTTP client requests, significantly streamlining your authentication lifecycle.

For complete installation guidelines, configuration steps, and a comprehensive command reference, review the official STACKIT-CLI GitHub Repository.

Note: If you are using the CLI and need help finding your required instance identifiers, refer to our guide on Interacting with the Observability API

For scenarios where external applications, users, or collectors need to interact with your specific Observability instance components, you must generate technical user credentials.

The technical credentials generated in the portal are universal and serve as the authentication basis for three distinct scenarios:

  • Data Ingest: Authenticating data agents (e.g., Prometheus, OpenTelemetry Collector) to push metrics, logs, and traces into your instance.
  • Data Querying: Authenticating requests when querying metrics, logs, or traces (for example, when connecting Observability instances as cross-instance data sources).
  • Additional Frontends: Logging into component-specific web user interfaces (e.g., Thanos UI, Prometheus UI, Alertmanager UI).

You can retrieve or generate the required technical username and password using either the STACKIT Portal or the Observability API:

  1. Log in to the STACKIT Portal.
  2. Navigate to your Observability instance.
  3. Open the API tab on the left-hand navigation panel.
  4. Select Credentials from the sub-menu.
  5. Create a new technical user account or view the credentials of an existing one.
  6. Securely store the generated Username and Password, as you will need them for agent configuration.

Once you have secured your technical credentials, return to your specific component guide (e.g., Log Pushing, Trace Pushing, or Frontend Access) to learn how to apply or format these credentials.