1. Packages
  2. Temporalcloud Provider
  3. API Docs
  4. getServiceAccount
temporalcloud 0.7.0 published on Friday, Apr 4, 2025 by temporalio

temporalcloud.getServiceAccount

Explore with Pulumi AI

temporalcloud 0.7.0 published on Friday, Apr 4, 2025 by temporalio

Fetches details about a Service Account.

Using getServiceAccount

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 getServiceAccount(args: GetServiceAccountArgs, opts?: InvokeOptions): Promise<GetServiceAccountResult>
function getServiceAccountOutput(args: GetServiceAccountOutputArgs, opts?: InvokeOptions): Output<GetServiceAccountResult>
Copy
def get_service_account(id: Optional[str] = None,
                        namespace_accesses: Optional[Sequence[GetServiceAccountNamespaceAccess]] = None,
                        opts: Optional[InvokeOptions] = None) -> GetServiceAccountResult
def get_service_account_output(id: Optional[pulumi.Input[str]] = None,
                        namespace_accesses: Optional[pulumi.Input[Sequence[pulumi.Input[GetServiceAccountNamespaceAccessArgs]]]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetServiceAccountResult]
Copy
func LookupServiceAccount(ctx *Context, args *LookupServiceAccountArgs, opts ...InvokeOption) (*LookupServiceAccountResult, error)
func LookupServiceAccountOutput(ctx *Context, args *LookupServiceAccountOutputArgs, opts ...InvokeOption) LookupServiceAccountResultOutput
Copy

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

public static class GetServiceAccount 
{
    public static Task<GetServiceAccountResult> InvokeAsync(GetServiceAccountArgs args, InvokeOptions? opts = null)
    public static Output<GetServiceAccountResult> Invoke(GetServiceAccountInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetServiceAccountResult> getServiceAccount(GetServiceAccountArgs args, InvokeOptions options)
public static Output<GetServiceAccountResult> getServiceAccount(GetServiceAccountArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: temporalcloud:index/getServiceAccount:getServiceAccount
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id This property is required. string
The unique identifier of the Service Account.
NamespaceAccesses List<GetServiceAccountNamespaceAccess>
The set of namespace permissions for this service account, including each namespace and its role.
Id This property is required. string
The unique identifier of the Service Account.
NamespaceAccesses []GetServiceAccountNamespaceAccess
The set of namespace permissions for this service account, including each namespace and its role.
id This property is required. String
The unique identifier of the Service Account.
namespaceAccesses List<GetServiceAccountNamespaceAccess>
The set of namespace permissions for this service account, including each namespace and its role.
id This property is required. string
The unique identifier of the Service Account.
namespaceAccesses GetServiceAccountNamespaceAccess[]
The set of namespace permissions for this service account, including each namespace and its role.
id This property is required. str
The unique identifier of the Service Account.
namespace_accesses Sequence[GetServiceAccountNamespaceAccess]
The set of namespace permissions for this service account, including each namespace and its role.
id This property is required. String
The unique identifier of the Service Account.
namespaceAccesses List<Property Map>
The set of namespace permissions for this service account, including each namespace and its role.

getServiceAccount Result

The following output properties are available:

AccountAccess string
The role on the account. Must be one of admin, developer, or read (case-insensitive).
CreatedAt string
The creation time of the Service Account.
Description string
The description of the Service Account.
Id string
The unique identifier of the Service Account.
Name string
The name associated with the service account.
NamespaceAccesses List<GetServiceAccountNamespaceAccess>
The set of namespace permissions for this service account, including each namespace and its role.
State string
The current state of the Service Account.
UpdatedAt string
The last update time of the Service Account.
AccountAccess string
The role on the account. Must be one of admin, developer, or read (case-insensitive).
CreatedAt string
The creation time of the Service Account.
Description string
The description of the Service Account.
Id string
The unique identifier of the Service Account.
Name string
The name associated with the service account.
NamespaceAccesses []GetServiceAccountNamespaceAccess
The set of namespace permissions for this service account, including each namespace and its role.
State string
The current state of the Service Account.
UpdatedAt string
The last update time of the Service Account.
accountAccess String
The role on the account. Must be one of admin, developer, or read (case-insensitive).
createdAt String
The creation time of the Service Account.
description String
The description of the Service Account.
id String
The unique identifier of the Service Account.
name String
The name associated with the service account.
namespaceAccesses List<GetServiceAccountNamespaceAccess>
The set of namespace permissions for this service account, including each namespace and its role.
state String
The current state of the Service Account.
updatedAt String
The last update time of the Service Account.
accountAccess string
The role on the account. Must be one of admin, developer, or read (case-insensitive).
createdAt string
The creation time of the Service Account.
description string
The description of the Service Account.
id string
The unique identifier of the Service Account.
name string
The name associated with the service account.
namespaceAccesses GetServiceAccountNamespaceAccess[]
The set of namespace permissions for this service account, including each namespace and its role.
state string
The current state of the Service Account.
updatedAt string
The last update time of the Service Account.
account_access str
The role on the account. Must be one of admin, developer, or read (case-insensitive).
created_at str
The creation time of the Service Account.
description str
The description of the Service Account.
id str
The unique identifier of the Service Account.
name str
The name associated with the service account.
namespace_accesses Sequence[GetServiceAccountNamespaceAccess]
The set of namespace permissions for this service account, including each namespace and its role.
state str
The current state of the Service Account.
updated_at str
The last update time of the Service Account.
accountAccess String
The role on the account. Must be one of admin, developer, or read (case-insensitive).
createdAt String
The creation time of the Service Account.
description String
The description of the Service Account.
id String
The unique identifier of the Service Account.
name String
The name associated with the service account.
namespaceAccesses List<Property Map>
The set of namespace permissions for this service account, including each namespace and its role.
state String
The current state of the Service Account.
updatedAt String
The last update time of the Service Account.

Supporting Types

GetServiceAccountNamespaceAccess

NamespaceId This property is required. string
The namespace to assign permissions to.
Permission This property is required. string
The permission to assign. Must be one of admin, write, or read (case-insensitive)
NamespaceId This property is required. string
The namespace to assign permissions to.
Permission This property is required. string
The permission to assign. Must be one of admin, write, or read (case-insensitive)
namespaceId This property is required. String
The namespace to assign permissions to.
permission This property is required. String
The permission to assign. Must be one of admin, write, or read (case-insensitive)
namespaceId This property is required. string
The namespace to assign permissions to.
permission This property is required. string
The permission to assign. Must be one of admin, write, or read (case-insensitive)
namespace_id This property is required. str
The namespace to assign permissions to.
permission This property is required. str
The permission to assign. Must be one of admin, write, or read (case-insensitive)
namespaceId This property is required. String
The namespace to assign permissions to.
permission This property is required. String
The permission to assign. Must be one of admin, write, or read (case-insensitive)

Package Details

Repository
temporalcloud temporalio/terraform-provider-temporalcloud
License
Notes
This Pulumi package is based on the temporalcloud Terraform Provider.
temporalcloud 0.7.0 published on Friday, Apr 4, 2025 by temporalio