Type alias ServiceAccount

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

Type declaration

  • createServiceAccount:function
    • 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

  • getServiceAccount:function
  • isServiceAccountsFeatureAvailable:function
    • Check if service accounts are available

      Returns Promise<boolean>

      true if service accounts are available, false otherwise