Defines Google Cloud Storage Signed Url Client
Summary
Functions
Creates a PEM binary from the given client's private_key and decodes it.
Initialize GcsSignedUrl.Client with given map, or load a file if called with a path string.
Initialize GcsSignedUrl.Client using a config file.
Types
Functions
Creates a PEM binary from the given client's private_key and decodes it.
Initialize GcsSignedUrl.Client with given map, or load a file if called with a path string.
Examples
iex> service_account = service_account_json_string |> JSON.decode!
iex> GcsSignedUrl.Client.load(service_account)
%GcsSignedUrl.Client{...}
iex> GcsSignedUrl.Client.load("/home/alexandrubagu/config/google.json")
%GcsSignedUrl.Client{...}
Initialize GcsSignedUrl.Client using a config file.
Examples
iex>
iex> GcsSignedUrl.Client.load_from_file("/home/alexandrubagu/config/google.json")
%GcsSignedUrl.Client{...}