Skip to content

Commit

Permalink
kms-utils README fix (intel-analytics#5582)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShanSimu authored and ForJadeForest committed Sep 20, 2022
1 parent 504ad4b commit abcf925
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ppml/services/kms-utils/docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,11 @@ INFO [main.cpp(159) -> main]: ehsm-kms enroll app end.
export kms_type=ehsm_or_simple_or_azure
export appid=your_appid
export appkey=your_apikey
# Generatekeys
docker exec -i $ENROLL_CONTAINER_NAME bash -c "bash /home/entrypoint.sh $kms_type generatekeys"
docker exec -i $ENROLL_CONTAINER_NAME bash -c "bash /home/entrypoint.sh generatekeys $appid $appkey"
# Encrypt a single data file
docker exec -i $ENROLL_CONTAINER_NAME bash -c "bash /home/entrypoint.sh $kms_type encrypt $appid $appkey $primary_key_name_in_key_folder $data_key_name_in_key_folder $plaintext_data_file_name_in_data_shared_folder"
Expand Down

0 comments on commit abcf925

Please sign in to comment.