cli
cli copied to clipboard
Extend input parameters for `alpha hana map` command
Description:
An enhancement to the alpha hana map command is needed. Currently, the command assumes that both hana-cloud and hana-admin-access service instances are available from the kyma runtime context via btp-operator, however this is not the common setup. Usually those instances live outside of the runtime context. Therefore the command should support passing a JSON file containing service binding credentials for the HANA's Admin Access API service instance. This feature would greatly simplify the process of configuring access to the HANA service, especially for users who separate their SAP Hana instances from the disposable kyma runtime context.
Proposed Change:
Add a new, required input parameter (e.g., --credentials-file or ) to the alpha hana map
command.
The parameter should accept a path to a JSON file that contains the service binding credentials for the HANA Admin Access API service instance.
The command should parse the JSON file and use it for authentication.
Impact: This change will introduce a new required parameter and should replace the mechanism of creating HANA Admin Access API service instance via btp-operator. As explained in the description, having hana instance in the runtime context makes no sense (runtime is disposable but hana is stateful) and therefore it is not necessary to maintain backward compatibility.
Attachments hana admin api access usage in sample pipeline