This unit is provided by:
Options
-
[Install]-
WantedBy=multi-user.target
-
-
[Service]-
Environment=VSOCK_PROXY_CONFIG=/usr/share/nitro_enclaves/vsock-proxy.yaml -
ExecStart=/bin/bash -ce "TOKEN=$(curl --silent -X PUT \"http://169.254.169.254/latest/api/token\" -H \"X-aws-ec2-metadata-token-ttl-seconds: 21600\") ; REGION=$(curl --silent -H \"X-aws-ec2-metadata-token: $TOKEN\" http://169.254.169.254/latest/dynamic/instance-identity/document | jq -r .region) ; [ -z \"$REGION\" ] && REGION=$(curl --silent http://169.254.169.254/latest/dynamic/instance-identity/document | jq -r .region) ; exec /usr/bin/vsock-proxy 8000 kms.$${REGION}.amazonaws.com 443 --config $VSOCK_PROXY_CONFIG" -
Restart=always -
StandardError=journal -
StandardOutput=journal -
SyslogIdentifier=vsock-proxy -
TimeoutSec=0 -
Type=simple
-
-
[Unit]-
After=network-online.target -
DefaultDependencies=no -
Description=Nitro Enclaves vsock Proxy
-
Additionnal notes
Nothing here.