Ask a question to get started
Enter to sendā¢Shift+Enter new line
Create JWT token for REST API authentication.
create_jwt_token( account: str, user: str, private_key: Any, passphrase: Optional[str] = None, expiry_hours: int = 1 ) -> str
account
str
Snowflake account identifier
user
Snowflake username
private_key
Any
Private key data (string, bytes, or key object)
passphrase
Optional[str]
None
Optional passphrase for private key
expiry_hours
int
1
Token expiry time in hours (default: 1)