SASKeyGeneratorInterfacepublic class LocalSASKeyGeneratorImpl extends SASKeyGeneratorImpl
| Modifier and Type | Field | Description |
|---|---|---|
static org.slf4j.Logger |
LOG |
DEFAULT_CONTAINER_SAS_KEY_PERIOD, KEY_SAS_KEY_EXPIRY_PERIOD| Constructor | Description |
|---|---|
LocalSASKeyGeneratorImpl(org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method | Description |
|---|---|---|
java.net.URI |
getContainerSASUri(java.lang.String accountName,
java.lang.String container) |
Implementation to generate SAS Key for a container
|
java.net.URI |
getRelativeBlobSASUri(java.lang.String accountName,
java.lang.String container,
java.lang.String relativePath) |
Implementation for generation of Relative Path Blob SAS Uri.
|
getConf, getSasKeyExpiryPeriodpublic LocalSASKeyGeneratorImpl(org.apache.hadoop.conf.Configuration conf)
public java.net.URI getContainerSASUri(java.lang.String accountName,
java.lang.String container)
throws SASKeyGenerationException
accountName - - 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 accountName,
java.lang.String container,
java.lang.String relativePath)
throws SASKeyGenerationException
accountName - - 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.