public static class KMSClientProvider.Factory extends KeyProviderFactory
KEY_PROVIDER_PATH| Constructor and Description |
|---|
Factory() |
| Modifier and Type | Method and Description |
|---|---|
KeyProvider |
createProvider(URI providerUri,
Configuration conf)
This provider expects URIs in the following form :
kms://<PROTO>@<AUTHORITY>/<PATH>
where :
- PROTO = http or https
- AUTHORITY = <HOSTS>[:<PORT>]
- HOSTS = <HOSTNAME>[;<HOSTS>]
- HOSTNAME = string
- PORT = integer
This will always create a
LoadBalancingKMSClientProvider
if the uri is correct. |
get, getProviderspublic KeyProvider createProvider(URI providerUri, Configuration conf) throws IOException
LoadBalancingKMSClientProvider
if the uri is correct.createProvider in class KeyProviderFactoryIOExceptionCopyright © 2008–2021 Apache Software Foundation. All rights reserved.