Skip to content

Conversation

Divyansh-db
Copy link

@Divyansh-db Divyansh-db commented Sep 23, 2025

Added native support for Azure DevOps OIDC authentication to allow authentication from Azure DevOps pipeline's environment.

Testing

Tested on an Azure DevOps project. Used the SDK to authenticate with a Databrick's workspace using Azure DevOps OIDC

  1. Created a demo Java files that uses the SDK to create a Workspace Client: This will test if the OIDC authentication is working
Screenshot 2025-09-24 at 12 52 23
  1. Created a pipeline to run the demo file. Set the necessary environment variables.
    (System.AccessToken is slightly different, it needs to be exported through pipeline syntax: https://learn.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml#systemaccesstoken)
Screenshot 2025-09-24 at 12 52 48
  1. The pipeline runs successfully indicating that authentication succeeded.
Screenshot 2025-09-24 at 12 58 17

Copy link

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/sdk-java

Inputs:

  • PR number: 512
  • Commit SHA: e167257f3b16d951f6dadb011e5df595ce72f586

Checks will be approved automatically on success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant