Key

public struct Key : Codable, Equatable

Each instance of MeiliSearch has three keys: a master, a private, and a public. Each key has a given set of permissions on the API routes.

Properties

  • Private key used to access a determined set of API routes.

    Declaration

    Swift

    public let `private`: String
  • Public key used to access a determined set of API routes.

    Declaration

    Swift

    public let `public`: String