@classmethod
def encrypted_string(cls, plaintext):
    """Sends a string to DataRobot to be encrypted

        This is used for passwords that DataRobot uses to access external data sources

        Parameters
        ----------
        plaintext : str
            The string to encrypt

        Returns
        -------
        ciphertext : str
            The encrypted string
        """
    endpoint = 'stringEncryptions/'
    response = cls._client.post(endpoint, data={'plain_text': plaintext})
    return response.json()['cipherText']
