CreateKey

public struct CreateKey: Fn

This function creates a new key where the database and role are specified in params. It needs the admin key for authentication.

Reference.

  • Declaration

    Swift

    public init(_ params: Expr)

    Parameters

    params

    Key configuration.