public interface SASKeyGeneratorInterface
| Modifier and Type | Method and Description |
|---|---|
URI |
getContainerSASUri(String accountName,
String container)
Interface method to retrieve SAS Key for a container within the storage
account.
|
URI |
getRelativeBlobSASUri(String accountName,
String container,
String relativePath)
Interface method to retrieve SAS Key for a blob within the container of the
storage account.
|
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.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.