Databricks
Create a Secret for securing Databricks credentials.
Prerequisites
To create a Secret for securing Databricks credentials, you must have the following information:
See Secret: Access control for who can create a Secret and how access to it is managed.
Source system requirements
Token: A Databricks personal access token or service principal token used for authentication. Obtain this from the Databricks workspace under Settings β Developer β Access Tokens.
Ensure you have this credential ready before proceeding with the Secret creation process.
Create a Secret for securing Databricks credentials
To create a Databricks Secret in DataOS, ensure you have access to the DataOS Command Line Interface (CLI) and the required permissions. Follow the steps below to complete the creation process efficiently and securely.
Step 1: Create a manifest file
Begin by creating a manifest file to hold the configuration details for your Databricks Secret.
name: ${{databricks-secret-name}}
version: v2alpha
type: secret
tags:
- ${{tag-1}}
- ${{tag-2}}
description: "Credentials for databricks depot"
layer: user
secret:
type: key-value
data:
token: ${{databricks-token}}For more information about each attribute, refer to the configurations section.
Step 2: Apply the manifest
To create the Databricks Secret within DataOS, use the apply command.
Example Usage:
Step 3: Validate the Secret
To validate the proper creation of the Databricks Secret in DataOS, use the get command.
Expected Output:
To get the list of all the Secrets within the Dataos environment, execute the following command.
Expected Output:
Delete the Secret
To delete the Databricks Secret, use one of the following commands:
Specify the Resource type and Secret name in the delete command.
Example Usage:
Last updated
Was this helpful?