Authentication - Get Player Shared Secrets

Returns all Player Shared Secret Keys including disabled and expired.

POST https://titleId.playfabapi.com/Admin/GetPlayerSharedSecrets

Request Header

Name Required Type Description
X-SecretKey True

string

This API requires a title secret key, available to title admins, from PlayFab Game Manager.

Responses

Name Type Description
200 OK

GetPlayerSharedSecretsResult

400 Bad Request

ApiErrorWrapper

This is the outer wrapper for all responses with errors

Security

X-SecretKey

This API requires a title secret key, available to title admins, from PlayFab Game Manager.

Type: apiKey
In: header

Definitions

Name Description
ApiErrorWrapper

The basic wrapper around every failed API response

GetPlayerSharedSecretsRequest

Player Shared Secret Keys are used for the call to Client/GetTitlePublicKey, which exchanges the shared secret for an RSA CSP blob to be used to encrypt the payload of account creation requests when that API requires a signature header.

GetPlayerSharedSecretsResult
SharedSecret

ApiErrorWrapper

The basic wrapper around every failed API response

Name Type Description
code

integer

Numerical HTTP code

error

string

Playfab error code

errorCode

integer

Numerical PlayFab error code

errorDetails

object

Detailed description of individual issues with the request object

errorMessage

string

Description for the PlayFab errorCode

status

string

String HTTP code

GetPlayerSharedSecretsRequest

Player Shared Secret Keys are used for the call to Client/GetTitlePublicKey, which exchanges the shared secret for an RSA CSP blob to be used to encrypt the payload of account creation requests when that API requires a signature header.

GetPlayerSharedSecretsResult

Name Type Description
SharedSecrets

SharedSecret[]

The player shared secret to use when calling Client/GetTitlePublicKey

SharedSecret

Name Type Description
Disabled

boolean

Flag to indicate if this key is disabled

FriendlyName

string

Friendly name for this key

SecretKey

string

The player shared secret to use when calling Client/GetTitlePublicKey