Karta.Provisioning.Key (Karta v1.0.0)

A key of the provisioning API (Karta.Provisioning): an instance-wide credential for an external system that sets customers up. It belongs to no mail server, is accepted on /api/v2/provisioning only, and none of its scopes reads a message.

Scopes: provisioning (every operation) and provisioning:read (reading only).

Summary

Functions

Every scope a provisioning key can have.

Types

t()

@type t() :: %Karta.Provisioning.Key{
  __meta__: term(),
  id: term(),
  inserted_at: term(),
  last_used_at: term(),
  name: term(),
  prefix: term(),
  revoked_at: term(),
  scopes: term(),
  secret_hash: term(),
  updated_at: term()
}

Functions

scopes()

@spec scopes() :: [String.t()]

Every scope a provisioning key can have.