action dracoon_request_all_system_rescue_key_pairs {
label: "Request all system rescue key pairs"
description: "
🚀 Since v4.24.0
\n\n### Description: \nRetrieve all system rescue key pairs to allow migrating system-rescue-key-encrypted file keys.\n\n### Precondition:\n* Right 🔓 change config\n* Existence of own key pair\n\n### Postcondition:\nList of key pairs is returned.\n\n### Further Information:\nIn the case of an algorithm migration of a system rescue key, one should create the new key pair before deleting the old one. \nThis allows re-encrypting file keys with the new key pair, using the old one. \n\nThis API allows to retrieve both key pairs, in contrast to `GET /settings/keypair`, which only delivers the preferred one.\n"
provider: dracoon
method: GET
path: "/v4/settings/keypairs"
encoding: json
input: {
type: "object"
properties: {
"X-Sds-Auth-Token": {
type: "string"
}
"X-Sds-Date-Format": {
type: "string"
enum: ["UTC", "LOCAL", "OFFSET", "EPOCH", "LEET"]
}
}
additionalProperties: false
}
output: {
type: "array"
items: {
type: "object"
description: "Key pair container"
required: ["privateKeyContainer", "publicKeyContainer"]
properties: {
privateKeyContainer: {
type: "object"
description: "Private key container"
required: ["privateKey", "version"]
properties: {
createdAt: {
type: "string"
format: "date-time"
description: "🚀 Since v4.24.0\n\nCreation date"
}
createdBy: {
type: "integer"
format: "int64"
description: "🚀 Since v4.24.0\n\nCreated by user"
}
privateKey: {
type: "string"
description: "Private key"
}
version: {
type: "string"
description: "Version"
}
}
}
publicKeyContainer: {
type: "object"
description: "Public key container"
required: ["publicKey", "version"]
properties: {
createdAt: {
type: "string"
format: "date-time"
description: "🚀 Since v4.24.0\n\nCreation date"
}
createdBy: {
type: "integer"
format: "int64"
description: "🚀 Since v4.24.0\n\nCreated by user"
}
publicKey: {
type: "string"
description: "Public key"
}
version: {
type: "string"
description: "Version"
}
}
}
}
}
}
}