SAP Cloud SDK for JavaScript - v4.7.0
    Preparing search index...

    Function createDestinationFromIasService

    • Creates an Destination from IAS service credentials. Fetches an IAS token and builds a destination with the token, mTLS key pair (if available), and the target URL.

      Parameters

      Returns Promise<Destination>

      A promise that resolves to an HTTP destination.

      Prefer using 'identity' (default) for the service parameter. Passing raw ServiceCredentials or Service directly is only recommended for environments where service bindings are unavailable as they hardcode the credentials.

      Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.