Registering secrets

Learn how you can register secrets for your environment that allows you to securely access your data sources using connectors.

  1. Log in to the Cloudera Anywhere Cloud instance.
  2. On the instance page, click the Secret tab.
  3. Click New Secret.
  4. In the Secret type drop-down, select how the secret should be made available on the cluster:
    • If you select Environment (env), this option applies the secret as an environment variable attached directly to the instance:
      1. In the Secret name, enter a name for the secret.
      2. In the Secret value, enter a value for the secret.
      3. Click Save.
    • If you select File (file):, this option mounts the secret as a file on the cluster, which is useful for uploading binary data like a Kerberos keytab file.
      1. In the Secret name, enter a name for the file secret.
      2. Under Provide file contents as, select your preferred input method:
        • Upload file: Click Choose file to upload the raw binary or text file from your local machine.
        • Base64-encoded file contents: Paste the pre-encoded Base64 string of the file into the provided field.
The registered secret is listed in the Secrets tab and can be used while creating a connector.