PrivateKeySubject
Specifies the subject name of the certificate containing the private key used for Key Pair Authentication with Snowflake. This property is necessary when the PrivateKeyType is set to USER or MACHINE, indicating that the private key is stored in a certificate store rather than a file or PEM blob.
Data Type
string
Default Value
"*"
Remarks
To obtain the PrivateKeySubject:
- Open the Certificate Manager (Windows) by pressing Windows+r and entering certmgr.msc (for user certificates) or mmc + Add Certificates snap-in (for machine certificates).
- Locate the desired certificate.
- Right-click the certificate and select Properties.
- Copy the Subject field.
- Paste this value in the PrivateKeySubject property.