...
An implementation using standard Java tools (JKS or JCEKS) will be provided. The key store will be stored in a file on the local filesystem.
Code Block | ||||
---|---|---|---|---|
| ||||
public class JavaSecureStoreProvider extends KeyProvider {
//Implementation needs to thread safe
private JavaSecureStoreProvider(URI uri, Configuration conf) throws IOException {
//Get the file path for local storage
//Get the password for the secure store
//Load or create the store
}
public static class Factory extends KeyProviderFactory {
@Override
public KeyProvider createProvider(URI providerName,
Configuration conf) throws IOException {
}
}
} |
The cluster has KMS running
...