Method: Fog::Storage::Aliyun::Real#aliyun_accesskey_id
- Defined in:
- lib/fog/aliyun/storage.rb
#aliyun_accesskey_id ⇒ Object (readonly)
Initialize connection to OSS
Notes
options parameter must include values for :aliyun_oss_endpoint, :aliyun_accesskey_id, :aliyun_secret_access_key, :aliyun_oss_location and :aliyun_oss_bucket in order to create a connection. if you haven’t set these values in the configuration file.
Examples
sdb = Fog::Storage.new(:provider=>'aliyun',
:aliyun_accesskey_id => your_:aliyun_accesskey_id,
:aliyun_secret_access_key => your_aliyun_secret_access_key
)
Parameters
-
options<~Hash> - config arguments for connection. Defaults to {}.
Returns
-
OSS object with connection to aliyun.
55 56 57 |
# File 'lib/fog/aliyun/storage.rb', line 55 def aliyun_accesskey_id @aliyun_accesskey_id end |