Example: Creating an Authorization Object to Use with a Function Mapping - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

Create the authorization object used by the following function mapping examples:

CREATE AUTHORIZATION authorization-name
AS DEFINER TRUSTED
USER 'YOUR-ACCESS-KEY-ID'
PASSWORD 'YOUR-SECRET-ACCESS-KEY';

Replace authorization-name with the name of your authorization object. Substitute your external object storage access ID and access key for the variables YOUR-ACCESS-KEY-ID and YOUR-SECRET-ACCESS-KEY.

For example, to access the Teradata-supplied river flow data set:

CREATE AUTHORIZATION nos_usr.DefAuth
AS DEFINER TRUSTED
USER ''
PASSWORD '';