GRANT OWNERSHIP ON ARTIFACT¶
Transfers ownership of a Snowflake Artifact. An artifact always has an owner; REVOKE OWNERSHIP ON ARTIFACT isn’t supported.
Syntax¶
Parameters¶
<name>
: The artifact’s external UUID as a double-quoted identifier, not a single-quoted string. Use the id returned by SHOW ARTIFACTS, or the identifier in an artifact link.
TO ROLE <role_name> | USER <user_name>
: Specifies the account role or the user’s personal role that becomes the owner.
COPY CURRENT GRANTS | REVOKE CURRENT GRANTS
: Keeps or removes existing artifact grants. Unlike ownership transfer for most other objects, omitting this clause defaults to COPY CURRENT GRANTS.
Access control requirements¶
The executing role needs OWNERSHIP on the artifact and the ability to act for the recipient role, or account-level MANAGE GRANTS. Managed-access enforcement can also require an artifact-family MANAGE ACCESS privilege for owners. WRITE alone isn’t sufficient to transfer ownership.