ExStorageServiceSdk.Credentials (ex_storage_service_sdk v0.7.1)

Copy Markdown View Source

One immutable credential pair with optional temporary-session metadata.

Summary

Functions

Fails closed once temporary credentials reach their expiration time.

Types

t()

@type t() :: %ExStorageServiceSdk.Credentials{
  access_key_id: term(),
  expires_at: term(),
  provenance: term(),
  secret_access_key: term(),
  session_token: term()
}

Functions

expiry(credentials, now)

Fails closed once temporary credentials reach their expiration time.

new(fields, provenance)