Package org.apache.iceberg.azure
Class AzureProperties
java.lang.Object
org.apache.iceberg.azure.AzureProperties
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final StringControls whether vended credentials should be refreshed or not.static final StringWhen set, theVendedAdlsCredentialProviderwill be used to fetch and refresh vended credentials from this endpoint.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringConfigure the ADLS token credential provider used to getTokenCredential.static final StringUsed by the configuredADLS_TOKEN_CREDENTIAL_PROVIDERvalue that will be used byAdlsTokenCredentialProviders.defaultFactory()and other token credential provider classes to pass provider-specific properties.static final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyClientConfiguration(String account, com.azure.storage.file.datalake.DataLakeFileSystemClientBuilder builder) Applies configuration to theDataLakeFileSystemClientBuilderto provide the endpoint and credentials required to create an instance of the client.
-
Field Details
-
ADLS_SAS_TOKEN_PREFIX
- See Also:
-
ADLS_SAS_TOKEN_EXPIRES_AT_MS_PREFIX
- See Also:
-
ADLS_CONNECTION_STRING_PREFIX
- See Also:
-
ADLS_READ_BLOCK_SIZE
- See Also:
-
ADLS_WRITE_BLOCK_SIZE
- See Also:
-
ADLS_SHARED_KEY_ACCOUNT_NAME
- See Also:
-
ADLS_SHARED_KEY_ACCOUNT_KEY
- See Also:
-
ADLS_TOKEN
- See Also:
-
AZURE_KEYVAULT_URL
- See Also:
-
AZURE_KEYVAULT_KEY_WRAP_ALGORITHM
- See Also:
-
ADLS_TOKEN_CREDENTIAL_PROVIDER
Configure the ADLS token credential provider used to getTokenCredential. A fully qualified concrete class with package that implements theAdlsTokenCredentialProviderinterface is required.The implementation class must have a no-arg constructor and will be initialized by calling the
AdlsTokenCredentialProvider.initialize(Map)method with the catalog properties.Example: adls.token-credential-provider=com.example.MyCustomTokenCredentialProvider
When set, the
AdlsTokenCredentialProviders.from(Map)method will use this provider to get ADLS credentials instead of using the default.- See Also:
-
ADLS_TOKEN_PROVIDER_PREFIX
Used by the configuredADLS_TOKEN_CREDENTIAL_PROVIDERvalue that will be used byAdlsTokenCredentialProviders.defaultFactory()and other token credential provider classes to pass provider-specific properties. Each property consists of a key name and an associated value.- See Also:
-
ADLS_REFRESH_CREDENTIALS_ENDPOINT
When set, theVendedAdlsCredentialProviderwill be used to fetch and refresh vended credentials from this endpoint.- See Also:
-
ADLS_REFRESH_CREDENTIALS_ENABLED
Controls whether vended credentials should be refreshed or not. Defaults to true.- See Also:
-
-
Constructor Details
-
AzureProperties
public AzureProperties() -
AzureProperties
-
-
Method Details
-
adlsReadBlockSize
-
adlsWriteBlockSize
-
vendedAdlsCredentialProvider
-
applyClientConfiguration
public void applyClientConfiguration(String account, com.azure.storage.file.datalake.DataLakeFileSystemClientBuilder builder) Applies configuration to theDataLakeFileSystemClientBuilderto provide the endpoint and credentials required to create an instance of the client.Default credentials are provided via the
DefaultAzureCredential.- Parameters:
account- the service account key (e.g. a hostname or storage account key to get values)builder- the builder instance
-
keyWrapAlgorithm
-
keyVaultUrl
-