swarm_unlock_key
Retrieve the current swarm unlock key to unlock a manager after restart when autolock is enabled.
Instructions
Return the swarm's current unlock key.
The key only serves a purpose when autolock is enabled (see swarm_init's /
swarm_update's autolock_managers / rotate_manager_unlock_key). Must be called
against an unlocked manager — a locked manager cannot serve API requests, including
this one. Feed the result's key to swarm_unlock to unlock a manager after restart.
Treat the key as a sensitive credential.
returns: dict - {"UnlockKey": }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||