ARTIFACTORY:在' cluster-google-storage '链模板中使用' useinstancecredals ' (binarstore .xml)
两个Google Storage binarstore .xml提供商之间的一个主要区别是google storage'使用
默认情况下,“人工HA链”cluster-google-storage'包括它下面的' google-storage '提供商,这意味着它需要使用
然而,我们可以手动配置' cluster-google-storage '链使用' google-storage-v2 ',允许我们利用其独占的< useinstancecredals >认证方法。
这可以通过以下方式稍微改变和混合示例配置来实现:<配置version = " 2 " >
<链> < !——模板=“cluster-google-storage”- - - >
> < /供应商
< / sub-provider >
> < /供应商
> < /供应商
< / >链
< bucketName >我的桶< / bucketName >
<路径> filestore > < /路径
真正< bucketExists > < / bucketExists >
真正< testConnection > < / testConnection >
假< / enableSignedUrlRedirect < enableSignedUrlRedirect > >
真正< useInstanceCredentials > < / useInstanceCredentials >
> < /供应商
< / config >
