cwltool.secrets
===============

.. py:module:: cwltool.secrets

.. autoapi-nested-parse::

   Minimal in memory storage of secrets.



Classes
-------

.. autoapisummary::

   cwltool.secrets.SecretStore


Module Contents
---------------

.. py:class:: SecretStore

   Minimal implementation of a secret storage.


   .. py:attribute:: secrets
      :type:  dict[str, str]


   .. py:method:: add(value)

      Add the given value to the store.

      Returns a placeholder value to use until the real value is needed.



   .. py:method:: store(secrets, job)

      Sanitize the job object of any of the given secrets.



   .. py:method:: has_secret(value)

      Test if the provided document has any of our secrets.



   .. py:method:: retrieve(value)

      Replace placeholders with their corresponding secrets.



