Click or drag to resize
OssClient Constructor (Uri, String, String, String, ClientConfiguration)
Creates an instance with specified endpoint, access key Id, access key secret, STS security token and configuration.

Namespace: Aliyun.OSS
Assembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntax
public OssClient(
	Uri endpoint,
	string accessKeyId,
	string accessKeySecret,
	string securityToken,
	ClientConfiguration configuration
)

Parameters

endpoint
Type: SystemUri
OSS endpoint
accessKeyId
Type: SystemString
STS access key
accessKeySecret
Type: SystemString
STS access key secret
securityToken
Type: SystemString
STS security token
configuration
Type: Aliyun.OSS.CommonClientConfiguration
client side configuration
See Also