Lock and unlock a story map
On this page
A lock makes the user story map read-only for everyone without the password. It's the same lock as Lock Map in the app. See Lock a story map for what people can still do with a locked one.
Lock it
Type a password of at least 4 characters, then type it again:
storymaps lock> Password:> Confirm password:Locked Coffee App.
Keep the password somewhere safe, as it can't be recovered.
Unlock it for your pushes
storymaps unlock checks the password and saves a hash of it on this computer, never the password itself, so push, backup and restore work without asking for it. The story map stays locked for everyone else.
storymaps unlock> Password:Unlocked Coffee App on this computer.
Without it, a push to a locked story map asks for the password each time.
Take the lock off
--remove takes the lock off for everyone, so anyone with the link can edit again:
storymaps unlock --remove> Password:Removed the lock from Coffee App.
Any story map
Give it a link to lock or unlock a story map you haven't pulled, such as storymaps lock storymaps.io/abc12345.
From a script
A script can't type a password, so give it in STORYMAPS_PASSWORD. For storymaps lock, it's the new password:
STORYMAPS_PASSWORD="$MAP_PASSWORD" storymaps lockLocked Coffee App.
See Use the CLI in scripts and CI.
In a project
In a project folder, name the story map with -f, such as storymaps lock -f storymaps/m7q2r8tz.yml. Afterwards the CLI says which lock the story map has: the project password, if that's what you typed, or its own. To lock the whole project, see Lock and unlock a project.