Class: Aws::Sigv4::StaticCredentialsProvider Private
- Inherits:
-
Object
- Object
- Aws::Sigv4::StaticCredentialsProvider
- Defined in:
- lib/aws-sigv4/credentials.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Users that wish to configure static credentials can use the ‘:access_key_id` and `:secret_access_key` constructor options.
Instance Attribute Summary collapse
- #credentials ⇒ Credentials readonly private
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ StaticCredentialsProvider
constructor
private
A new instance of StaticCredentialsProvider.
Constructor Details
#initialize(options = {}) ⇒ StaticCredentialsProvider
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of StaticCredentialsProvider.
47 48 49 50 51 |
# File 'lib/aws-sigv4/credentials.rb', line 47 def initialize( = {}) @credentials = [:credentials] ? [:credentials] : Credentials.new() end |
Instance Attribute Details
#credentials ⇒ Credentials (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
54 55 56 |
# File 'lib/aws-sigv4/credentials.rb', line 54 def credentials @credentials end |