SASKeyGeneratorInterfacepublic class RemoteSASKeyGeneratorImpl extends SASKeyGeneratorImpl
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
KEY_CRED_SERVICE_URLS |
Configuration parameter name expected in the Configuration
object to provide the url of the remote service "fs.azure.cred.service.urls"
|
static org.slf4j.Logger |
LOG |
|
static java.lang.String |
SAS_KEY_GENERATOR_HTTP_CLIENT_RETRY_POLICY_ENABLED_KEY |
Configuration key to enable http retry policy for SAS Key generation.
|
static java.lang.String |
SAS_KEY_GENERATOR_HTTP_CLIENT_RETRY_POLICY_SPEC_KEY |
Configuration key for SAS Key Generation http retry policy spec.
|
DEFAULT_CONTAINER_SAS_KEY_PERIOD, KEY_SAS_KEY_EXPIRY_PERIOD| Constructor | Description |
|---|---|
RemoteSASKeyGeneratorImpl(org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method | Description |
|---|---|---|
java.net.URI |
getContainerSASUri(java.lang.String storageAccount,
java.lang.String container) |
Interface method to retrieve SAS Key for a container within the storage
account.
|
java.net.URI |
getRelativeBlobSASUri(java.lang.String storageAccount,
java.lang.String container,
java.lang.String relativePath) |
Interface method to retrieve SAS Key for a blob within the container of the
storage account.
|
void |
initialize(org.apache.hadoop.conf.Configuration conf) |
getConf, getSasKeyExpiryPeriodpublic static final org.slf4j.Logger LOG
public static final java.lang.String KEY_CRED_SERVICE_URLS
public static final java.lang.String SAS_KEY_GENERATOR_HTTP_CLIENT_RETRY_POLICY_ENABLED_KEY
public static final java.lang.String SAS_KEY_GENERATOR_HTTP_CLIENT_RETRY_POLICY_SPEC_KEY
public RemoteSASKeyGeneratorImpl(org.apache.hadoop.conf.Configuration conf)
public void initialize(org.apache.hadoop.conf.Configuration conf)
throws java.io.IOException
java.io.IOExceptionpublic java.net.URI getContainerSASUri(java.lang.String storageAccount,
java.lang.String container)
throws SASKeyGenerationException
SASKeyGeneratorInterfacestorageAccount - - Storage account namecontainer - - Container name within the storage account.SASKeyGenerationException - Exception that gets thrown during
generation of SAS Key.public java.net.URI getRelativeBlobSASUri(java.lang.String storageAccount,
java.lang.String container,
java.lang.String relativePath)
throws SASKeyGenerationException
SASKeyGeneratorInterfacestorageAccount - - Storage account namecontainer - - Container name within the storage account.relativePath - - Relative path within the containerSASKeyGenerationException - Exception that gets thrown during
generation of SAS Key.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.