-
-
Save Laxman-SM/130155691c0a25972ba35b432c31cda9 to your computer and use it in GitHub Desktop.
This file contains configuration for Azure app that will be required to access azure Gen1 and Gen2 storage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configuration> | |
<!-- Configuration for accessing Gen1 storage adl --> | |
<property> | |
<name>dfs.adls.oauth2.access.token.provider.type</name> | |
<value>ClientCredential</value> | |
</property> | |
<property> | |
<name>dfs.adls.oauth2.refresh.url</name> | |
<value>{Oauth2.0-endpoint}</value> | |
</property> | |
<property> | |
<name>dfs.adls.oauth2.client.id</name> | |
<value>{client-id}</value> | |
</property> | |
<property> | |
<name>dfs.adls.oauth2.credential</name> | |
<value>{client-secret}</value> | |
</property> | |
<property> | |
<name>fs.adl.impl</name> | |
<value>org.apache.hadoop.fs.adl.AdlFileSystem</value> | |
</property> | |
<property> | |
<name>fs.AbstractFileSystem.adl.impl</name> | |
<value>org.apache.hadoop.fs.adl.Adl</value> | |
</property> | |
<!-- Configuration for accessing Gen2 storage abfss --> | |
<property> | |
<name>fs.azure.account.auth.type</name> | |
<value>OAuth</value> | |
</property> | |
<property> | |
<name>fs.azure.account.oauth.provider.type</name> | |
<value>org.apache.hadoop.fs.azurebfs.oauth2.ClientCredsTokenProvider</value> | |
</property> | |
<property> | |
<name>fs.azure.account.oauth2.client.endpoint</name> | |
<value>{Oauth2.0-endpoint}</value> | |
</property> | |
<property> | |
<name>fs.azure.account.oauth2.client.id</name> | |
<value>{client-id}</value> | |
</property> | |
<property> | |
<name>fs.azure.account.oauth2.client.secret</name> | |
<value>{client-secret}</value> | |
</property> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment