Cereal docs
TypeScript SDKTypeScript signatures

client.secrets

TypeScript client.secrets signature, generated from CerealClient.

This is the TypeScript interface. See client setup and behavior.

interface ClientSurface {
readonly secrets: {
    list(): Promise<ReadonlyArray<Secret>>;
    upsert(input: {
        readonly secret: SecretUpsert;
    }): Promise<Secret>;
    delete(input: {
        readonly id: string;
    }): Promise<void>;
};
}

For the wire contract, use HTTP reference. Composite helpers are explained in the API/SDK map.