Create the sap-btp-manager Secret ​
To create the sap-btp-manager Secret, follow these steps:
To obtain the access credentials to the SAP BTP service operator instance, create its service binding. For details, see Installation and Setup: Obtain the access credentials for the SAP BTP service operator.
Copy and save the access credentials into your
creds.jsonfile in your working directory.In the same directory, run the following script to create the Secret:
shcurl https://raw.githubusercontent.com/kyma-project/btp-manager/main/hack/create-secret-file.sh | bash -sThe expected result is the file
operator-secret.yamlcreated in your working directory:yamlapiVersion: v1 kind: Secret type: Opaque metadata: name: sap-btp-manager namespace: kyma-system labels: app.kubernetes.io/managed-by: kcp-kyma-environment-broker data: clientid: {CLIENT_ID} clientsecret: {CLIENT_SECRET} sm_url: {SM_URL} tokenurl: {AUTH_URL} cluster_id: {CLUSTER_ID}To create the Secret, run:
kubectl create -f ./operator-secret.yamlYou see the status
secret/sap-btp-manager created.