aws-samples / aws-kms-xks-proxy

AWS KMS External Keystore (XKS) Proxy reference implementation
Apache License 2.0
35 stars 11 forks source link

Include git hash in version + remove noise if command alien is not found #29

Closed hansonchar closed 2 years ago

hansonchar commented 2 years ago

Issue #, if available:

Description of changes:

This change would provides not only the Cargo version number during runtime, but also the specific git commit that was compiled.

Example:

When starting up the server:

INFO tokio-runtime-worker xks_proxy: v3.1.1-6012b14 listening on 0.0.0.0:443 for traffic

Upon ping:

$ curl localhost/ping
pong from xks-proxy v3.1.1-6012b14

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Check any applicable: