fabric-samples/ci/templates/install-deps-hsm.yml
sapthasurendran 934d71420d HSM template added
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
2022-06-29 12:52:07 +05:30

13 lines
No EOL
376 B
YAML

#
# SPDX-License-Identifier: Apache-2.0
#
steps:
- script: |
sudo apt install -y softhsm2
displayName: Install SoftHSM
- script: |
echo directories.tokendir = /tmp > $HOME/softhsm2.conf
export SOFTHSM2_CONF=$HOME/softhsm2.conf
softhsm2-util --init-token --slot 0 --label "ForFabric" --pin 98765432 --so-pin 1234
displayName: Set up SoftHSM