After a device has been registered, approved, and has a public key configured, use this endpoint to designate it as a Storage device. Once registered as Storage:
The device begins receiving encrypted data when data tokens are exchanged
Privicore routes encrypted data to the device via RabbitMQ
The device encrypts received data with its own private key before storing locally
The device participates in data retrieval operations when data is requested via token
A device must be approved and have a registered public key before it can be registered as Storage.
Device must be approved before Storage registration Device must have a registered public key for encryption After registration, device immediately begins receiving encrypted data for new token exchanges Use the RabbitMQ configuration from device configuration to listen for incoming data A single device can be registered as both Storage and Authenticator
Request
Authorization
API Key
Add parameter in header
X-DPT-AUTHORIZATION
Example:
X-DPT-AUTHORIZATION: ********************
or
Header Params
Body Params application/x-www-form-urlencoded
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://sandbox.privicore.com:9009/storage/register' \
--header'X-DPT-AUTHORIZATION: <api-key>' \
--data-urlencode'deviceIdentifier='