1. Registry
  2. Packages
  3. stackit
  4. API Docs
  5. getServiceAccountFederatedIdentityProvider
Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud

    Gets details about a federated identity provider configured for a STACKIT service account.

    Example Usage

    data "stackit_service_account" "sa" {
      project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      email      = "sa01-8565oq1@sa.stackit.cloud"
    }
    
    data "stackit_service_account_federated_identity_provider" "provider" {
      project_id            = data.stackit_service_account.sa.project_id
      service_account_email = data.stackit_service_account.sa.email
      federation_id         = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }
    

    Using getServiceAccountFederatedIdentityProvider

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getServiceAccountFederatedIdentityProvider(args: GetServiceAccountFederatedIdentityProviderArgs, opts?: InvokeOptions): Promise<GetServiceAccountFederatedIdentityProviderResult>
    function getServiceAccountFederatedIdentityProviderOutput(args: GetServiceAccountFederatedIdentityProviderOutputArgs, opts?: InvokeOutputOptions): Output<GetServiceAccountFederatedIdentityProviderResult>
    def get_service_account_federated_identity_provider(federation_id: Optional[str] = None,
                                                        project_id: Optional[str] = None,
                                                        service_account_email: Optional[str] = None,
                                                        opts: Optional[InvokeOptions] = None) -> GetServiceAccountFederatedIdentityProviderResult
    def get_service_account_federated_identity_provider_output(federation_id: pulumi.Input[Optional[str]] = None,
                                                        project_id: pulumi.Input[Optional[str]] = None,
                                                        service_account_email: pulumi.Input[Optional[str]] = None,
                                                        opts: Optional[InvokeOutputOptions] = None) -> Output[GetServiceAccountFederatedIdentityProviderResult]
    func LookupServiceAccountFederatedIdentityProvider(ctx *Context, args *LookupServiceAccountFederatedIdentityProviderArgs, opts ...InvokeOption) (*LookupServiceAccountFederatedIdentityProviderResult, error)
    func LookupServiceAccountFederatedIdentityProviderOutput(ctx *Context, args *LookupServiceAccountFederatedIdentityProviderOutputArgs, opts ...InvokeOption) LookupServiceAccountFederatedIdentityProviderResultOutput

    > Note: This function is named LookupServiceAccountFederatedIdentityProvider in the Go SDK.

    public static class GetServiceAccountFederatedIdentityProvider 
    {
        public static Task<GetServiceAccountFederatedIdentityProviderResult> InvokeAsync(GetServiceAccountFederatedIdentityProviderArgs args, InvokeOptions? opts = null)
        public static Output<GetServiceAccountFederatedIdentityProviderResult> Invoke(GetServiceAccountFederatedIdentityProviderInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetServiceAccountFederatedIdentityProviderResult> Invoke(GetServiceAccountFederatedIdentityProviderInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetServiceAccountFederatedIdentityProviderResult> getServiceAccountFederatedIdentityProvider(GetServiceAccountFederatedIdentityProviderArgs args, InvokeOptions options)
    public static Output<GetServiceAccountFederatedIdentityProviderResult> getServiceAccountFederatedIdentityProvider(GetServiceAccountFederatedIdentityProviderArgs args, InvokeOptions options)
    public static Output<GetServiceAccountFederatedIdentityProviderResult> getServiceAccountFederatedIdentityProvider(GetServiceAccountFederatedIdentityProviderArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: stackit:index/getServiceAccountFederatedIdentityProvider:getServiceAccountFederatedIdentityProvider
      arguments:
        # arguments dictionary
    data "stackit_get_service_account_federated_identity_provider" "name" {
        # arguments
    }

    The following arguments are supported:

    FederationId string
    The unique identifier for the federated identity provider associated with the service account.
    ProjectId string
    The STACKIT project ID associated with the service account.
    ServiceAccountEmail string
    The email address associated with the service account, used for account identification and communication.
    FederationId string
    The unique identifier for the federated identity provider associated with the service account.
    ProjectId string
    The STACKIT project ID associated with the service account.
    ServiceAccountEmail string
    The email address associated with the service account, used for account identification and communication.
    federation_id string
    The unique identifier for the federated identity provider associated with the service account.
    project_id string
    The STACKIT project ID associated with the service account.
    service_account_email string
    The email address associated with the service account, used for account identification and communication.
    federationId String
    The unique identifier for the federated identity provider associated with the service account.
    projectId String
    The STACKIT project ID associated with the service account.
    serviceAccountEmail String
    The email address associated with the service account, used for account identification and communication.
    federationId string
    The unique identifier for the federated identity provider associated with the service account.
    projectId string
    The STACKIT project ID associated with the service account.
    serviceAccountEmail string
    The email address associated with the service account, used for account identification and communication.
    federation_id str
    The unique identifier for the federated identity provider associated with the service account.
    project_id str
    The STACKIT project ID associated with the service account.
    service_account_email str
    The email address associated with the service account, used for account identification and communication.
    federationId String
    The unique identifier for the federated identity provider associated with the service account.
    projectId String
    The STACKIT project ID associated with the service account.
    serviceAccountEmail String
    The email address associated with the service account, used for account identification and communication.

    getServiceAccountFederatedIdentityProvider Result

    The following output properties are available:

    Assertions List<GetServiceAccountFederatedIdentityProviderAssertion>
    The assertions for the federated identity provider.
    FederationId string
    The unique identifier for the federated identity provider associated with the service account.
    Id string
    Terraform's internal resource identifier. It is structured as "projectId,serviceAccountEmail,federationId".
    Issuer string
    The issuer URL.
    Name string
    The name of the federated identity provider.
    ProjectId string
    The STACKIT project ID associated with the service account.
    ServiceAccountEmail string
    The email address associated with the service account, used for account identification and communication.
    Assertions []GetServiceAccountFederatedIdentityProviderAssertion
    The assertions for the federated identity provider.
    FederationId string
    The unique identifier for the federated identity provider associated with the service account.
    Id string
    Terraform's internal resource identifier. It is structured as "projectId,serviceAccountEmail,federationId".
    Issuer string
    The issuer URL.
    Name string
    The name of the federated identity provider.
    ProjectId string
    The STACKIT project ID associated with the service account.
    ServiceAccountEmail string
    The email address associated with the service account, used for account identification and communication.
    assertions list(object)
    The assertions for the federated identity provider.
    federation_id string
    The unique identifier for the federated identity provider associated with the service account.
    id string
    Terraform's internal resource identifier. It is structured as "projectId,serviceAccountEmail,federationId".
    issuer string
    The issuer URL.
    name string
    The name of the federated identity provider.
    project_id string
    The STACKIT project ID associated with the service account.
    service_account_email string
    The email address associated with the service account, used for account identification and communication.
    assertions List<GetServiceAccountFederatedIdentityProviderAssertion>
    The assertions for the federated identity provider.
    federationId String
    The unique identifier for the federated identity provider associated with the service account.
    id String
    Terraform's internal resource identifier. It is structured as "projectId,serviceAccountEmail,federationId".
    issuer String
    The issuer URL.
    name String
    The name of the federated identity provider.
    projectId String
    The STACKIT project ID associated with the service account.
    serviceAccountEmail String
    The email address associated with the service account, used for account identification and communication.
    assertions GetServiceAccountFederatedIdentityProviderAssertion[]
    The assertions for the federated identity provider.
    federationId string
    The unique identifier for the federated identity provider associated with the service account.
    id string
    Terraform's internal resource identifier. It is structured as "projectId,serviceAccountEmail,federationId".
    issuer string
    The issuer URL.
    name string
    The name of the federated identity provider.
    projectId string
    The STACKIT project ID associated with the service account.
    serviceAccountEmail string
    The email address associated with the service account, used for account identification and communication.
    assertions Sequence[GetServiceAccountFederatedIdentityProviderAssertion]
    The assertions for the federated identity provider.
    federation_id str
    The unique identifier for the federated identity provider associated with the service account.
    id str
    Terraform's internal resource identifier. It is structured as "projectId,serviceAccountEmail,federationId".
    issuer str
    The issuer URL.
    name str
    The name of the federated identity provider.
    project_id str
    The STACKIT project ID associated with the service account.
    service_account_email str
    The email address associated with the service account, used for account identification and communication.
    assertions List<Property Map>
    The assertions for the federated identity provider.
    federationId String
    The unique identifier for the federated identity provider associated with the service account.
    id String
    Terraform's internal resource identifier. It is structured as "projectId,serviceAccountEmail,federationId".
    issuer String
    The issuer URL.
    name String
    The name of the federated identity provider.
    projectId String
    The STACKIT project ID associated with the service account.
    serviceAccountEmail String
    The email address associated with the service account, used for account identification and communication.

    Supporting Types

    GetServiceAccountFederatedIdentityProviderAssertion

    Item string
    The assertion claim. At least one assertion with the claim "aud" is required for security reasons.
    Operator string
    The assertion operator. Currently, the only supported operator is "equals".
    Value string
    The assertion value.
    Item string
    The assertion claim. At least one assertion with the claim "aud" is required for security reasons.
    Operator string
    The assertion operator. Currently, the only supported operator is "equals".
    Value string
    The assertion value.
    item string
    The assertion claim. At least one assertion with the claim "aud" is required for security reasons.
    operator string
    The assertion operator. Currently, the only supported operator is "equals".
    value string
    The assertion value.
    item String
    The assertion claim. At least one assertion with the claim "aud" is required for security reasons.
    operator String
    The assertion operator. Currently, the only supported operator is "equals".
    value String
    The assertion value.
    item string
    The assertion claim. At least one assertion with the claim "aud" is required for security reasons.
    operator string
    The assertion operator. Currently, the only supported operator is "equals".
    value string
    The assertion value.
    item str
    The assertion claim. At least one assertion with the claim "aud" is required for security reasons.
    operator str
    The assertion operator. Currently, the only supported operator is "equals".
    value str
    The assertion value.
    item String
    The assertion claim. At least one assertion with the claim "aud" is required for security reasons.
    operator String
    The assertion operator. Currently, the only supported operator is "equals".
    value String
    The assertion value.

    Package Details

    Repository
    stackit stackitcloud/pulumi-stackit
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the stackit Terraform Provider.
    stackit logo
    Viewing docs for stackit v0.0.7
    published on Monday, Aug 17, 2026 by stackitcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial