Secret Stores
Secret Stores are configured per Domain. There is no separate organization or User Settings page for registering Secret Stores.
The Data Platform decides which Secret Stores you are offered, and preselects its default:
A Domain's Secret Store must be readable by its production runs. Internal and Local File can be read only by your Agent, so they are offered for DuckDB-local alone.
| Store | Offered for | Preselected for |
|---|---|---|
| Internal | DuckDB-local | DuckDB-local |
| Local File | DuckDB-local | none |
| Azure Key Vault | Fabric Lakehouse and Fabric Warehouse | Fabric Lakehouse and Fabric Warehouse |
| Databricks Unity Catalog secrets | Databricks | Databricks |
| MotherDuck Flight Secrets | MotherDuck | MotherDuck |
| AWS Secrets Manager | Redshift | Redshift |
| Google Secret Manager | BigQuery, once an Owner turns on the GCP Secret Manager Secret Store Preview feature | BigQuery, while the Preview feature is on |
| Snowflake Secrets | Snowflake | Snowflake |
| No Secret Store | Redshift, BigQuery and Snowflake | BigQuery, while the Preview feature is off |
Databricks, MotherDuck and Snowflake have no in-container run for credentialed sources, so only their own store works there: every credentialed run executes inside the platform (a Databricks job, a MotherDuck Flight, a Snowflake container job service), which reads nothing else. Credential-free Snowflake sources still run in the agent container.
No Secret Store holds nothing. Sources that need credentials aren't supported on that Domain yet; sources that need none still work.
Turning on the GCP Secret Manager Secret Store Preview feature (Org settings → Preview features) only affects new bindings: with it on, a new BigQuery Domain, or an existing one changed under Resources → Secret store, can choose Google Secret Manager. A Domain already bound to a store keeps it, and the picker keeps showing it, even if its platform no longer offers it; an advisory says so. Optional connection reuse depends on compatible credentials; it does not widen which stores are offered.
Secret Store kinds
Each kind has its own section. Before you start lists the values each one needs.
Azure Key Vault
Choose User connection and Service authentication separately. When sign-in is on, they need an Entra Identity Provider. Dedicated identity asks for Client ID and Client secret. The tenant comes from the selected Identity Provider. Azure tenant ID is asked when sign-in is off or you use ambient mode. Choose a vault by Key Vault resource ID; Vibedata derives the read-only Key Vault URL.
AWS Secrets Manager
Under Bound resource, enter Account ID, Region and Secret name prefix. KMS key ARN is optional and informational. Under User authentication, choose an AWS Identity Center provider and enter User session role ARN. Under Service authentication, choose Cloud IAM role and enter Service role ARN. Vibedata generates the External ID after the Domain exists. Add it to the service role's trust policy before the first test or Reconcile. Create the sentinel secret that Setup guidance shows before first use.
Databricks Unity Catalog secrets
Enter Catalog and Schema.
Databricks Unity Catalog secrets serves a Databricks Domain only, holds no credential of its own, and binds the catalog and schema where the Domain's secrets live. It needs no Identity Provider of its own. Unity Catalog secrets belong to the metastore, so one catalog and schema serve every workspace attached to it, production and Ephemeral alike. Vibedata lists the secret names with your Databricks connection and never reads a value: a Databricks pipeline runs as a Databricks job, and that job reads each secret with dbutils.secrets.get(catalog=, schema=, key=).
Vibedata grants nothing. The Domain Owner creates each secret and grants READ SECRET on it, per secret, to the people who run against it and to the Domain's service principal; both also need USE CATALOG and USE SCHEMA on the schema. Grant READ SECRET, never REFERENCE SECRET, to people who run sandboxes: a secret held with either privilege appears in the listing, but only READ SECRET lets a job read the value. A secret you hold no privilege on does not appear in your listing, and the Open check reports it by name when the Domain's service principal can see it; ask the Domain Owner to grant it. Vibedata cannot detect a REFERENCE SECRET-only grant, so it shows up when the sandbox run fails. What you and the agent running as you can read is whatever you hold READ SECRET on.
Name a secret in lowercase letters, digits, _ and - (up to 255 characters): a dotted key such as sources.sf_prod.client_id is held as sources__sf_prod__client_id.
Snowflake Secrets
Enter Account, Database and Schema.
Snowflake Secrets serves a Snowflake Domain only, holds no credential of its own, and binds the account, database and schema where the Domain's SECRET objects live. It needs no Identity Provider of its own. A credentialed load runs as a Snowpark Container Services job in the Domain's account, and that job reads each secret inside Snowflake; Vibedata lists secret names with your Snowflake connection and never reads a value.
Vibedata grants nothing. The Domain Owner creates each secret (CREATE SECRET <db>.<schema>.<name>) and grants READ on it, per secret, to the people who run against it and to the Domain service user; both also need USAGE on the database, the schema, the compute pool, and CREATE SERVICE on the job schema plus READ on the image repository. Grant READ, not just USAGE, on each secret: a name held with USAGE alone appears in the listing but the job cannot read its value, and Snowflake names the missing READ grant when the run fails. The secrets account must be the Domain's data account.
Name a secret in upper-snake letters, digits and _ (up to 255 characters). Keep secrets in one schema; the location account.database.schema serves the sandbox and production runs alike.
MotherDuck Flight Secrets
You enter nothing. This store serves a MotherDuck Domain only and holds no credential of its own. It lists the flights secrets of the account the Domain's MotherDuck token opens, which are the names a Flight run reads.
Internal
You enter nothing. Manage the values under the Domain's Secrets tab, as described below.
Local File
You enter nothing. Secrets are supplied outside Vibedata.
No Secret Store
You enter nothing. See the table above for the Data Platforms that offer it.
Google Secret Manager
Preview. An Owner turns on GCP Secret Manager Secret Store first. Enter Project ID and Secret name prefix. Under Service authentication, choose Dedicated service account and enter Service account email. Key-based accounts also need Service account key (JSON). This store needs a Google Identity Provider.
How to choose a Secret Store for a new Domain
- Open Domains from the global application rail.
- Select Add domain.
- Complete Basics, including Repository, and Data platform, including Workspace. On Secret store, keep the preselected default for your platform or choose another store it offers.
- For Azure Key Vault, complete Authentication. User connection and service identity are independent choices; Reuse data platform connection appears only when the corresponding requirement is compatible. Dedicated identity alone requires separate Client ID and Client secret. Ambient mode uses the host Azure identity and requires Azure tenant ID instead.
- For Azure Key Vault, select Continue to vault. Choose a discovered vault or explicitly commit a supported canonical Resource ID through the same editable dropdown. Vibedata derives the read-only Vault URL. Reopen Authentication through its header without losing compatible draft values. Internal and Local File skip this step.
- Confirm the safe Domain summary, then select Create. Vibedata opens General and reconciles applicable saved service and resource readiness after saving.
Local File, when you choose it, requires no configuration in this form. Secrets are supplied outside Vibedata; Vibedata does not create or edit that file.
Internal also requires no external identity or resource. After saving the Domain, use Secrets to manage its Internal inventory. Your Agent can discover active secret names in the selected Domain without receiving their values. Archived names are excluded; a listed name may still need a value before it can be used.
Use the vault dropdown's filter to find a vault by any case-insensitive part of its displayed name. Filtering does not alter the saved vault selection, and deleting the filter restores the discovered options. "No matching Key Vault options" is different from discovery returning no vaults, still loading, failing, or reporting a truncated result.
How to change a Domain's Secret Store
- Open Domains and select the Domain.
- Open Resources, then expand Secret store.
- Under Secret store type, choose one of the stores your Data Platform offers and complete any displayed resource and identity fields.
- Select Save. Vibedata does not copy secret values when the Secret Store changes.
- Select Reconcile after saving when you want to refresh the saved service-readiness result.
Selecting Internal in an unsaved draft shows Save to enable the Secrets tab. The tab appears after saving, if you have permission to read secret metadata. Switching away hides Secrets but retains the Internal inventory and every version. Switching back restores access; no values are migrated or deleted.
How to manage Internal secrets
- Open the Domain's Secrets tab.
- Select Add secret. Enter Secret name using letters, numbers, or hyphens (1–127 characters). Names are case-insensitive.
- Enter Secret value. Multiline and empty values are allowed, up to 25 KiB in UTF-8. Saved values cannot be viewed, revealed, or copied from this screen.
- Set Enabled, Not before, and Expires as needed. Dates use the local timezone shown in the form and are set to the minute. Leave a date blank for no restriction.
- Select Create. The inventory shows its status and version count.
An imported name with no value shows Needs value. Select Set value to configure its first value.
How to see versions and edit properties
- Select a secret, or View details in its row menu, to open Versions. The table identifies the Latest version and shows each version's creation date, Enabled state, and date restrictions. Dates show in your local time.
- Select Add version, enter the new Secret value, then select Save. Saving a value creates another version; it does not replace the history.
- To change a version without changing its value, select that row's Edit properties. Update Enabled or the date restrictions, then select Save. Clearing an existing date removes that restriction without adding a version.
How to archive, restore, or delete a secret
- Select Archive, then confirm Archive. All versions and properties are retained.
- Select Archived to find it. Select it to inspect its retained versions, or select Unarchive and confirm to restore it.
- To remove an archived secret and every version irreversibly, select Delete permanently and review the confirmation. Cancel leaves it unchanged.
What you'll see
- An empty Active inventory says No active secrets with the hint Add a secret to get started.
- Search secrets filters the returned records. When the collection limit is reached, counts include a plus sign and a notice explains that search results and version lists are partial.
- Failed reads offer Retry and disclose that loaded records may be incomplete or stale; a failed read is not an empty inventory.
- A failed save retains your draft. After a conflicting change, select Refresh metadata for review, review the displayed metadata, then select I reviewed the refreshed metadata before saving again.
- Leaving a changed form asks Discard unsaved changes? Use Keep editing to retain the draft, or Discard changes to leave without saving.
- Secret-management permissions are separate from permission to edit Domain settings. Read-only access disables mutations. Domain lifecycle restrictions can also prevent changes; an archived Domain's metadata may be unavailable.
How to manage your connection
If Discover Key Vaults in Domain creation asks you to sign in again (multi-factor or Conditional Access), select Open connections. It opens User settings → Data platforms in a new tab, so your Domain draft stays in the original tab; reconnect there, return to the draft and select Retry.
Open User settings → Data platforms and select the connection used by your Azure Key Vault requirement. Select Connect or Reconnect to authorize the required identity, or Disconnect to remove the stored credential after reviewing every affected Domain and requirement.
Local File, Internal, and ambient identities appear as shared access sources. They do not offer personal Connect or Disconnect actions; sources that require no credential show Not required. A credential reused by Data Platform and Secret Store requirements appears once, with each affected Domain listed once in its details.
Quick reference
| Control | What it does |
|---|---|
| Secret store type | Chooses one of the stores its Data Platform offers for one Domain (for example Local File or Internal on DuckDB-local, Azure Key Vault on Fabric). |
| Secrets | Manages the saved Internal inventory; does not manage Local File or Azure Key Vault values. |
| View details | Opens retained versions and their properties without retrieving saved values. |
| Reconcile | Re-checks Domain-wide provisioning, both saved service identities, and your own User identity, live, for every non-terminal Domain lifecycle state (not offered while the Domain is locked, archived, or being deleted, or while you have unsaved changes). |
| Data platforms | Manages personal credentials required by Domain Data Platform and Secret Store requirements. |

