package aws-s3

  1. Overview
  2. Docs
val get_credentials : ?profile:string -> unit -> t Compat.Deferred.Or_error.t

Get credentials locally or though IAM service. profile is used to speficy a specific section thethe local file.

If profile is not supplied and no credentials can be found in the default section, then credentials are retrieved though Iam service, using an assigned machine role.

OCaml

Innovation. Community. Security.