Method: Mongo::Auth::Aws::CredentialsNotFound#initialize
- Defined in:
- lib/mongo/auth/aws/credentials_retriever.rb
#initialize ⇒ CredentialsNotFound
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 CredentialsNotFound.
25 26 27 |
# File 'lib/mongo/auth/aws/credentials_retriever.rb', line 25 def initialize super("Could not locate AWS credentials (checked Client URI and Ruby options, environment variables, ECS and EC2 metadata, and Web Identity)") end |