Sometimes you just need to store some small metadata (max 50kb) anywhere from your microservice. Freestore stores your data securely encrypted for up to 6 months.
Just send your json or yaml data as POST request to https://freestore.ws.infracamp.org/v1/<entity_name>
. Afterwards
you will be able to poll it by requesting the same url.
The data will be encrypted using a secret provided by http basic authentication. All data will be encrypted using this secret and only available for clients providing exactly this secret.
Objectives:
A simple script setting json data to the endpoint and returning it.
#!/bin/bash
# Set the data
curl --data "{some: json-data}" -u yourName:someSecretString https://freestore.ws.infracamp.org/v1/someUniqueKey
# Retrieve the data
echo $(curl -u yourName:someSecretString https://freestore.ws.infracamp.org/v1/someUniqueKey)
If storing mission critical data (SSL-Certificates, etc), we recommend you encrypting the data with another key before sending it to our endpoint. This will provide double security against sniffing attacks.
Register a temporary E-Mail Address (valid for 10 Minutes)
Request:
GET https://freestore.ws.infracamp.org/v1/<user_defined_unique_storage_key>
OK Response:
{success: true}
Failed Response:
{success: false, msg: "encryption failed: wrong key."}
Request:
GET: https://freestore.ws.infracamp.org/v1/<user_defined_unique_storage_key>
Response:
{"some": "json message"}
Do you want to help developing this service? It’s open source and fully integrated in our continuous integration pipeline. See the projects github page: