- Redurce the requests to aliyun sts service.
- More efficient realization of the same function as aliyun sts server sample code
- Prepare Environment variable
cat <<EOF>test.env ACCESS_KEY_ID=LTAXXXXXXXXXXXXXXXXXXX ACCESS_KEY_SECRET=XXXXXXXXXX ROLE_ARN=acs:ram::100000000000000000000:role/test REGION=cn-hangzhou DURATIONSECONDS=1000 EOF
- Build docker images
docker build -t sts-server .
- Run local
docker run --env-file=./test.env -d -p 80:80 ghcr.io/fdiskbrain/sts-server
- Check the result
curl -v localhost
- Realize health check
- kubernets deployment