Click or drag to resize
OssClient Constructor (String, String, String, String, ClientConfiguration)
Creates an instance of OssClient with OSS endpoint, access key Id, access key secret (cound be found from web console) and STS token.

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

Parameters

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