Identity files can be passphrase encrypted and cmd/age will transparently ask for the passphrase before using them. Is that what you meant?
https://github.com/FiloSottile/age?tab=readme-ov-file#passph...
https://github.com/FiloSottile/age?tab=readme-ov-file#passph...