Administering HuePDF version

Secure Approach for Passing a Token in Cloudera Manager

This approach enables secure token management through Cloudera Manager. You first encode the credentials and then add the encoded value to the AI Interface API Secret property.

  1. Log on to Cloudera Manager and go to Hue > Configuration.
  2. In the search text box, enter AI Interface API Secret and add the token value you want to encode.
  3. Add the following configuration in the Hue Service Advanced Configuration Snippet (Safety Valve) for hue_safety_valve.ini field:
    [desktop] 
    [[ai_interface]]
        service='azure'
        service_version='2024-02-15-preview'
        model_name='[***DEPLOYMENT-NAME***]'
        base_url="https://[***RESOURCE***].openai.azure.com/"
  4. Click Save Changes.