providerVirtualKeyDetails
Virtual key details (e.g. certificate public key) for the provider (if available).
Arguments
The device type to get the virtual key details for (as providers may support multiple).
The provider to get the virtual key details for.
Returns
ProviderVirtualKeyDetailsTypeDetails of a public key that can be added to devices for end-to-end authentication or encryption.
E.g. for Tesla the user visits a URL and the name can be used to show what the key is called. https://github.com/teslamotors/vehicle-command#distributing-your-public-key
Possible Errors
Allowed Viewers
Query Complexity
1Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
query ProviderVirtualKeyDetails(
$deviceType: KrakenFlexDeviceTypes!,
$provider: ProviderChoices!
) {
providerVirtualKeyDetails(
deviceType: $deviceType,
provider: $provider
) {
virtualKeyName
virtualKeyUri
}
}
Variables
{
"deviceType": "BATTERIES",
"provider": "BMW"
}
Response
{
"data": {
"providerVirtualKeyDetails": {
"virtualKeyName": "hit-international-each-store-theory",
"virtualKeyUri": "treat-painting-box-authority-something"
}
}
}