Connections and secrets

A connection stores how to reach a source (host, database, credentials or role) under a name. Your code refers to the connection by name and never contains credentials.

  • Groundzero prepares your connections when a run starts.
  • Only the connections you selected for the job or dataset are available to its code.
  • Lakehouse connections use short-lived access that Groundzero refreshes for you, so long-running sessions keep working.
  • Do not print connection details or credentials to run logs. Logs are stored and shown on the run page.

Never hard-code secrets

Put credentials in a connection. Do not paste keys or passwords into job code, parameters or notebooks.