@nebius/js-sdk - v0.2.54
    Preparing search index...

    Reads an external federation credential from a text file on each call.

    Leading and trailing whitespace is removed. A leading ~ resolves to the home directory. Protect the file from other users.

    import { FileFederatedCredentials } from '@nebius/js-sdk/runtime/service_account/federated_credentials';

    const source = new FileFederatedCredentials('~/.config/my-app/workload-token');

    Implements

    Indexable

    • [key: symbol]: (() => string) | (() => object)

      Reads an external federation credential from a text file on each call.

      Leading and trailing whitespace is removed. A leading ~ resolves to the home directory. Protect the file from other users.

      • () => string
          • (): string
          • Reads an external federation credential from a text file on each call.

            Leading and trailing whitespace is removed. A leading ~ resolves to the home directory. Protect the file from other users.

            Returns string

      • () => object
          • (): object
          • Returns a JSON-safe value for logs.

            Returns object

    Index
    filePath: string

    Contains the credentials file path.