anchor.diff:  convert(N) ->
       integer_to_binary(N).
   
  -set_endpoint()->
  +
  +config() ->
       {ok, Ep} = application:get_env(nook, endpoint),
  -    erldyn:config(#{endpoint => Ep}).
  +
  +    case httpc:request("http://169.254.169.254/latest/meta-data/iam/security-credentials/NookRole") of
  +        {ok, {{_, 200,"OK"}, _, Result}} ->
  +            RMap = jsone:decode(list_to_binary(Result)),
  +            
  +            erldyn:config(#{access_key => binary_to_list(maps:get(<<"AccessKeyId">>, RMap)),
  +                            secret_key => binary_to_list(maps:get(<<"SecretAccessKey">>, RMap)),
  +                            token => binary_to_list(maps:get(<<"Token">>, RMap)),
  +                            endpoint => Ep});
  +        _ ->
  +            erldyn:config(#{endpoint => Ep})
  +    end.
  +                                       
  +
  +                            
  +            
  
positive.code: -spec get(nook:key()) -> {ok, #{}} | store_errors().
  
  get(Key) ->
      set_endpoint(),
      HashedKey = hash_key(Key),
  
      Select = #{<<"TableName">>  => <<"Notes">>,
  
negative.code: -spec update(nook:key()) -> {ok, #{}} | store_errors().
  
  update(Key) ->
      config(),
      HashedKey = hash_key(Key),
  
      Select = 
  