question

Robyn To avatar image
Robyn To asked

Using UploadSecretKey

How do I access a secret key on my server after I upload it with the UploadSecretKey API?

https://learn.microsoft.com/en-us/rest/api/playfab/multiplayer/multiplayer-server/upload-secret?view=playfab-rest

apis
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

·
Neils Shi avatar image
Neils Shi answered

Once secrets are added and referenced in new builds, game servers can access these secret values through environment variables within each game server, whether container-based or process-based. For more information, you can refer to https://learn.microsoft.com/en-us/gaming/playfab/features/multiplayer/servers/manage-secrets#accessing-secrets .

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.