Wraith.Store.SQL.Token (Wraith v0.1.0)

View Source

Aurora DSQL authenticates with an IAM token: a SigV4-presigned GET https://<endpoint>/?Action=DbConnectAdmin with the scheme stripped, used as the connection password. Credentials come from ex_aws's chain (the same one the DynamoDB store and the MicroVM runtime use). Ported from shadow_corp's Repo.IamToken, on top of ExAws's presigned-URL signer.

Summary

Functions

generate!(endpoint, region, opts \\ [])

@spec generate!(String.t(), String.t(), keyword()) :: String.t()