Obtain a new key

The purpose of the pipeline key is described in the log security section. In this section, we explain how to obtain a key for a pipeline.

Request

To get a new key for a pipeline, you can use the following request.

curl -X "POST" "https://logging.de-txl.ionos.com/pipelines/b849d5dd-cabe-4c13-b04d-a11bcdee721b/key" \
     -H 'Authorization: Bearer $TOKEN'

In our example case, b849d5dd-cabe-4c13-b04d-a11bcdee721b is the pipeline's ID.

Response

The response contains the key you can configure in the FluentBit section for Shared_Key.

{
  "key": "tPMuZLiNnWb_MlUteMyAkNEM"
}

Note: We have a Share Once policy in generating a key, meaning there is no other way to retrieve the key. Once it's generated, please keep it somewhere safe.

Note: Once a new key is generated, all the previous keys will be revoked immediately.

Key with expiration

Coming Soon

Last updated

Revision created

Minor update from the comments