api designed to store secret string content
In order to install SQLite library uncomment nugget.config. To install the rest of the liraries add standard nugget.org repo.
It is built from source specific for raspberry pi os-64 https://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki download https://system.data.sqlite.org/downloads/1.0.115.5/sqlite-netFx-source-1.0.115.5.zip
sudo apt-get update
sudo apt-get install build-essential
cd <source root>/Setup
chmod +x compile-interop-assembly-release.sh
./compile-interop-assembly-release.sh
Now, you will have a freshly built library file called libSQLite.Interop.so in the
When trying token from https://localhost:7070/swagger url paste token as
bearer {token}
If you are testing localhost with https you can use -k in curl so that ignores self signed ssl certs
podman build -f Containerfile -t secret-api-img
podman images
podman run -d --name secret-api -p 5000:5000 secret-api-img
podman ps
podman logs secret-api
podman exec -it secret-api bash
podman stop secret-api && \
podman rm secret-api && \
podman rmi secret-api-img
podman build -f Containerfile -t secret-api-img && podman run -e JWT_TOKEN -v $(pwd)/SecretAPI/Db:/app/Db -d --name secret-api -p 5000:5000 secret-api-img
id
id -u $USER
id -g $USER
lsns -t user