## 类 com.aliyun.oss.common.auth.InstanceProfileCredentialsProvider
的使用

- 使用InstanceProfileCredentialsProvider的程序包
  程序包 | 说明
  --- | ---
  com.aliyun.oss.common.auth |

- - ### com.aliyun.oss.common.auth中InstanceProfileCredentialsProvider的使用

    返回InstanceProfileCredentialsProvider的com.aliyun.oss.common.auth中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `static InstanceProfileCredentialsProvider` | CredentialsProviderFactory.`newInstanceProfileCredentialsProvider(String roleName)` Create an instance of InstanceProfileCredentialsProvider obtained the ak/sk by ECS Metadata Service.
    `InstanceProfileCredentialsProvider` | InstanceProfileCredentialsProvider.`withCredentialsFetcher(InstanceProfileCredentialsFetcher fetcher)`

Copyright © 2020. All Rights Reserved.