Configuring Avalara connections
Avalara connections use HTTP Basic authentication with your AvaTax account ID and license key, or with an AvaTax username and password. You store the Base64-encoded credential in an Secrets Manager secret, and the connector adds the Basic scheme when it calls AvaTax.
To configure an Avalara connection:
Obtain your AvaTax account ID and license key, or an AvaTax username and password. For instructions on authenticating with AvaTax, see Authentication in AvaTax REST v2
on the Avalara developer website. In Secrets Manager, create a secret with the key
api_key. Set its value to the Base64 encoding oforaccountId:licenseKey. Don't include theusername:passwordBasicprefix.In the AWS Glue Studio console, choose Connections under Data Catalog, then choose Create connection.
Search for and choose Avalara as the data source.
For the URL connection property, choose
https://rest.avatax.comfor production (the default) orhttps://sandbox-rest.avatax.comfor sandbox. Use a credential from the same environment.For credentials, choose the Secrets Manager secret you created, select the IAM role that AWS Glue can assume to read the secret, optionally set network options, and complete the connection creation.
Grant the IAM role associated with your AWS Glue job permission to read the secret.