com.aliyun.kms.secretsmanager.plugin.ons.ProxyOnsBatchConsumerBeanBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ons-client-managed-credentials-provider Show documentation
Show all versions of ons-client-managed-credentials-provider Show documentation
Managed Credentials Provider for ONS Java Client
Copyright (C) Alibaba Cloud Computing
All rights reserved.
版权所有 (C)阿里云计算有限公司
http://www.aliyun.com
The newest version!
package com.aliyun.kms.secretsmanager.plugin.ons;
import com.aliyun.openservices.ons.api.bean.BatchConsumerBean;
import com.aliyuncs.kms.secretsmanager.client.exception.CacheSecretException;
import java.util.Properties;
public class ProxyOnsBatchConsumerBeanBuilder {
public BatchConsumerBean build(Properties properties, String secretName) {
try {
return SecretsManagerOnsPluginManager.createOnsBatchConsumerBean(properties, secretName);
} catch (CacheSecretException e) {
throw new RuntimeException(e);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy