Class: Backup::Storages::AmazonS3::Credentials

Inherits:
Object
  • Object
show all
Defined in:
lib/backup-agent/storages/amazon-s3.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(access_key_id:, secret_access_key:) ⇒ Credentials

Returns a new instance of Credentials.



34
35
36
37
# File 'lib/backup-agent/storages/amazon-s3.rb', line 34

def initialize(access_key_id:, secret_access_key:)
  @access_key_id     = access_key_id
  @secret_access_key = secret_access_key
end

Instance Attribute Details

#access_key_idObject (readonly)

Returns the value of attribute access_key_id.



32
33
34
# File 'lib/backup-agent/storages/amazon-s3.rb', line 32

def access_key_id
  @access_key_id
end

#secret_access_keyObject (readonly)

Returns the value of attribute secret_access_key.



32
33
34
# File 'lib/backup-agent/storages/amazon-s3.rb', line 32

def secret_access_key
  @secret_access_key
end