Registering secrets
Learn how you can register secrets for your environment that allows you to securely access your data sources using connectors.
- Log in to the Cloudera Anywhere Cloud instance.
- On the instance page, click the Secret tab.
- Click New Secret.
-
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:
- In the Secret name, enter a name for the secret.
- In the Secret value, enter a value for the secret.
- 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.
- In the Secret name, enter a name for the file secret.
- 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.
- If you select Environment (env), this option
applies the secret as an environment variable attached directly to the
instance:
