orangeqs.juice.schemas.influxdb2#

Schemas for InfluxDB tokens.

Module Contents#

Classes#

InfluxDB2Tokens

InfluxDB2 Token Configuration.

InfluxDB2Token

An InfluxDB2 token.

API#

class orangeqs.juice.schemas.influxdb2.InfluxDB2Tokens(/, **data: Any)#

Bases: orangeqs.juice.settings.Configurable

InfluxDB2 Token Configuration.

filename: ClassVar[str]#

‘influxdb-tokens’

tokens: dict[str, InfluxDB2Token]#

‘Field(…)’

A dictionary mapping identities to their corresponding InfluxDB API tokens.

Identities are typically the names of the services or users with access to InfluxDB.

class orangeqs.juice.schemas.influxdb2.InfluxDB2Token(/, **data: Any)#

Bases: pydantic.BaseModel

An InfluxDB2 token.

identifier: str#

None

Identifier of the token, maps to InfluxDB2’s ‘id’.

token: str#

None

The value of the token itself.