CREATE/REPLACE AUTHORIZATION Syntax | Teradata Vantage - CREATE AUTHORIZATION and REPLACE AUTHORIZATION Syntax - Analytics Database - Teradata Vantage

SQL Data Definition Language Syntax and Examples

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-10-04
dita:mapPath
jco1628111346878.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
mdr1472255012272
lifecycle
latest
Product Category
Teradata Vantage™
{ CREATE | REPLACE } AUTHORIZATION [ database_name. | user_name. ] authorization_name
[ AS [ DEFINER | INVOKER ] [ TRUSTED ] ]
{ user-password_auth | extended_auth }
[;]
user-password_auth
[ DOMAIN domain_name ]
USER 'user_name'
PASSWORD 'password'
[ SESSION_TOKEN 'session_token_value' ]
extended_auth
USING AUTHSERVICETYPE '{
  ASSUME_ROLE assume_role_auth
 }'
assume_role_auth
ROLENAME 'resource_name'
EXTERNALID 'external_id'
[ DURATION_SECONDS 'duration_seconds_value' ]