This document describes the current stable version of Celery (5.6). For development docs, go here.

# `celery.security.serialization`

Secure serializer.

class celery.security.serialization.SecureSerializer(key=None, cert=None, cert_store=None, digest='sha256', serializer='json')

  Signed serializer.

  deserialize(data)

    Deserialize data structure from string.

  serialize(data)

    Serialize data structure into string.

celery.security.serialization.register_auth(key=None, key_password=None, cert=None, store=None, digest='sha256', serializer='json')

  Register security serializer.