Equinoxe_cohttp.AuthThis module manages API parts related to authentification.
type config = {id : id; |
token : string; |
read_only : bool; |
created_at : Equinoxe__Equinoxe_intf.Date.t; |
description : string; |
}Representation of an API key config.
val id_of_string : string -> idid_of_string str returns a unique identifier from the Equinix API.
val to_string : config -> stringto_string config returns a string representating an API key.
create_key t ~read_only ~description () creates a new API key on Equinix. Default value to read_only is true.
delete_key t ~id deletes the key referenced by id from the user keys.
val pp : config -> unitpp config prints on stdout the config given.