Managing secrets

Configure secret management in Cloudera AI to securely store, rotate, and inject encrypted API keys and individual user credentials.

Managing user secrets protects your personal access tokens, private keys, and user credentials across individual workloads and developer sessions. By maintaining encrypted personal credentials in your user profile, you can authenticate securely to platform services without exposing sensitive keys in scripts or configuration files. To manage user secrets for your account, perform the following steps:

To configure secret management, perform the following steps:

  1. Select Apps in the left navigation pane on the Anywhere Cloud Console.
  2. Search for the required Cloudera AI Workbench instance.

    Ensure that the status of the instance is Deployed.

  3. Click on the name of the required instance.

    A pane opens displaying the available information for the selected instance.

  4. Click the URL of the selected Cloudera AI Workbench instance.

    The Cloudera AI Workbench home page is displayed.

  5. Select Secrets from the left navigation pane.
  6. Select the User Secrets tab.

    This page displays the user secrets created through the Anywhere Cloud console. Users can select or deselect secrets and save their selection as a preference. When a workload is launched, the selected secrets are mounted under /var/run/secrets/awc.

  7. Select one or more secrets to mount for the workload by selecting the checkbox next to each secret name.

    The Save selection option becomes available after you make a selection.

  8. Click Save selection, then confirm the action in the pop-up window.

    The selected secrets are mounted automatically when you launch a new workload, and the Mounted to workloads column updates to Yes.