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

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

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

    返回STSKeyPairSessionCredentialsProvider的com.aliyun.oss.common.auth中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `static STSKeyPairSessionCredentialsProvider` | CredentialsProviderFactory.`newSTSKeyPairSessionCredentialsProvider(String regionId, String publicKeyId, String privateKey)` Create an instance of InstanceProfileCredentialsProvider based on RSA key pair.
    `STSKeyPairSessionCredentialsProvider` | STSKeyPairSessionCredentialsProvider.`withExpiredDuration(long expiredDurationSeconds)`
    `STSKeyPairSessionCredentialsProvider` | STSKeyPairSessionCredentialsProvider.`withExpiredFactor(double expiredFactor)`

Copyright © 2020. All Rights Reserved.