Skip to content

Commit

Permalink
Update bin/console script and fix default fake AWS credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
andrykonchin committed Feb 10, 2024
1 parent 6b70688 commit 0e71b84
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions bin/console
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@ require 'dynamoid/log/formatter'
# Pry.start

Dynamoid.configure do |config|
config.access_key = 'REPLACE_WITH_ACCESS_KEY_ID'
config.secret_key = 'REPLACE_WITH_SECRET_ACCESS_KEY'
# DynamoDB local version 2.0.0 and greater AWS_ACCESS_KEY_ID can contain
# the only letters (A–Z, a–z) and numbers (0–9).
# See https://hub.docker.com/r/amazon/dynamodb-local
config.access_key = 'accesskey'
config.secret_key = 'secretkey'

config.region = 'us-west-2'
config.endpoint = 'http://localhost:8000'
config.log_formatter = Dynamoid::Log::Formatter::Compact.new
Expand Down

0 comments on commit 0e71b84

Please sign in to comment.