question

yogev avatar image
yogev asked

Should I put Developer Secret Key inside PlayFabSettings in unity?

Should I put Developer Secret Key inside PlayFabSettings in unity? I read that its only for server and admin calls so why is it an option on the client side? thank you

sdks
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Xiao Zha avatar image
Xiao Zha answered

>>Should I put Developer Secret Key inside PlayFabSettings in unity?

It depends on your needs, say you want to test server API and admin API or develop Admin tools, etc., you can put the developer key in PlayFabSettings.

>>I read that its only for server and admin calls so why is it an option on the client side?

Yes, it is for server and admin API calls. It is a common setting, but if you are implementing client project, you should leave it empty for it is not safe to expose the Secret Key to the client, the hackers can use the SecretKey to hack your game.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.