QuestionQ180

VerifiedEnsuring Data Security and Compliance

A Data Engineer is developing a fraud detection pipeline that calls out to Open AI through a Python library and must include an access token when using the API.

Which Databricks CLI command should the Data Engineer use to create the secret?

Explanation

Databricks CLI creates a secret with databricks secrets put-secret SCOPE KEY. In a notebook, dbutils.secrets.get takes the secret scope followed by the key, so the secret can be retrieved for use as the API access token.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!