CZERTAINLY / CZERTAINLY-Appliance-Tools

Debian package with CZERTAINLY Appliance Tools.
https://www.czertainly.com/
MIT License
1 stars 1 forks source link

verify harbor credentials before instalation #22

Closed semik closed 1 year ago

semik commented 1 year ago

curl -X 'GET' 'https://harbor.3key.company/api/v2.0/users/current' -H 'accept: application/json' -H 'authorization: Basic AUTH_DATA'

where AUTH_DATA=echo -n "uid:password" | base64

semik commented 1 year ago

done https://github.com/3KeyCompany/ansible-role-czertainly/commit/d731326d821e636523829fde2afc090cda660356