
Kestra Plugin List
CertifiedList service accounts
Kestra Plugin List
List service accounts
Lists service accounts for the current tenant. Supports pagination (size defaults to 100) or fetches all pages when no page is set.
type: io.kestra.plugin.kestra.ee.iam.serviceaccounts.ListExamples
List all service accounts.
id: iam_service_account_list
namespace: company.team
tasks:
- id: list_service_accounts
type: io.kestra.plugin.kestra.ee.iam.serviceAccounts.List
fetchType: FETCH
Properties
auth Non-dynamic
Select API authentication
Use either an API token or HTTP Basic (username/password); do not provide both.
io.kestra.plugin.kestra.AbstractKestraTask-Auth
API token for bearer auth
trueAutomatically retrieve credentials from Kestra's configuration if available
The default configuration can be configured globally inside the Kestra configuration file:
- Set
kestra.tasks.sdk.authentication.api-tokento use an API token - Set
kestra.tasks.sdk.authentication.usernameandkestra.tasks.sdk.authentication.passwordfor HTTP basic authentication - Set
kestra.tasks.sdk.authentication.urlto also default the Kestra API endpoint (seekestraUrlabove) The Enterprise edition also provides setting a default configuration at the Namespace or Tenant level by an administrator. Set to false to also opt out of the default URL.
Password for HTTP Basic auth
Username for HTTP Basic auth
fetchType string
STORESTOREFETCHFETCH_ONENONEOutput fetch type
Defines how results are returned: FETCH for direct output, STORE to persist as an ION file.
kestraUrl string
Override Kestra API endpoint
URL used for calls to the Kestra API. When null, falls back to the url configured alongside the default SDK authentication (Namespace or Tenant level, Enterprise edition), then renders {{ kestra.url }} from configuration; if still empty, defaults to http://localhost: 8080. Trailing slashes are stripped before use.
page integerstring
Page number
If omitted, all pages are fetched. Set to 1 or higher to retrieve a single page.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
size integerstring
100Page size
Number of service accounts per page; defaults to 100.
tenantId string
Override target tenant
Tenant identifier applied to API calls; defaults to the current execution tenant.
Outputs
serviceAccounts array
List of fetched service accounts
Only populated when using fetchType=FETCH or fetchType=FETCH_ONE.
io.kestra.sdk.model.IAMServiceAccountControllerApiServiceAccountDetail
io.kestra.sdk.model.ApiTenantSummary
size integer
Number of fetched service accounts
Only populated if fetchType is not NONE.
uri string
uriKestra internal storage URI of the stored service accounts
Only populated when using fetchType=STORE.