§
    º¦-e×
  ã                  ó‚   — d Z ddlmZ ddlZ ej        e¦  «        ZddlmZ ddl	m
Z
 ddlmZ dZ G d	„ d
e¦  «        ZdS )a×   Generate new secret keys that can be used by the Bokeh server to
cryptographically sign session IDs.

To generate a new secret key for use with Bokeh server, execute

.. code-block:: sh

    bokeh secret

on the command line. The key will be printed to standard output.

The secret key can be provided to the ``bokeh serve`` command with
the ``BOKEH_SECRET_KEY`` environment variable.

.. warning::
    You must keep the secret secret! Protect it like a root password.

é    )ÚannotationsN)Ú	Namespace)Úgenerate_secret_keyé   )Ú
Subcommand)ÚSecretc                  ó"   — e Zd ZdZdZdZd
d„Zd	S )r   z/ Subcommand to generate a new secret key.

    Úsecretz3Create a Bokeh secret key for use with Bokeh serverÚargsr   ÚreturnÚNonec                ó@   — t          ¦   «         }t          |¦  «         dS )z


        N)r   Úprint)Úselfr   Úkeys      ú@lib/python3.11/site-packages/bokeh/command/subcommands/secret.pyÚinvokezSecret.invokeE   s    € õ "Ñ#Ô#ˆõ 	ˆc‰
Œ
ˆ
ˆ
ˆ
ó    N)r   r   r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚhelpr   © r   r   r   r   ;   s>   € € € € € ðð ð
 €Dà@€Dðð ð ð ð ð r   r   )r   Ú
__future__r   ÚloggingÚ	getLoggerr   ÚlogÚargparser   Úbokeh.util.tokenr   Ú
subcommandr   Ú__all__r   r   r   r   ú<module>r$      sµ   ððð ð, #Ð "Ð "Ð "Ð "Ð "à €€€Ø€gÔ˜Ñ!Ô!€ð Ð Ð Ð Ð Ð ð 1Ð 0Ð 0Ð 0Ð 0Ð 0ð $Ð #Ð #Ð #Ð #Ð #ð€ðð ð ð ð ˆZñ ô ð ð ð r   