oracleobjectstorage: supports workload identity authentication for OKE
Signed-off-by: Anders Swanson <anders.swanson@oracle.com>
This commit is contained in:
parent
a1e66cc5e8
commit
db8fb5ceda
3 changed files with 25 additions and 4 deletions
|
@ -52,6 +52,8 @@ func getConfigurationProvider(opt *Options) (common.ConfigurationProvider, error
|
|||
case noAuth:
|
||||
fs.Infof("client", "using no auth provider")
|
||||
return getNoAuthConfiguration()
|
||||
case workloadIdentity:
|
||||
return auth.OkeWorkloadIdentityConfigurationProvider()
|
||||
default:
|
||||
}
|
||||
return common.DefaultConfigProvider(), nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue