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.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,
ClientConfiguration configuration
)
Public Sub New (
endpoint As String,
accessKeyId As String,
accessKeySecret As String,
securityToken As String,
configuration As ClientConfiguration
)
public:
OssClient(
String^ endpoint,
String^ accessKeyId,
String^ accessKeySecret,
String^ securityToken,
ClientConfiguration^ configuration
)
new :
endpoint : string *
accessKeyId : string *
accessKeySecret : string *
securityToken : string *
configuration : ClientConfiguration -> 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 - configuration
- Type: Aliyun.OSS.CommonClientConfiguration
client side configuration
See Also