When creating a connection to Snowflake from a container, you must use SNOWFLAKE_HOST, SNOWFLAKE_ACCOUNT, and the OAuth token. You cannot use the OAuth token without also using SNOWFLAKE_HOST, and you cannot use the OAuth token outside Snowpark Container Services.
Check List
Description of Changes Made (if issue reference is not provided)
Snowpark docs: connecting to snowflake from inside a container