Databricks OpenSharing: old open-recipient tokens stop working on February 25, 2027
Databricks moved the forced expiry of legacy OpenSharing bearer tokens from December 8, 2026 to February 25, 2027. Rotated tokens also switch to a new recipient-specific URL. Here's how to find the affected recipients, rotate them without an outage and stop it happening again.
part 58 of 61 · Platform releases, explained from scratchthe ideaOld sharing tokens get an end date. Rotate before February 25.
after reading, you can- Find the partners still reading on an old token, so you hear about it first and not from them
- Rotate each token with an overlap, so a partner can switch files without losing a night's load
- Plan which partners move to OIDC federation, so you aren't rotating their tokens every year
If you share Databricks data with partners or customers who don't use Databricks, some of their logins have a hard end date. Old OpenSharing bearer tokens with no expiry, or an expiry later than February 25, 2027, stop working on that day. Rotate them before then, and give each recipient time to switch to the new credential and the new URL.
Partners still reading with an old Databricks sharing token lose access in February
Databricks lets a company share live tables with another company, even one that has never used Databricks. That outside reader is an open recipient. They get a small credential file holding a long password-like string, the bearer token, and their tools use it to read the data. Many of those tokens were created years ago with no end date, so nobody planned a renewal. Databricks is now putting an end date on them: any token issued before February 25, 2026 that would have lasted past February 25, 2027 now stops on that day. Databricks first set December 8, 2026 and has moved it back once. The fix is a token rotation on your side and a new credential file loaded on theirs, and the new file points at a new web address.
It's like a supplier who has had a key to your loading dock for years. You're changing the lock on a set date. Each supplier needs a new key before then, the new key opens a different door, and their security guard has to be told about the new door too.
- Teams sharing Databricks data with outsiders
- Data product and partnership owners
- Databricks metastore and account admins
- Partner engineers who load the credential file
- Network teams who keep egress firewall rules
- Security teams tracking machine credentials
Why it matters to you
The risk here is quiet. A token without an expiry date never shows up on a renewal list, so nobody on either side expects it to stop. On the morning of February 25 a partner's nightly load, a Power BI refresh or a Snowflake integration gets refused, and the first person to notice may well be the customer looking at an empty report.
It also has a contract side. If you sell data through shares, or a regulator or partner depends on a daily feed, an outage on their end is your problem. If different teams set up open recipients over the years, the credential filedefinitionIt's what the partner downloads, once, from the activation link you send them. Inside are the sharing address and the bearer token, plus the expiry time if you set one. for each one may have gone to someone you can't reach today.
There's a security upside if you treat it as a cleanup. A bearer tokendefinitionIt's a long secret string that a partner's program sends instead of a password. Whoever has a copy reads what that recipient reads, and Databricks treats them all as that recipient. with no expiry is a standing credential outside your company, and you can't see where the file went after it was downloaded. Rotating each one is a chance to find out who still uses it and cut the ones nobody claims.
-
01 The token was issued long ago
Nobody set an expiry when the recipient was created. The partner downloaded the credential file once, dropped it into their pipeline and forgot about it.
-
02 Every night it still works
Each night the partner's job sends the bearer token to the old regional sharing URL and reads the table. Nobody on either side has a reason to look at it.
-
03 Databricks sets an end date
Databricks caps old tokens like this one. Whatever expiry it was given, or none, it now stops working on the February cut-off.
-
04 25 February: the read fails
The token's gone. Their job, their dashboard or their Snowflake integration gets nothing back until someone sends a new credential.
-
05 Rotate, and move to the new URL
You rotate the token and send the new activation link. The new file points at a host name of its own, so check the partner's firewall too.
For engineers: the credential file follows the open OpenSharing protocol, with shareCredentialsVersion, endpoint, bearerToken and an optional expirationTime. When expirationTime is missing, the protocol says a client can treat the token as never expiring. So a partner holding a no-expiry file gets no warning from their own tools. Only you can see the end date coming.
What Databricks changed
The changes to open recipient tokens
Old bearer tokens that never expire, or would have run past the cut-off, now stop on 25 February 2027. Databricks had first said 8 December, so anyone who planned for that has a little more room.
Some tokens were given an earlier end date when they were set up. Those still run out on their own date, which may come first, so don't plan everything around February.
Every token created or rotated since the September rollout points at a URL with the recipient ID in the host name. In most regions, that lets a partner's firewall allow their own host and nothing broader.
Tokens created since 25 February 2026 last a year at most. That turns rotation into a yearly chore, and yearly chores get dropped unless somebody owns them.
Old URLs keep working until their tokens expire. For OIDC federation recipients there's no retirement date yet, but Databricks recommends moving to the new URL now.
The new URL format isn't available in AWS GovCloud or AWS GovCloud DoD yet. The expiry date still applies there.
Databricks posted the new date in its November 24 release notes, next to the recipient-specific URLs. Put the two together and the job gets simpler. Rotate each legacy token once, and the new token moves that recipient to the new URL format as well. There's no second migration for these recipients later.
When you rotate, you can tell Databricks how many seconds the old token should keep working. During that window the partner can use either credential, so they swap files at their own pace. Use the window for routine renewals. Kill the old token on the spot only when you think it has leaked.
| Token | URL it uses | When it stops | What to do |
|---|---|---|---|
| Issued before 25 Feb 2026, no expiry or expiry after 25 Feb 2027 | Old regional URL | 25 Feb 2027 | Rotate before then, with an overlap window |
| Issued before 25 Feb 2026, expiry on or before 25 Feb 2027 | Old regional URL | Its own configured date | Rotate before that date |
| Issued from 25 Feb 2026 up to the September 2026 rollout | Old regional URL | Its own date, one year after creation at most | Rotate before expiry to move to the new URL |
| Created or rotated after the September 2026 rollout | Recipient-specific URL | Your setting, one year after creation at most | Nothing now. Diarise the yearly rotation |
| OIDC federation recipient (no bearer token) | New URL shown in the OpenSharing UI | No token to expire. Old URL retirement date not set | Give recipients the new URL now |
The dates in order
- 25 Feb 2026The cut-off for legacy tokens
Bearer tokens issued before this date fall under the forced expiry. Tokens issued later are capped at one year anyway.
- Sep 2026Recipient-specific URLs roll out
After this point, every new or rotated token points at a host name with the recipient ID in it. Databricks calls it the transition date, and gives no exact day.
- 24 Nov 2026Databricks moves the date
Databricks pushes the forced expiry back to 25 February 2027. The same notes cover the new URLs, so one round of rotations deals with both.
- 8 Dec 2026The date that no longer applies
If you planned for this one, you've got eleven more weeks. Don't spend them all.
- 25 Feb 2027Legacy tokens expire
Old tokens that would have lasted longer stop working that day. Any partner still reading with one gets nothing back until you rotate it and they load the new file.
- Everything keeps working until the cut-off. Then every unrotated partner fails on the same morning
- Support takes all the calls at once, and some partners can't find whoever loaded the file
- You still have to send each one a new credential file, only now it's during an outage
- Firewall changes for the new host name happen during the outage
- You choose the day with each partner, and the old token keeps working while they switch
- A partner who never replies gets dropped on a day you chose, with a note saying why
- Each rotated partner lands on the new URL too, so there's no second round later
- The one-year limit starts now, so plan the next rotation as you go
Find which recipients are affected
Start with a list. Unity Catalog keeps one row per open-recipient token in the information schema, with the creation and expiry timestamps. Anything created before February 25, 2026 is in scope for the forced date. Anything created before the September rollout is still on the old URL.
-- example: legacy token recipients SELECT t.recipient_name, r.recipient_owner, t.created, t.expiration_time, t.activation_url IS NULL AS downloaded FROM system.information_schema.recipient_tokens t JOIN system.information_schema.recipients r USING (recipient_name) WHERE r.authentication_type = 'TOKEN' AND t.created < TIMESTAMP '2026-09-01' ORDER BY t.created; -- then see who still reads, last 30 days SELECT request_params.recipient_name, max(event_time) AS last_seen, count(*) AS calls FROM system.access.audit WHERE service_name = 'unityCatalog' AND (action_name LIKE 'deltaSharing%' OR action_name LIKE 'generateTemporary%') AND event_date >= date_sub(current_date(), 30) AND request_params.recipient_name IN ( SELECT recipient_name FROM system.information_schema.recipient_tokens ) GROUP BY 1 ORDER BY last_seen DESC;
The information schema only shows recipients you have permission to see, so run it as a metastore admin or you'll get a short list and false comfort. The audit query needs the audit log system table, which an account admin has to turn on. Tokens created during September itself may be on either URL, so check those one by one.
The second query tells you who is still active. A recipient with no sharing calls in 30 days may be a quarterly job, or it may be dead. Ask the owner before you decide. The activation_url column goes null once the credential file has been downloaded. A recipient whose link is still there never picked theirs up.
What to do now, by role
Who does what before 25 February
- List the outside companies that read your shares. For each one, find a person who can actually load a new file, because the original contact may have moved on.
- Write to each partner now. Tell them their credential changes before the cut-off, and that their network team may need to allow a new host name.
- Agree a rotation date with each partner, outside their own month-end or reporting peaks.
- Have a metastore admin run the recipient_tokens query and save the output. That spreadsheet becomes your rotation tracker.
- Rotate each recipient with an overlap, using databricks recipients rotate-token <name> <seconds>. A week of overlap is usually enough.
- Send the new activation link over a secure channel, never in the same email thread as the old file.
- Drop recipients that nobody claims, after the owner signs off.
- Download the new file the day the link arrives. The link only works once, and if someone else opens it first you're back to asking the provider.
- Replace the file everywhere the old one is used. Spark jobs and pandas scripts are easy to miss, and so are Power BI, Tableau and a Snowflake integration someone set up years ago.
- If you're on Databricks yourselves and imported the file as a provider object in Unity Catalog, update that provider object through the Databricks REST API. Swapping a file somewhere won't do it.
- Run one real read before the old token expires.
- Open egress to the recipient-specific host name before the partner loads the new file. In Oregon it looks like <recipient-id>.opensharing.us-west-2.cloud.databricks.com, a different host from the old one.
- Keep the old regional host allowed until every token on it has gone.
- Store credential files in a vault or secret store, not in a shared drive or a repo.
# example: old token lives 7 more days databricks recipients rotate-token acme_partner 604800 # get the new activation link to send to the partner databricks recipients get acme_partner
Pick the overlap with care. Databricks recommends a fairly short window that gives the recipient time to collect the new link without leaving two live tokens around for weeks. A week suits most partners. You can't rotate the same recipient again until the retiring token has expired, so a mistake here waits for the window to close.
If you automate recipients in Terraform, test rotationdefinitionSetting the current token to expire and issuing a new one with a new activation link. Databricks lets the old one live for a short overlap so the recipient can switch. in a sandbox first. There's an open issue on the Databricks Terraform provider where a user reports that, after a token rotation outside Terraform, the activation URL the provider exposes came back empty between plan and apply. In that user's tests, a call built from the URL worked at plan and failed at apply. The provider's recipient resource also lists only TOKEN and DATABRICKS as authentication types today, so an OIDC federationdefinitionHere the partner signs in through their own identity provider, such as Microsoft Entra ID or Okta. Databricks never issues them a bearer token, so there's nothing of yours to rotate. move may have to happen outside Terraform for now.
Harden it so next year is routine
Before: tokens that never expire
Each partner got a credential file once and that was the end of it. Nobody knows where the file lives now or when it should change.
After: short-lived credentials with an owner
OIDC federation where the partner has an identity provider, and yearly rotation with IP lists where they don't.
The order we'd do it in
- 01Move partners with an identity provider to OIDC
With OIDC federation, the partner's own identity provider issues short-lived tokens and can enforce MFA. Databricks doesn't create a bearer token at all, and the profile file holds nothing secret.
- 02Set a metastore default lifetime
An account admin can set the default token lifetime for new recipients. It doesn't change existing recipients until you rotate them, so set it before this round of rotations.
- 03Add an IP access list per recipient
Up to 100 IPv4 addresses or ranges per recipient. Without SecureConnect, the storage URLs stay reachable from any address, so treat the list as one layer and not the whole fence.
- 04Put an owner and a date on every recipient
Put the business owner's name and the next rotation date in the recipient's properties or comment. A year goes quickly, and the person who set it up may have left by then.
- 05Watch the audit log
Alert on rotateRecipientToken and retrieveRecipientToken events, and on recipients with no reads for 90 days. Those are the ones to question at the next rotation.
If it goes wrong
When a partner rings to say the share has stopped working
In our reading of the docs, failures here tend to be one of three things: an expired token, a credential file that wasn't replaced everywhere, or a firewall that blocks the new host name. Work out which before you rotate again, because a second rotation has to wait for the first window to close.
- 01Confirm the causefirst hour
- Check the recipient's status and token expiry in Catalog Explorer, or in recipient_tokens.
- Check system.access.audit for that recipient's deltaSharing and generateTemporary events. Nothing logged since the rotation? Suspect a block on the partner's network, or a file nobody replaced.
- Ask the partner which endpoint their credential file holds. An old regional host after rotation means they're still on the old file.
- 02Restore accesssame day
- Expired token? Rotate it and send the new activation link over a secure channel, then stay on the call until they've loaded it.
- If the link was already used by the wrong person, rotate again with immediate expiry once the window allows, or drop and re-create the recipient.
- If it's their firewall, give the partner's network team the recipient-specific host name and keep the old token alive until they've added it.
- 03Tell peoplesame day
- Tell report owners on both sides which tables are stale and since when.
- If a contract or a regulator depends on the feed, record the outage window and the cause.
- 04Learn from itnext week
- Put a named owner and the next rotation date on the recipient, so next year's renewal has someone to chase it.
- Consider moving that partner to OIDC federation if they have an identity provider.
What this looks like in practice
Three illustrative situations
- the setup
- A data provider sells reference data through shares. Over four years its sales engineers set up forty open recipients, mostly with no token expiry, and nobody wrote down who to call at each partner.
- what happens
- On 25 February every recipient that wasn't rotated loses access at once. Support gets the calls, and some partners can't find the person who loaded the original file.
- what to do
- Pull the token list now, sort by last read in the audit log, and rotate in batches of five with a one-week overlap. Partners who don't reply after two attempts get dropped deliberately.
- the setup
- A partner pulls a shared table into Power BI from a locked-down network. Their firewall only allows named hosts, and the rule names the old regional sharing host.
- what happens
- The provider rotates, the partner loads the new credential file, and the refresh fails. The new file points at the recipient-specific host, which their firewall doesn't allow.
- what to do
- Send the new host name with the rotation notice, ahead of time. Keep the old token alive through the overlap until the firewall change goes through.
- the setup
- A company shares tables between two business units, and one of them reads with plain Spark outside Databricks. Both units already sign in through the same identity provider.
- what happens
- Their bearer token is one of the legacy ones. Rotating it fixes February, but the team is back here within a year.
- what to do
- Move this recipient to OIDC federation with the company's own identity provider. Databricks supports federating to the provider's own IdP for internal sharing, and there's no bearer token left to rotate.
How Cohash helps
We build and run Databricks platforms, Unity Catalog governance and sharing included. Here we'd run the token and audit queries first, then work out a rotation plan with your partners and move the ones that can to OIDC federation. See our Databricks services, hire Databricks engineers for your own team, or start with a free assessment of which recipients February will touch.
What to take from this
- 01
Old open-recipient tokens with no expiry, or one past the cut-off, stop working on 25 February 2027. Databricks moved it from 8 December, so you've gained some time. The work hasn't changed.
- 02
Rotating is the whole fix. Each partner gets a new link to collect, and their new token sits on the recipient-specific URL from day one.
- 03
Use the overlap window when you rotate, and send the new host name to partners with strict egress firewalls first.
- 04
Find your tokens in system.information_schema.recipient_tokens as a metastore admin, and check who still reads in system.access.audit.
- 05
New tokens last a year at most. Where a partner has an identity provider, OIDC federation removes the bearer token altogether.
01Which of our Databricks sharing tokens are going to stop working?
Open-recipient bearer tokens issued before February 25, 2026 that have no expiry date, or an expiry after February 25, 2027. Tokens with an earlier configured date still expire on that earlier date. Databricks-to-Databricks sharing doesn't use these tokens and isn't affected.
02Wasn't the date December 8, 2026?
It was. Databricks moved it to February 25, 2027 in its November 24, 2026 release notes. If you planned around December, you have more time, but the work is the same.
03What happens if we do nothing?
Their token stops working on February 25. From then on their tools can't read the shared data until you rotate it and someone on their side loads the new credential file.
04How do I rotate a recipient's token?
You need to own the recipient object. In Catalog Explorer it's Rotate under Token management, or run databricks recipients rotate-token with the number of seconds the old token should keep working. Then send the partner the new activation link over a secure channel.
05Will our partners have to change anything apart from the file?
Possibly their firewall. A rotated token points at a recipient-specific host name with the recipient ID in it. Partners who only allow named hosts need to add it. In AWS GovCloud the new URL format isn't available yet.
06Can we stop rotating tokens every year?
Only by moving away from bearer tokens. New tokens last a year at most. With OIDC federation the recipient's own identity provider issues short-lived tokens and there's no Databricks token to rotate.
07How do I find which recipients are affected?
Run a query on system.information_schema.recipient_tokens as a metastore admin and join it to the recipients view for TOKEN recipients. Anything created before the 2026 cut-off is in scope. Then check system.access.audit to see which of them still read data.
Three questions, about a minute
Pick an answer and we'll tell you if it's right, and why it is or isn't. The score stays in this browser.
-
Q1Someone set up a recipient two years ago and gave its token an expiry date last June. Does the new February cut-off change anything for that token?
show the answer
B. Nothing. It already ran out on its own date last June The new cut-off only shortens tokens that would have lasted longer. This one had an earlier date of its own, so it ended then, and you'd have needed to rotate it already.
-
Q2You rotate a partner's token, they load the new file, and their Power BI refresh fails. Their network only allows named hosts. What's the likely cause?
show the answer
C. Their firewall doesn't allow the recipient-specific host the new credential points at Rotated tokens use the new URL with the recipient ID in the host name. A firewall that only names the old regional host blocks it until the partner adds the new one.
-
Q3A partner has its own identity provider and you're tired of rotating their token every year. What do you change?
show the answer
A. Moving the recipient to OIDC federation With OIDC federation, the partner's identity provider issues short-lived tokens and Databricks doesn't create a bearer token at all. The other options still leave a bearer token that expires within a year.