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