.PHONY: help init cert-%

help:
	@echo "## Welcome, IAM Certificate Master! What's your target to make?"
	@echo ""
	@echo "init           Create app-specific keys for applications."
	@echo ""

init:
	@echo "Creating app-specific keys for applications..."
	@openssl genrsa -out swan.key 4096
	@openssl rsa -in swan.key -pubout -out swan.pem
	@openssl genrsa -out scarlette.key 4096
	@openssl rsa -in scarlette.key -pubout -out scarlette.pem
	@echo "Done."
