diff options
author | ms <ms@taler.net> | 2021-07-27 07:55:45 +0200 |
---|---|---|
committer | ms <ms@taler.net> | 2021-07-27 07:55:45 +0200 |
commit | d591933890ffb23ecaf23a5da85c41ac95416ffa (patch) | |
tree | 5a3ebe65f8fbd00eaefc3702bd58a39c1aedc386 /packages/taler-wallet-cli/src/integrationtests | |
parent | 375b3af7e8f71b84baafb9eb261697294ac5b9eb (diff) | |
download | wallet-core-d591933890ffb23ecaf23a5da85c41ac95416ffa.tar.xz |
(sandbox) key-rotation command
Diffstat (limited to 'packages/taler-wallet-cli/src/integrationtests')
-rw-r--r-- | packages/taler-wallet-cli/src/integrationtests/libeufin.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/libeufin.ts b/packages/taler-wallet-cli/src/integrationtests/libeufin.ts index 867de7068..037ba1163 100644 --- a/packages/taler-wallet-cli/src/integrationtests/libeufin.ts +++ b/packages/taler-wallet-cli/src/integrationtests/libeufin.ts @@ -699,6 +699,14 @@ export class LibeufinCli { } 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( libeufinSandboxService: LibeufinSandboxServiceInterface, hostID: string, |