Show / Hide Table of Contents

Class AliyunBlobProviderConfiguration

Sub-account access to OSS or STS temporary authorization to access OSS

Inheritance
System.Object
AliyunBlobProviderConfiguration
Namespace: Volo.Abp.BlobStoring.Aliyun
Assembly: Volo.Abp.BlobStoring.Aliyun.dll
Syntax
public class AliyunBlobProviderConfiguration : object

Constructors

AliyunBlobProviderConfiguration(BlobContainerConfiguration)

Declaration
public AliyunBlobProviderConfiguration(BlobContainerConfiguration containerConfiguration)
Parameters
Type Name Description
BlobContainerConfiguration containerConfiguration

Properties

AccessKeyId

Declaration
public string AccessKeyId { get; set; }
Property Value
Type Description
System.String

AccessKeySecret

Declaration
public string AccessKeySecret { get; set; }
Property Value
Type Description
System.String

ContainerName

This name may only contain lowercase letters, numbers, and hyphens, and must begin with a letter or a number. Each hyphen must be preceded and followed by a non-hyphen character. The name must also be between 3 and 63 characters long. If this parameter is not specified, the ContainerName of the BlobProviderArgs will be used.

Declaration
public string ContainerName { get; set; }
Property Value
Type Description
System.String

CreateContainerIfNotExists

Default value: false.

Declaration
public bool CreateContainerIfNotExists { get; set; }
Property Value
Type Description
System.Boolean

DurationSeconds

Set the validity period of the temporary access credential, the unit is s, the minimum is 900, and the maximum is 3600.

Declaration
public int DurationSeconds { get; set; }
Property Value
Type Description
System.Int32

Endpoint

Declaration
public string Endpoint { get; set; }
Property Value
Type Description
System.String

Policy

If policy is empty, the user will get all permissions under this role

Declaration
public string Policy { get; set; }
Property Value
Type Description
System.String

RegionId

Declaration
public string RegionId { get; set; }
Property Value
Type Description
System.String

RoleArn

acs:ram::$accountID:role/$roleName

Declaration
public string RoleArn { get; set; }
Property Value
Type Description
System.String

RoleSessionName

The name used to identify the temporary access credentials, it is recommended to use different application users to distinguish.

Declaration
public string RoleSessionName { get; set; }
Property Value
Type Description
System.String

TemporaryCredentialsCacheKey

Declaration
public string TemporaryCredentialsCacheKey { get; set; }
Property Value
Type Description
System.String

UseSecurityTokenService

Declaration
public bool UseSecurityTokenService { get; set; }
Property Value
Type Description
System.Boolean

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft