USER
Config path: /user.yaml
Example:
Schema
{key} (ident) - user name
{value} (dict)
login_name (str)
display_name (str)
first_name (str)
last_name (str)
email (str)
disabled (bool)
type (str) - user type for security: PERSON, SERVICE, LEGACY_SERVICE, etc.
password (str)
rsa_public_key (str)
rsa_public_key_2 (str)
default_warehouse (ident)
default_namespace (str)
session_params (dict)
{key} (ident) - session param name
{value} (bool, float, int, str) - session param value
business_roles (list)
{items} (ident) - names of business roles
comment (str)
Policy reference parameters
Usage notes
Changes in
password
will NOT be applied automatically due to lack of ability to compare current password with old password stored in Snowflake metadata. Please use--refresh-user-passwords
argument to refresh passwords for all existing users, if necessary.If
default_warehouse
is omitted, it will be derived automatically from first warehouse mentioned inbusiness_roles -> warehouse_usage
.default_role
cannot be changed. SnowDDL automatically creates USER ROLE and sets it asdefault_role
.middle_name
is not supported due to lack of this column inSHOW USERS
output.
Links
Last updated