Skip to content

Latest commit

 

History

History
44 lines (19 loc) · 2.07 KB

File metadata and controls

44 lines (19 loc) · 2.07 KB

Working with Multiple Subaccounts

With the SAP BTP Operator module, you can create configurations for several subaccounts in a single Kyma cluster.

Context

By default, a Kyma cluster is associated with one subaccount. Consequently, any service instance created within any namespace is provisioned in the associated subaccount. See Preconfigured Credentials and Access. However, with SAP BTP Operator, you can create configurations in a single Kyma cluster that are applied to several subaccounts.

To apply the multitenancy feature, choose the method that suits your needs and application architecture:

  • Namespace-level mapping: Connect namespaces to separate subaccounts by configuring dedicated credentials for each namespace.

  • Instance-level mapping: Define a specific subaccount for each service instance, regardless of the namespace context.

Regardless of the method, you must create Secrets in the managed namespace. By default, it is the kyma-system namespace. If you want to customize the managed namespace, follow the instructions in Customizing the Default Credentials and Access.

Secrets Precedence

SAP BTP Operator searches for the credentials in the following order:

  1. Explicit Secret defined in a service instance
  2. Managed namespace Secret assigned for a given namespace
  3. Managed namespace default Secret

Diagram showing SAP BTP Operator checking for Secrets in a specific order in the kyma-system namespace.