(sandbox) key-rotation command
This commit is contained in:
parent
375b3af7e8
commit
d591933890
@ -699,6 +699,14 @@ export class LibeufinCli {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export namespace LibeufinSandboxApi {
|
export namespace LibeufinSandboxApi {
|
||||||
|
export async function rotateKeys(
|
||||||
|
libeufinSandboxService: LibeufinSandboxServiceInterface,
|
||||||
|
hostID: string,
|
||||||
|
) {
|
||||||
|
const baseUrl = libeufinSandboxService.baseUrl;
|
||||||
|
let url = new URL(`admin/ebics/hosts/${hostID}/rotate-keys`, baseUrl);
|
||||||
|
await axios.post(url.href);
|
||||||
|
}
|
||||||
export async function createEbicsHost(
|
export async function createEbicsHost(
|
||||||
libeufinSandboxService: LibeufinSandboxServiceInterface,
|
libeufinSandboxService: LibeufinSandboxServiceInterface,
|
||||||
hostID: string,
|
hostID: string,
|
||||||
|
Loading…
Reference in New Issue
Block a user