package aws-config

All checked builds pass
  1. Overview
  2. Docs
Read AWS configuration in OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.0.1.tar.gz
md5=d37e3ccde64a11912f075ffb15ab2b73
sha512=d9e0eedcc8e3d14431871b059a06e314063bdd4ca1c45e7af7308588c5836e2104a3f51a8043331b24701f15ba6d80274c2d64f93be3737d41bcd983ea09ac9f

Description

Added to opam-repository:

README

AWS-config

Read AWS configuration as Yojson format.

(* Read ~/.aws/config *)
let config = Aws_config.read_config () in
Aws_config.(config #. "aws_secret_access_key");;
- : string option = Some "-secret access key-"

(* Respect several AWS environment variables:
   suppose `AWS_SECRET_ACCESS_KEY` = `foobar`, then *)
let config = Aws_config.read_config () in
Aws_config.(config #. "aws_secret_access_key");;
- : string option = Some "foobar"

(* Profile selection:
   suppose "region = some-city" in "my_conf", "./config", then *)
let config = Aws_config.read_file ~profile:"my_conf" "config" () in
Aws_config.(config #. "region");;
- : string option = Some "some-city" 

ocaml-aws ... OCaml bindings for AWS

Dependencies (5)

  1. logs
  2. yojson >= "1.6.0"
  3. re >= "1.7.2"
  4. dune >= "3.0"
  5. ocaml >= "4.08"

Dev Dependencies

None

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

Results of building aws-config with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.0.1 (this version) good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure