OssClient Constructor (String, String, String, String) |
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.OSSAssembly: 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
)
Public Sub New (
endpoint As String,
accessKeyId As String,
accessKeySecret As String,
securityToken As String
)
public:
OssClient(
String^ endpoint,
String^ accessKeyId,
String^ accessKeySecret,
String^ securityToken
)
new :
endpoint : string *
accessKeyId : string *
accessKeySecret : string *
securityToken : string -> OssClient
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
See Also