CREATE ORGANIZATION ACCOUNT
statementpartialAccounts, users, sessions, warehousesEnterprise+Creates a new organization account.
Syntax
supportedpartialnot supportednot scored
CREATE ORGANIZATION ACCOUNT <name>
ADMIN_NAME = <string>
{ ADMIN_PASSWORD = '<string_literal>' | ADMIN_RSA_PUBLIC_KEY = <string> }
[ FIRST_NAME = <string> ]
[ LAST_NAME = <string> ]
EMAIL = '<string>'
[ MUST_CHANGE_PASSWORD = { TRUE | FALSE } ]
EDITION = { ENTERPRISE | BUSINESS_CRITICAL }
[ REGION_GROUP = <region_group_id> ]
[ REGION = <snowflake_region_id> ]
[ COMMENT = '<string_literal>' ]
Parameters
| Name | Required | Description |
|---|---|---|
name | required | Specifies the identifier (that is, name) for the organization account. It must conform to the following: Must be unique within an organization, regardless of which Snowflake Region the organization account is in. Must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). |
ADMIN_NAME = string | required | Login name of the initial administrative user of the organization account. A new user is created in the new organization account with this name and password and granted the GLOBALORGADMIN role in the organization account. A login name can be any string consisting of letters, numbers, and underscores. Login names are always case-insensitive. |
ADMIN_PASSWORD = 'string_literal' | required | Password for the initial administrative user of the organization account. The password for the user must be enclosed in single or double quotes. Optional if the ADMIN_RSA_PUBLIC_KEY parameter is specified. For more information about passwords in Snowflake, see Built-in password policy. |
ADMIN_RSA_PUBLIC_KEY = string | required | Assigns a public key to the initial administrative user of the organization account in order to implement key pair authentication for the user. Optional if the ADMIN_PASSWORD parameter is specified. |
EMAIL = 'string_literal' | required | Email address of the initial administrative user of the organization account. This email address is used to send any notifications about the organization account. |
EDITION = ENTERPRISE | BUSINESS_CRITICAL | required | Snowflake Edition of the organization account. |
FIRST_NAME = string , LAST_NAME = string | optional | First and last name of the initial administrative user of the organization account. Default: NULL |
MUST_CHANGE_PASSWORD = TRUE | FALSE | optional | Specifies whether the new user created to administer the organization is forced to change their password upon first login into the organization account. Default: FALSE |
REGION_GROUP = region_group_id | optional | ID of the region group where the organization account is created. To retrieve the region group ID for existing accounts in your organization, execute the SHOW REGIONS command. For information about when you might need to specify region group, see Region groups. Default: Current region group. |
REGION = snowflake_region_id | optional | Snowflake Region ID of the region where the organization account is created. If no value is provided, Snowflake creates the organization account in the same Snowflake Region as the current account (that is, the account in which the CREATE ORGANIZATION ACCOUNT statement is executed.) To obtain a list of the regions that are available for an organization, execute the SHOW REGIONS command. Default: Current Snowflake Region. |
COMMENT = 'string_literal' | optional | Specifies a comment for the organization account. Default: No value |
Access Control Requirements
Only users with the ORGADMIN role can execute the command.
Known gaps
- EDITION values ENTERPRISE / BUSINESS_CRITICAL, MUST_CHANGE_PASSWORD = FALSE are not exercised by any test