Repository navigation
Support storage-scoped Azure credentials - #5952
Conversation
A deployment can select AWS credentials per storage through storageName, but every Azure catalog has to use the single server default. With RESOLVE_CREDENTIALS_BY_STORAGE_NAME enabled, an Azure storage configuration's storageName now selects the service principal set by polaris.storage.azure.<storage>.tenant-id, client-id and client-secret. A storage without a name keeps using the default credentials, and an unknown name fails with no fallback. The storage configuration's tenantId must match the name's tenant-id. Each credential is built on first use and then shared, because its token cache lives inside the credential object.
The cause stays out of the message, which can reach API clients, but is now kept for the server log. The docs now say that selecting a name requires the feature flag in that realm and that names are case-sensitive.
Keep the tests in proportion with the AWS named credential tests. They now check what Polaris passes to the credential builder instead of faking Microsoft Entra, and no longer test token caching, SDK error text or configuration library behavior.
…redentials # Conflicts: # runtime/service/src/main/java/org/apache/polaris/service/storage/StorageConfiguration.java # site/content/in-dev/unreleased/configuration/config-sections/smallrye-polaris_storage.md
dimas-b
left a comment
There was a problem hiding this comment.
Thanks for your contribution, @sririshindra !
The changes LGTM overall with some comments.
| * is retried on the next use. Each call builds a new map with new credentials, so call this once | ||
| * and keep the result. | ||
| */ | ||
| default Map<String, AzureNamedCredential> azureNamedCredentials() { |
There was a problem hiding this comment.
Do we need to materialize the whole map for each call? My impression is that we need to resolve only one particular name per call.
There was a problem hiding this comment.
You're right. The map was built once, in the application-scoped provider's constructor, but a method that returns every credential isn't the right shape when each call needs only one, and the javadoc had to ask callers to use it only once. In cdda307 I removed the map. The provider now looks up the one name it needs and keeps each built credential in a ConcurrentHashMap, so a credential is still built once per name and shared, and a failed build isn't kept.
| new AzureNamedCredential( | ||
| storageConfig.tenantId(), | ||
| Suppliers.memoize( | ||
| () -> buildAzureCredential(storageName, storageConfig))))); |
There was a problem hiding this comment.
Does memoize help when we rebuild the whole Map?
There was a problem hiding this comment.
With the old code, yes, because the map was built once at startup, so every request saw the same suppliers. It only held as long as nobody called the method twice, which is what you're pointing at. cdda307 removes the memoize and the map.
|
|
||
| ### New Features | ||
|
|
||
| - Added storage-scoped Azure credentials. With `RESOLVE_CREDENTIALS_BY_STORAGE_NAME` enabled, an Azure |
There was a problem hiding this comment.
Thanks for the pointer. #5967 isn't merged yet, so I've left the entries in CHANGELOG.md. I'll move them to a changelog.d/ fragment if it lands first.
There was a problem hiding this comment.
Done, thanks. Merged main, reverted CHANGELOG.md and moved both entries to changelog.d/azure-storage-name-credentials.md (26a9382).
The provider needs one credential per call, so look up the single storage name instead of building a map of every configured name. Each built credential is kept in a ConcurrentHashMap and shared, because its access tokens are cached inside it. A failed build stores nothing and is retried on the next use.
…redentials # Conflicts: # CHANGELOG.md
orca-review-bot
left a comment
There was a problem hiding this comment.
Looks good overall. This closely follows the AWS named-storage design, and the tests are thorough.
Things I checked that are fine:
- The provider is
@ApplicationScoped, so the named-credential map really is shared across requests. - A failed build isn't cached, and the next use retries it.
- The cache key identity comes from the storage config, so two names never share a SAS.
- The client-facing build error only includes the exception class name.
IcebergExceptionMapperstill logs the full cause on the server.
One small test ask: can we add a case where two realms have different values of RESOLVE_CREDENTIALS_BY_STORAGE_NAME and use the same storageName? The memo map is app-wide while the flag is per-realm, and that test would lock the behavior down.
🤖 AI-generated review comment — agents make mistakes, so please verify before acting on it.
| + "'"); | ||
| } | ||
| // A failed build stores nothing, so the next use builds it again. | ||
| return namedCredentials.computeIfAbsent(storageName, storageConfiguration::azureCredential); |
There was a problem hiding this comment.
We already have named here, but azureCredential(storageName) looks the name up again and repeats the same 'not configured' throw. That branch can't be hit from this path. Can we build from named directly? Or we could move the lookup and tenant check into StorageConfiguration, like stsCredentials(String) does for AWS, so there's just one place.
🤖 AI-generated review comment — agents make mistakes, so please verify before acting on it.
There was a problem hiding this comment.
Done: the lookup and tenant check moved into StorageConfiguration.azureStorage(storageName, tenantId), and the provider builds from the result. See the reply above on why the check isn't inside the cached loader.
|
|
||
| Named credentials apply to the whole deployment, not to one realm. An administrator who can set | ||
| `storageName` on a catalog in any realm where `RESOLVE_CREDENTIALS_BY_STORAGE_NAME` is enabled can | ||
| select any configured name, and can set the catalog's allowed locations. Polaris then uses that service principal directly on those locations. Only |
There was a problem hiding this comment.
This line isn't wrapped like the rest of the section. Can we rewrap it?
🤖 AI-generated review comment — agents make mistakes, so please verify before acting on it.
| } | ||
| // A client secret credential only obtains tokens for its own tenant. This message can reach API | ||
| // clients, so it does not include the tenant configured on the server. | ||
| if (!named.tenantId().equalsIgnoreCase(storageConfig.getTenantId())) { |
There was a problem hiding this comment.
optional: It is a bit awkward to check tenant ID here, but reuse the opaque result of storageConfiguration::azureCredential... How do we know the latter uses the same or different tenant?
WYDT about passing the tenant ID to storageConfiguration::azureCredential and doing the validation there?
There was a problem hiding this comment.
Good point, done. The name lookup and tenant check now live in StorageConfiguration.azureStorage(storageName, tenantId), like stsCredentials(String) for AWS, and the provider no longer repeats the lookup. I kept the check separate from the credential build rather than putting it inside the computeIfAbsent loader: the credential is shared per name, so a check inside the loader would run only on the first use, and a later catalog with the same name and a different tenant would skip it. The check runs on every call, and only the build is cached.
| } | ||
|
|
||
| Mockito.verify(teamA).getToken(Mockito.any(TokenRequestContext.class)); | ||
| Mockito.verify(teamB).getToken(Mockito.any(TokenRequestContext.class)); |
There was a problem hiding this comment.
How does this test prove that the cached credential was not shared?
There was a problem hiding this comment.
It didn't show it well: it only counted getToken calls, and both names returned the same SAS. I changed it so each SAS carries the token of the credential that minted it. The test now asserts that team-a gets sas-of-token-a and team-b gets sas-of-token-b on both rounds, and the getToken verifies show the second round was served from the cache.
The name lookup and tenant check now live in StorageConfiguration, and the provider builds from the validated configuration instead of looking the name up again. The checks run on every use; only the built credential is shared per name. Strengthen the cache test so each SAS shows which credential minted it, add a test for the realm flag with a shared named credential, and rewrap a doc line.
dimas-b
left a comment
There was a problem hiding this comment.
Thanks for the update, @sririshindra !
Just one minor doc comment... mostly for the sake of completeness.
| key: client-secret | ||
| ``` | ||
|
|
||
| Environment variables alone cannot define a name containing a dash, because the name cannot be |
There was a problem hiding this comment.
They can. The limitation is specific to some shells, not to the environment. For example, one can set env. variables with dashes in their names in k8s.
So, the admin user can configure the same names in java -D properties and in k8s env. vars. and they will work.
There was a problem hiding this comment.
Correct. You don't need to use uppercase environment variables, afaik. The following should work:
- name: polaris.storage.azure."team-a".client-secretThere was a problem hiding this comment.
Good catch, thanks both. That sentence was only true for the uppercase form a shell needs. The Helm example now uses polaris.storage.azure.team-a.client-secret directly, and the paragraph points to the Configuring Polaris page for the shell case. I left the quotes out, since team-a has no dot in it.
| new GcpCredentialsStorageIntegration( | ||
| gcpCredsProvider.get(), gcpTransportFactory, cache, storageConfig, realmConfig); | ||
| // Each named credential holds its own access token cache, so it is built once and shared. | ||
| Map<String, TokenCredential> azureNamedCredentials = new ConcurrentHashMap<>(); |
There was a problem hiding this comment.
This creates a closure that I find a bit error-prone. It would be cleaner to introduce a separate class AzureCredentialsFactory and move the Azure code there.
There was a problem hiding this comment.
Also the memoization pattern is different between Azure and GCP: gcpNamedCredentialsSuppliers() enumerates the configured storage names eagerly, then creates a (lazily-evaluated) supplier for each credential. Azure instead is doing everything lazily.
Also, GCP's cache lives in the config interface, so the memoization is bundled with the config. Azure's lives in the provider.
It could be good to harmonize things.
There was a problem hiding this comment.
Makes sense, done in f07db6f. The Azure code now lives in a package-private AzureCredentialsFactory that the provider creates once, and the cache is a field there instead of a local captured by the lambda.
On harmonizing with GCP, I'd rather bring #5951 in line with this than go the other way. The eager map of memoized suppliers is pretty much what this PR had before, and @dimas-b questioned it earlier in this review. I'll make the same change in #5951 once this one is in.
There was a problem hiding this comment.
Yes, let's merge this PR first, then do GCP changes similarly :)
There was a problem hiding this comment.
Sounds good, I'll follow up in #5951 once this is merged.
| Map<String, TokenCredential> namedCredentials) { | ||
| String storageName = storageConfig.getStorageName(); | ||
| // The checks run on every use. Only the credential, which belongs to the name alone, is shared. | ||
| AzureNamedStorageConfig named = |
There was a problem hiding this comment.
nit: named could be constructed inside computeIfAbsent.
There was a problem hiding this comment.
I kept the lookup outside on purpose. It also does the tenant check, and that has to run on every call. The computeIfAbsent loader only runs the first time a name is used, so a later catalog using the same name with a different tenantId would skip the check. It's in AzureCredentialsFactory now, but it works the same way: check every time, build once.
| * tokens for its own tenant. The messages can reach API clients, so they do not include the | ||
| * tenant configured on the server. | ||
| */ | ||
| default AzureNamedStorageConfig azureStorage(String storageName, String tenantId) { |
There was a problem hiding this comment.
TBH I'm not convinced that all these methods belong in this class, which is just a configuration class. But since we're doing the same for AWS and GCP, I'm OK. There is some potential for cleanup here.
There was a problem hiding this comment.
I tend to agree, actually.
There was a problem hiding this comment.
Agreed. After f07db6f StorageConfiguration only has the Azure properties; the lookup, the checks and the build are in AzureCredentialsFactory. I didn't touch the existing AWS and GCP helpers here, since that feels like its own cleanup.
| */ | ||
| default TokenCredential azureCredential( | ||
| String storageName, AzureNamedStorageConfig storageConfig) { | ||
| return buildAzureCredential(storageName, storageConfig); |
There was a problem hiding this comment.
Can't we just inline this method?
There was a problem hiding this comment.
Yes, it was only there so the provider could reach the private builder. It's gone now; the build is a private method of AzureCredentialsFactory.
| Optional<Instant> gcpAccessTokenExpiry(); | ||
|
|
||
| @WithName("azure") | ||
| AzureStorageConfig azure(); |
There was a problem hiding this comment.
Something is not symmetric with how we handle AWS credentials:
- In AWS when no named storage is present, we first inspect the "unnamed" properties
polaris.storage.aws.access-keyandpolaris.storage.aws.secret-key. Only if those unnamed properties are missing, we build a default credentials provider from the environment:
- In Azure, it seems that the absence of named config falls back to credentials built from the environment directly; IOW, there are no "unnamed" properties like
polaris.storage.azure.tenant-id.
Why is that? I think it would be good to provide the same resolution logic across cloud providers, which makes Polaris behavior more predictable, imo. Besides, adding support for unnamed Azure properties is safe, since it's a new thing so no existing deployment can be affected by that.
There was a problem hiding this comment.
No good reason, I had only done the named case. I agree it's better if the clouds resolve the same way, so f07db6f adds polaris.storage.azure.tenant-id, client-id and client-secret. When all three are set, they're used whenever no storageName picks a named principal (also with the flag off). Otherwise it falls back to DefaultAzureCredential as today.
Two differences from AWS: if only some of the three are set, the request fails and the error lists the missing ones, instead of quietly using the default chain. And the catalog's tenantId has to match tenant-id, same as for named ones. Happy to change either if you'd rather match AWS exactly.
|
|
||
| The following rules apply: | ||
|
|
||
| - A storage without a `storageName` uses the default credentials. |
There was a problem hiding this comment.
See my previous comment. What "default credentials" mean here is not what I expected.
There was a problem hiding this comment.
Fair, that was vague. The bullet now links to the section at the top of the page, which covers both the new polaris.storage.azure.* properties and the DefaultAzureCredential fallback.
| name's values fails only the storages that use it. | ||
| - A credential is created the first time its name is used, and then kept until Polaris restarts. | ||
|
|
||
| In Kubernetes, do not put the client secret in the pod spec or in a `ConfigMap` as plain text. Set |
There was a problem hiding this comment.
Shouldn't we provide a better UX here? I see that we currently have support only for unnamed credentials for AWS and GCP and no support for Azure at all:
polaris/helm/polaris/values.yaml
Lines 987 to 1006 in 8d15760
There was a problem hiding this comment.
Good point. I added storage.secret.azureTenantId, azureClientId and azureClientSecret, mapped to the new unnamed properties the same way the AWS and GCP keys are. Named storages still go through advancedConfig / extraEnv as in the example. That's the case for AWS today too, so I left it as is.
| key: client-secret | ||
| ``` | ||
|
|
||
| Environment variables alone cannot define a name containing a dash, because the name cannot be |
There was a problem hiding this comment.
Correct. You don't need to use uppercase environment variables, afaik. The following should work:
- name: polaris.storage.azure."team-a".client-secret|
@sririshindra : This is big behaviour change, so I started a dev discussion for community awareness: https://lists.apache.org/thread/42hgrj6oz0xhvhqvjo8jjgp2m08d0kts |
…ection out of StorageConfiguration Azure had no Polaris properties for its default service principal: without a storage name, it always used the DefaultAzureCredential chain, while AWS first checks polaris.storage.aws.access-key and secret-key. Add polaris.storage.azure.tenant-id, client-id and client-secret. When all three are set, they are used whenever no storage name selects a named service principal, including with RESOLVE_CREDENTIALS_BY_STORAGE_NAME off. When only some are set, the request fails and names the missing properties. As for named credentials, the storage configuration's tenantId must match. The Helm chart can load the three properties from a Secret. The selection, the checks and the credential cache move from StorageConfiguration and a lambda in the provider into a package-private AzureCredentialsFactory, so StorageConfiguration only holds properties. The docs now say that Kubernetes accepts property names as environment variable names; the uppercase form is only needed in a shell.
…redentials # Conflicts: # CHANGELOG.md
| {{- include "polaris.secretToEnv" (list .Values.storage.secret "awsAccessKeyId" "polaris.storage.aws.access-key") | indent 12 -}} | ||
| {{- include "polaris.secretToEnv" (list .Values.storage.secret "awsSecretAccessKey" "polaris.storage.aws.secret-key") | indent 12 -}} | ||
| {{- include "polaris.secretToEnv" (list .Values.storage.secret "gcpToken" "polaris.storage.gcp.token") | indent 12 -}} | ||
| {{- include "polaris.secretToEnv" (list .Values.storage.secret "azureTenantId" "polaris.storage.azure.tenant-id") | indent 12 -}} |
There was a problem hiding this comment.
Would you mind moving helm changes to another PR?... just for ease of review 😅
dimas-b
left a comment
There was a problem hiding this comment.
A few fresh minor comments on top of the request to isolate helm changes, please 😉
| azureCredentials | ||
| .credential( | ||
| storageConfig, | ||
| realmConfig.getConfig(FeatureConfiguration.RESOLVE_CREDENTIALS_BY_STORAGE_NAME)) |
There was a problem hiding this comment.
Would it be nicer to make AzureCredentialsFactory a proper CDI bean and inject storageConfiguration + realmConfig into it?
There was a problem hiding this comment.
Makes sense, done in 0c2064d. AzureCredentialsFactory is now an @ApplicationScoped bean with StorageConfiguration and RealmConfig injected, like StsCredentialVendingMechanism, and it reads the storage-name flag itself.
|
|
||
| private final AzureStorageConfig azure; | ||
| private final Supplier<TokenCredential> unnamedCredential; | ||
| private final Map<String, TokenCredential> namedCredentials = new ConcurrentHashMap<>(); |
There was a problem hiding this comment.
Do we gain much by caching TokenCredential? They are not costly to construct, and we already have a higher-level vended credentials cache 🤔
There was a problem hiding this comment.
Fair point. A credential is cheap to build, and the only thing the cache saved was one token request on a vended-credential cache miss, which is also what main does today with the default chain. In 0c2064d the factory builds the credential on each call, and the map and memoization are gone (986bb51 drops the doc line that said otherwise).
| credential, cache, storageConfig, realmConfig)) | ||
| .orElseGet( | ||
| () -> | ||
| new AzureCredentialsStorageIntegration(cache, storageConfig, realmConfig)); |
There was a problem hiding this comment.
I think AzureCredentialsFactory can handle the DefaultAzureCredential case too... WDYT?
There was a problem hiding this comment.
Agreed. In 0c2064d the factory always returns a credential and falls back to DefaultAzureCredential itself, so the provider has a single path.
The storage.secret.azureTenantId, azureClientId and azureClientSecret chart keys, their schema, test and reference rows go to their own pull request. The Azure page and the CHANGELOG no longer mention them.
…edential AzureCredentialsFactory is now an @ApplicationScoped bean with StorageConfiguration and RealmConfig injected, like StsCredentialVendingMechanism, and reads RESOLVE_CREDENTIALS_BY_STORAGE_NAME itself. It always returns a credential: the named one, else the unnamed one, else the DefaultAzureCredential chain, so the provider has a single path. Credentials are no longer cached. They are cheap to build, and vended credentials are already cached by StorageCredentialCache; main builds the default chain per integration in the same way.
…start Credentials are now built on each use.
main moved to google-java-format 2.0.0 in apache#6010.
| } | ||
| if (missing.size() == 3) { | ||
| // Reads the AZURE_* environment variables, among other sources. | ||
| return new DefaultAzureCredentialBuilder().build(); |
There was a problem hiding this comment.
Should this be memoized / cached?
There was a problem hiding this comment.
If it performs I/O (e.g. file reads) it would make sense to cache it (static singleton), I think.
There was a problem hiding this comment.
Yes, done in ba0a729. Building it does little I/O, but the instance keeps state. DefaultAzureCredential remembers which credential in its chain worked, and that credential caches its tokens. A new instance per call repeated the chain walk on every vended-credential cache miss, including the managed-identity probe when running outside Azure. The factory now builds it lazily, once, and reuses it. I kept it as a field of the @ApplicationScoped factory rather than a static, so it is still one per server but tests do not share it. theDefaultCredentialIsBuiltOnce covers it.
| name's values fails only the storages that use it. | ||
| - A credential is created the first time its name is used, and then kept until Polaris restarts. | ||
|
|
||
| In Kubernetes, do not put the client secret in the pod spec or in a `ConfigMap` as plain text. Set |
|
Heads-up: #5967 has been merged, so Could you rebase onto |
The chain remembers which of its credentials works, and that credential caches its tokens, so building a new one per call repeated the chain walk on every vended-credential cache miss.
| } | ||
|
|
||
| @Test | ||
| void theFlagIsReadPerRealm() { |
There was a problem hiding this comment.
On the two-realm question from the earlier automated review: this test covers it. One AzureCredentialsFactory handles the same storageName while the realm's RESOLVE_CREDENTIALS_BY_STORAGE_NAME value goes on, off, then on. Both calls with the flag on build team-a's credential, and the call with it off uses the default credential, so the flag is read on every call and never kept in the shared bean.
jbonofre
left a comment
There was a problem hiding this comment.
LGTM, thanks!
A few non-blocking comments:
- when a named client secret expires or a client ID is wrong, Entra returns ADDSTS errors. Their messages include the client ID and sometimes the tenant. As far as I can tell, these are rethrown unwrapped and can end up in the API response. The build path already wraps errors to avoid exposing configured values. It would be good to do the same here.
- If only some of
polaris.storage.azure.tenant-id/client-id/client-secretare set, every request fails with a 500. That includes catalogs that previously worked withDefaultAzureCredential. Incomplete named entries fail at startup. Could the unnamed properties be validated the same way? - with
RESOLVE_CREDENTIALS_BY_STORAGE_NAMEenabled, a catalog with"storageName": ""fails withStorage name '' is not configured on the server. The SigV4 paths treat null or empty as absent. Should Azure do the same? - the incomplete-confiiguration error returns
polaris.storage.azure.*property names to the client. The R2 path (CloudflareR2ParentTokenResolver) logs them at WARN and returns a generic message instead. It would be nice to align.
Thank you JB! I will address your comments in a follow up PR right after this merges to main. |
|
Merging current changes with follow-up planned as discussed in review comments. |
A deployment can already select AWS credentials per storage through
storageName(#3409, which fixed #2970), but every Azure catalog has to use the single server default. Teams whose storage accounts belong to different identities can't share one Polaris server without giving one identity access to everything.With
RESOLVE_CREDENTIALS_BY_STORAGE_NAMEenabled, an Azure storage configuration'sstorageNamenow selects a service principal:When no
storageNameselects a named service principal, the new unnamedpolaris.storage.azure.tenant-id,client-idandclient-secretare used if all three are set, likepolaris.storage.aws.access-keyandsecret-keyon AWS; otherwise theDefaultAzureCredentialchain is used as before. An unknown name fails with no fallback, as on AWS. The credentials are selected inAzureCredentialsFactory, a CDI bean that vending, refresh and cleanup tasks all go through. A credential is built for each vend; the vended credentials themselves are cached as before. Two names never share a cached vended credential, because the cache key's identity includes the storage configuration and therefore itsstorageName. Nothing changes for a deployment that sets none of the new properties and either doesn't setstorageNameon Azure storages or leaves the flag off. The Helm chart keys for the unnamed properties are in #6095, stacked on this PR.DefaultAzureCredentialis widened toTokenCredentialin the integration and its cache key so they can hold either kind, and the cache key'sdefaultAzureCredential()accessor is renamedcredential().runtime/servicenow declarescom.azure:azure-identity, becauseClientSecretCredentialBuilderis used there. That library already ships throughpolaris-core, and the module's runtime classpath is unchanged by this line.Behavior to review:
storageName, on a deployment with the flag enabled, now fails instead of ignoring the name.CHANGELOG.mdhas an upgrade note.tenantIdmust match the name'stenant-id, ignoring case, or the request fails with an error that doesn't reveal the configured tenant. The SDK would refuse the request anyway, but its message advises enablingadditionallyAllowedTenants, which would let a catalog'stenantIdchoose where a named identity signs in. The credential is built without that setting. A tenant's domain name doesn't match its ID, so both places need the same form.POLARIS_STORAGE_AZURE_TEAM_A_CLIENT_SECRETalone doesn't defineteam-a, because the name can't be recovered from the variable. It does supply the secret when the other properties define the name, which is the Kubernetes setup in the docs:advancedConfigfor the IDs andextraEnvwith asecretKeyReffor the secret.This relates to #5943, which relies on
storageNameselecting credentials for any storage type, but it works with a catalog's own storage configuration and doesn't depend on that PR. It will conflict slightly with #5951 in the same files, and whichever lands second rebases.Testing: unit tests cover named and default credentials, no fallback, unknown names, the flag on and off, tenant mismatch, catalogs and cleanup tasks, separate cache entries per name, each name passing its own tenant, client ID and secret to the credential builder, a bad entry failing only its own name without its secret in the error, an incomplete entry failing at startup, and the environment variable form used in the Kubernetes setup. Like the AWS tests, they stop at Polaris's side and don't exercise the Azure SDK itself; the real Azure run below covers that.
:polaris-core:checkpasses. In:polaris-runtime-serviceI ran the new test classes andStorageConfigurationTestlocally and am relying on CI for the rest of the module. The generated docs were produced on JDK 26, which changes whitespace in unrelated rows, so only the real rows are committed.I also ran it against real Azure: two ADLS Gen2 accounts, a service principal per account plus a default one with no data role, and Spark 4.1 with Iceberg 1.12 using vended credentials. Each name could create, write and read tables only on its own account. A name used on the other account got a 403 from Azure, and the first name still worked afterwards, so there's no shared cache entry. An unknown name and a tenant mismatch returned 400 without falling back or revealing the configured tenant. A storage without a name used the default credential. With the flag off, the name was ignored. A name missing its secret stopped the server at startup. No secret appeared in the server or Spark logs. (
floci-azcan't show any of this: it accepts any bearer token.)Checklist
CHANGELOG.md(if needed)site/content/in-dev/unreleased(if needed)