HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //proc/thread-self/root/lib/python3.6/site-packages/awscli/examples/glacier/complete-vault-lock.rst
**To complete an in-progress vault lock process**

The following ``complete-vault-lock`` example completes the in-progress locking progress for the specified vault and sets the lock state of the vault lock to ``Locked``. You get the value for the ``lock-id`` parameter when you run ``initiate-lock-process``. ::

    aws glacier complete-vault-lock \
        --account-id - \
        --vault-name MyVaultName \
        --lock-id 9QZgEXAMPLEPhvL6xEXAMPLE

This command produces no output.

For more information, see `Complete Vault Lock (POST lockId) <https://docs.aws.amazon.com/amazonglacier/latest/dev/api-CompleteVaultLock.html>`__ in the *Amazon Glacier API Developer Guide*.