Skip to content
Snippets Groups Projects
Commit 32cbae15 authored by Neil-Jocelyn Schark's avatar Neil-Jocelyn Schark
Browse files

wip

parent 88a8475a
No related branches found
No related tags found
1 merge request!215Simple longevity tests
Pipeline #224037 passed
This commit is part of merge request !215. Comments created here will be created in the context of that merge request.
......@@ -9,23 +9,20 @@ while true; do
requestId=$((requestId+1))
echo "requestId: $requestId"
url="https://${kms1AkmsURL}/api/v1/keys/ksa_key_req"
data=$(cat <<EOF
{
"ReceivingCKMSID": "5e41c291-6121-4335-84f6-41e04b8bdaa2",
"RequestID": "${requestId}",
"KeyProperties": {
"Number": 1,
"KeyLength": 256,
"Timeout": 20,
"TTL": 24
}
}
EOF
data=$(
)
curl -X POST "$url" \
-H "Content-Type: application/json" \
-d "$data"
-d "$data" {
"ReceivingCKMSID": "5e41c291-6121-4335-84f6-41e04b8bdaa2",
"RequestID": "${requestId}",
"KeyProperties": { \
"Number": 1, \
"KeyLength": 256, \
"Timeout": 20, \
"TTL": 24 \
} \
}
sleep 1
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment