Skip to content

Conversation

@Divyansh-db
Copy link
Contributor

@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

…h/AzureDevOpsIDTokenSource.java

Co-authored-by: Renaud Hartert <[email protected]>
…h/AzureDevOpsIDTokenSource.java

Co-authored-by: Renaud Hartert <[email protected]>
…h/AzureDevOpsIDTokenSource.java

Co-authored-by: Renaud Hartert <[email protected]>
…h/AzureDevOpsIDTokenSource.java

Co-authored-by: Renaud Hartert <[email protected]>
…h/AzureDevOpsIDTokenSource.java

Co-authored-by: Renaud Hartert <[email protected]>
@github-actions
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: fc83237d461335e79dbda9f63779169f3d227a1e

Checks will be approved automatically on success.

@Divyansh-db Divyansh-db added this pull request to the merge queue Oct 2, 2025
Merged via the queue into main with commit a2ec565 Oct 2, 2025
16 checks passed
@Divyansh-db Divyansh-db deleted the divyansh-vijayvergia_data/AzureDevOps_OIDC_support branch October 2, 2025 11:44
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.

4 participants