flip_api.scripts.generate_trust_key =================================== .. py:module:: flip_api.scripts.generate_trust_key .. autoapi-nested-parse:: Generate a trust API key and its SHA-256 hash. Pure utility, used by ``register_trust`` to mint a trust's API key and its internal-service key at registration time. There is no standalone CLI — keys are never added by hand; ``register_trust`` is the sole writer of the registry. Functions --------- .. autoapisummary:: flip_api.scripts.generate_trust_key.generate_trust_key Module Contents --------------- .. py:function:: generate_trust_key() -> tuple[str, str] Generate a trust API key and its SHA-256 hash. :returns: Tuple of (plaintext_key, sha256_hex_hash). :rtype: tuple[str, str]