Simple signed URL generator for Google Cloud Storage, written in Elixir.
- Zero dependencies.
- No network connection required to generate signed URL.
This package can be installed
by adding gcs_signer
to your list of dependencies in mix.exs
:
def deps do
[
{:gcs_signer, "~> 0.1.1"}
]
end
json = Poison.decode! service_account_keyfile_json_string
client = GcsSigner.Client.from_keyfile(json)
GcsSigner.sign_url(client, "my-bucket", "my-object")
gcs-signer-elixir is distributed under the MIT License.