public BlobCrypterSecurityTokenCodec(ContainerConfig config) {
try {
for (String container : config.getContainers()) {
String keyFile = config.getString(container, SECURITY_TOKEN_KEY_FILE);
if (keyFile != null) {
BlobCrypter crypter = loadCrypterFromFile(new File(keyFile));
crypters.put(container, crypter);
}
String domain = config.getString(container, SIGNED_FETCH_DOMAIN);
domains.put(container, domain);
}