If you do not have a secret in Yandex Lockbox, create one. Save the names of the keys you have added to the secret to access them from CI/CD.
Create a service account or use an existing one. SourceCraft will access the Yandex Lockbox secret on its behalf.
Assign the service account the lockbox.payloadViewerrole for the secret you created or folder containing that secret. This role enables you to read the secret version values.
If you do not have a service connection with access to Yandex Lockbox, create one. In the connection settings, specify the service account you assigned the lockbox.payloadViewer role.
In the .sourcecraft/ci.yaml configuration file, specify the key from the Yandex Lockbox secret in ${{ secrets.<Lockbox_secret_name>#<key>}} format. For example: