Ask a question to get started
Enter to sendā¢Shift+Enter new line
get_rest_api_headers( session: Session, account: Optional[str] = None, user: Optional
session
Session
Active Snowflake session
account
Optional[str]
None
Snowflake account identifier (for JWT)
user
token
private_key_path
private_key_passphrase
Get REST API headers with authentication.
Supports multiple authentication methods in priority order:
Snowflake username (for JWT)
Personal Access Token (highest priority)
Path to private key file (for JWT)
Private key passphrase (for JWT)