For
Create Enterprise Geodatabase (Data Management Tools) | ArcGIS Pro documentation,
Enable Enterprise Geodatabase (Data Management Tools) | ArcGIS Pro documentation
and Update Enterprise Geodatabase License (Data Management Tools) | ArcGIS Pro documentation
an ecp file or a keycode file is required.
Starting with ArcGIS Enterprise 11.0 it is possible to pull the ECP file directly from Enterprise (for Kubernetes):
Export Geodatabase License | ArcGIS REST APIs | Esri Developer
If this is Kubernetes exclusive, coordinate with the Enterprise team to make it available.
exportGeodatabaseLicense API - Esri Community
Please implement the Enterprise Export functionality by default in the tools.
and only use ecp/keycode files as fallback.