A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.snowflake.com/sql-reference/sql/create-image-repository below:

Website Navigation


CREATE IMAGE REPOSITORY | Snowflake Documentation

CREATE IMAGE REPOSITORY

Creates a new image repository in the current schema.

See also:

DROP IMAGE REPOSITORY , SHOW IMAGE REPOSITORIES

Syntax
CREATE [ OR REPLACE ] IMAGE REPOSITORY [ IF NOT EXISTS ] <name>
  [ ENCRYPTION = ( TYPE = 'SNOWFLAKE_FULL' | TYPE = 'SNOWFLAKE_SSE' ) ]

Copy

Required parameters
name

Specifies the identifier (that is, the name) for the image repository; it must be unique for the schema in which the repository is created.

Quoted names for special characters or case-sensitive names are not supported. The same constraint also applies to database and schema names where you create an image repository. That is, database and schema names without quotes are valid when creating an image repository.

Optional parameters
ENCRYPTION = ( TYPE = 'SNOWFLAKE_FULL' | TYPE = 'SNOWFLAKE_SSE' )

Specifies the type of encryption to use for binaries stored in the image repository. You cannot change the encryption type after you create the image repository.

TYPE = ...

Specifies the encryption type to use.

Important

If you require Tri-Secret Secure for security compliance, use the SNOWFLAKE_FULL encryption type for internal stages. SNOWFLAKE_SSE does not support Tri-Secret Secure.

Possible values are the following:

Default: SNOWFLAKE_SSE

Access control requirements

A role used to execute this operation must have the following privileges at a minimum:

Privilege

Object

Notes

CREATE IMAGE REPOSITORY

Schema

The USAGE privilege on the parent database and schema are required to perform operations on any object in a schema.

For instructions on creating a custom role with a specified set of privileges, see Creating custom roles.

For general information about roles and privilege grants for performing SQL actions on securable objects, see Overview of Access Control.

Usage notes Examples

Create an image repository:

CREATE OR REPLACE IMAGE REPOSITORY tutorial_repository;

Copy

Create an image repository with SNOWFLAKE_FULL encryption:

CREATE OR REPLACE IMAGE REPOSITORY tutorial_repository
ENCRYPTION = (type = 'SNOWFLAKE_FULL');

Copy


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4