profile argument over env vars in
locate_credentials()locate_credentials() call from internal
signature_v4() function. (#33)signature_v4_auth() and
signature_v2_auth() gain a force_credentials
argument. If force_credentials = TRUE, user-supplied values
are used and no call to locate_credentials() is made.
(#33)AWS_SHARED_CREDENTIALS_FILE and AWS_PROFILE
into code as appropriate and tweaked locate_credentials()
accordingly.signature_v4_auth() and
signature_v2_auth() now returns all inputs to facilitate
using the return value in constructing an HTTP request.datetime argument in several
functions. (#28, h/t @yansonz)read_credentials() now trims excess whitespace from
profile names. (#22, h/t Paul Ingles)locate_credentials() returns
region = default_region even when no other credentials are
found.canonical_request() now correctly trims
whitespace.use_credentials() (with defaults) to that behavior is more
similar to other AWS client libraries.
(https://github.com/cloudyr/aws.s3/pull/184, h/t Dan Tenenbaum)profile argument of use_credentials()
now defaults to Sys.getenv("AWS_PROFILE", "default") for
consistency with other AWS client libraries.locate_credentials() now attempts to look in instance
metadata for a region, when called from an EC2 instance. (see
https://github.com/cloudyr/aws.s3/issues/151)region have been
standardized and documented for locate_credentials().signature_v4_auth() and
signature_v2_auth() now both return a Region
value in their response list, as identified by
locate_credentials().locate_credentials() caused by trying to
retrieve EC2 instance metadata from a non-EC2 machine on which the
aws.ec2metadata package was installed.locate_credentials() behavior.locate_credentials() function to walk through a
hierarchy of possible credential locations, beginning with user-supplied
values, then environment variables, local then global credentials
“.aws/credentials” files, and finally (if applicable) an EC2 role for
the currently running instance. (#11)read_credentials() to allow key-value pairs of
any form: KEY=VALUE, KEY = VALUE,
KEY= VALUE, KEY =VALUE. (#15, h/t David
Severski)signature_v2_auth().read_credentials() now looks for the credentials file
in a more reasonable location on Windows (#12/#13, h/t
user:kadrach)read_credentials() and
use_credentials() to access AWS access credentials stored
in .aws/credentials files.canonical_request() now sets C collate order to
properly order query argument and header names across platforms.URLencode(). (#5)signature_v4_auth.utils::URLencode that
correctly encodes URLs per RFC 3986.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.