Skip to content

Simple signed URL generator for Google Cloud Storage without additional package or API requests.

License

Notifications You must be signed in to change notification settings

musicglue/gcs-signer-elixir

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gcs-signer-elixir

Build Status

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

Features

  • Zero dependencies.
  • No network connection required to generate signed URL.

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.1"}
  ]
end

Usage

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

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

Links

License

gcs-signer-elixir is distributed under the MIT License.

About

Simple signed URL generator for Google Cloud Storage without additional package or API requests.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Elixir 100.0%