Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 1.05 KB

04-10-create-btp-manager-secret.md

File metadata and controls

30 lines (26 loc) · 1.05 KB

Create sap-btp-manager Secret

To create the sap-btp-manager Secret, follow these steps:

  1. To obtain the access credentials to the service instance, create a service binding. For details, see Setup: Obtain the access credentials for the SAP BTP service operator.

  2. Copy and save the access credentials into your creds.json file in your working directory.

  3. In the same directory, run the following script to create the Secret:

    curl https://github.com/raw/kyma-project/btp-manager/main/hack/create-secret-file.sh | bash -s

The expected result is the file operator-secret.yaml created in your working directory:

apiVersion: 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}