Frodo Library - v4.0.0-10
    Preparing search index...

    Type Alias ServiceAccount

    type ServiceAccount = {
        createServiceAccount(
            name: string,
            description: string,
            accountStatus: "active" | "inactive",
            scopes: string[],
            jwks: JwksInterface,
        ): Promise<IdObjectSkeletonInterface>;
        getServiceAccount(serviceAccountId: string): Promise<ServiceAccountType>;
        isServiceAccountsFeatureAvailable(): Promise<boolean>;
    }
    Index

    Methods

    • Create service account

      Parameters

      • name: string

        Human-readable name of service account

      • description: string

        Description of service account

      • accountStatus: "active" | "inactive"

        Service account status

      • scopes: string[]

        Scopes.

      • jwks: JwksInterface

        Java Web Key Set

      Returns Promise<IdObjectSkeletonInterface>

      A promise resolving to a service account object

    • Check if service accounts are available

      Returns Promise<boolean>

      true if service accounts are available, false otherwise