diff --git a/CryptoExchange.Net/Authentication/ApiCredentials.cs b/CryptoExchange.Net/Authentication/ApiCredentials.cs
index 721735f..a34f5af 100644
--- a/CryptoExchange.Net/Authentication/ApiCredentials.cs
+++ b/CryptoExchange.Net/Authentication/ApiCredentials.cs
@@ -26,7 +26,7 @@ namespace CryptoExchange.Net.Authentication
/// The private key used for signing
public ApiCredentials(SecureString privateKey)
{
- PrivateKey = Key;
+ PrivateKey = privateKey;
}
///