Class KMSClientProvider.Factory

  • Enclosing class:
    KMSClientProvider

    public static class KMSClientProvider.Factory
    extends org.apache.hadoop.crypto.key.KeyProviderFactory
    The factory to create KMSClientProvider, which is used by the ServiceLoader.
    • Field Summary

      • Fields inherited from class org.apache.hadoop.crypto.key.KeyProviderFactory

        KEY_PROVIDER_PATH
    • Constructor Summary

      Constructors 
      Constructor Description
      Factory()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.hadoop.crypto.key.KeyProvider createProvider​(URI providerUri, org.apache.hadoop.conf.Configuration conf)
      This provider expects URIs in the following form : kms://@/ where : - PROTO = http or https - AUTHORITY = [:] - HOSTS = [;] - HOSTNAME = string - PORT = integer This will always create a LoadBalancingKMSClientProvider if the uri is correct.
      • Methods inherited from class org.apache.hadoop.crypto.key.KeyProviderFactory

        get, getProviders
    • Constructor Detail

      • Factory

        public Factory()
    • Method Detail

      • createProvider

        public org.apache.hadoop.crypto.key.KeyProvider createProvider​(URI providerUri,
                                                                       org.apache.hadoop.conf.Configuration conf)
                                                                throws IOException
        This provider expects URIs in the following form : kms://@/ where : - PROTO = http or https - AUTHORITY = [:] - HOSTS = [;] - HOSTNAME = string - PORT = integer This will always create a LoadBalancingKMSClientProvider if the uri is correct.
        Specified by:
        createProvider in class org.apache.hadoop.crypto.key.KeyProviderFactory
        Throws:
        IOException