---
title: Charmhub | kratos_info interface
description: Interfaces describe the relation between two charms. This interface shows
  opinionated, standardized interface specifications for charm relations.
url: https://charmhub.io/integrations/kratos_info
---

# kratos\_info

## Usage

This integration interface provides kratos deployment info, such as endpoints,
namespace and ConfigMap details.

## Direction

```
flowchart TD
    Requirer ----> Provider
    Provider -- admin_endpoint, public_endpoint, login_browser_endpoint, sessions_endpoint, providers_configmap_name, schemas_configmap_name, configmaps_namespace, mfa_enabled, oidc_webauthn_sequencing_enabled --> Requirer
```

## Behavior

Both the Requirer and the Provider need to adhere to criteria to be considered
compatible with the interface.

### Provider

* Is expected to provide public, admin, browser login, sessions endpoints
* Is expected to provide k8s ConfigMaps for storing IDP providers, identity
  schemas
* Is expected to provide the provider's k8s namespace
* Is expected to provide feature flags for MFA authentication and WebAuthn
  sequencing

### Requirer

* Is expected to consume the integration data to set up integration with Kratos

## Relation Data

### Provider

[[Pydantic Schema]](https://charmhub.io/integrations/schema.py)

#### Example

```
relation-info:
  - endpoint: kratos-info
    related-endpoint: kratos-info
    application-data:
      admin_endpoint: http://10.64.140.44/testing-kratos
      login_browser_endpoint: http://10.64.140.45/testing-kratos/self-service/login/browser
      public_endpoint: http://10.64.140.45/testing-kratos
      sessions_endpoint: http://10.64.140.45/testing-kratos/sessions/whoami
      providers_configmap_name: providers
      schemas_configmap_name: identity-schemas
      configmaps_namespace: testing
      mfa_enabled: false
      oidc_webauthn_sequencing_enabled: false
```

## Charms implementing this interface

### Providers

### Requirers

* [identity-platform-login-ui-operator](https://charmhub.io/identity-platform-login-ui-operator)
* [identity-platform-admin-ui](https://charmhub.io/identity-platform-admin-ui)

## Other charms using this interface

### Providers

* [kratos](https://charmhub.io/kratos)

### Requirers

* [identity-platform-login-ui-operator](https://charmhub.io/identity-platform-login-ui-operator)
