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, getProviders
public KeyProvider createProvider(URI providerUri, Configuration conf) throws IOException
LoadBalancingKMSClientProvider
if the uri is correct.createProvider
in class KeyProviderFactory
IOException
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.