gcs-signer-elixir

Simple signed URL generator for Google Cloud Storage, written in Elixir.

Features

Installation

This package can be installed by adding gcs_signer to your list of dependencies in mix.exs:

def deps do
  [
    {:gcs_signer, "~> 0.1.0"}
  ]
end

Usage

json = Poison.decode! service_account_keyfile_json_string
client = GcsSigner.Client.from_keyfile(json)

GcsSigner.sign_url(client, "my-bucket", "my-object")

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/gcs_signer.