canonical / edgex-snap-testing

4 stars 2 forks source link

Add secrets config test to replace the TLS certificate #199

Closed farshidtz closed 1 year ago

farshidtz commented 1 year ago

This issue is to add a new test suite to verify the functionality of snapped secrets-config CLI. The steps for such test can be based on the documentation: https://docs.edgexfoundry.org/3.0/getting-started/Ch-GettingStartedSnapUsers/#changing-tls-certificates

Some testing code can be borrowed from what was removed in https://github.com/canonical/edgex-snap-testing/pull/188

For simplicity, the TLS cert creation can be done in bash, similar to https://gist.github.com/farshidtz/8fe88373a5ef1243847282f29a06184f