storage

Secrets

0.000001 USD

Delete

POST /v1/secret/Delete

Delete a secret. If key not found a success response is returned.

Request

keystring

The key to delete

pathstring

Optional path

Response

{}

Request

Response

{}

0.000001 USD

Get

POST /v1/secret/Get

Get a secret by key.

Request

keystring

The key to retrieve

pathstring

Optional path

Response

createdstring

time of creation

keystring

The key e.g foo

pathstring

Path of value e.g bar/baz

updatedstring

time of update

valuestring

The value e.g cat

Request

Response

{
    "key": "foo",
    "value": "bar"
}

0.000001 USD

List

POST /v1/secret/List

List all the available secrets

Request

{}

Response

keysarray

Request

Response

{
    "keys": [
        "foo"
    ]
}

0.000001 USD

Set

POST /v1/secret/Set

Set a secret. Overwrites any existing value already set.

Request

keystring

The key to update

pathstring

Optional path e.g bar/baz

valuestring

The value to set

Response

{}

Request

Response

{}