Java code to read azure storage file in a jar type databricks job

ShenghaoWu
New Contributor II

I have a java application, packed as a jar, and will be used as jar dbx job.

This application need

1. read azure storage file, yaml format.

2. need to get passphrase, privatekey stored in dbx, in order to access a snowflake db

my questions are:

1. how to access/read azure storage file in my java code, does dbx have api to do that, any code example including authentication and read.

2. how to access/read secrets stored in dbx in my java code. any code example including authentication and read code.