Viewing docs for Okta v6.9.0
published on Wednesday, Jul 1, 2026 by Pulumi
published on Wednesday, Jul 1, 2026 by Pulumi
Viewing docs for Okta v6.9.0
published on Wednesday, Jul 1, 2026 by Pulumi
published on Wednesday, Jul 1, 2026 by Pulumi
Retrieves the list of member external IDs for a group in an Okta Identity Source.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";
const example = okta.getIdentitySourceGroupMemberships({
identitySourceId: "<identity-source-id>",
groupExternalId: "GROUPEXT123456EXAMPLE",
});
export const memberIds = example.then(example => example.memberExternalIds);
import pulumi
import pulumi_okta as okta
example = okta.get_identity_source_group_memberships(identity_source_id="<identity-source-id>",
group_external_id="GROUPEXT123456EXAMPLE")
pulumi.export("memberIds", example.member_external_ids)
package main
import (
"github.com/pulumi/pulumi-okta/sdk/v6/go/okta"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := okta.GetIdentitySourceGroupMemberships(ctx, &okta.GetIdentitySourceGroupMembershipsArgs{
IdentitySourceId: "<identity-source-id>",
GroupExternalId: "GROUPEXT123456EXAMPLE",
}, nil)
if err != nil {
return err
}
ctx.Export("memberIds", example.MemberExternalIds)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Okta = Pulumi.Okta;
return await Deployment.RunAsync(() =>
{
var example = Okta.GetIdentitySourceGroupMemberships.Invoke(new()
{
IdentitySourceId = "<identity-source-id>",
GroupExternalId = "GROUPEXT123456EXAMPLE",
});
return new Dictionary<string, object?>
{
["memberIds"] = example.Apply(getIdentitySourceGroupMembershipsResult => getIdentitySourceGroupMembershipsResult.MemberExternalIds),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.okta.OktaFunctions;
import com.pulumi.okta.inputs.GetIdentitySourceGroupMembershipsArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = OktaFunctions.getIdentitySourceGroupMemberships(GetIdentitySourceGroupMembershipsArgs.builder()
.identitySourceId("<identity-source-id>")
.groupExternalId("GROUPEXT123456EXAMPLE")
.build());
ctx.export("memberIds", example.memberExternalIds());
}
}
variables:
example:
fn::invoke:
function: okta:getIdentitySourceGroupMemberships
arguments:
identitySourceId: <identity-source-id>
groupExternalId: GROUPEXT123456EXAMPLE
outputs:
memberIds: ${example.memberExternalIds}
pulumi {
required_providers {
okta = {
source = "pulumi/okta"
}
}
}
data "okta_getidentitysourcegroupmemberships" "example" {
identity_source_id = "<identity-source-id>"
group_external_id = "GROUPEXT123456EXAMPLE"
}
output "memberIds" {
value = data.okta_getidentitysourcegroupmemberships.example.member_external_ids
}
Using getIdentitySourceGroupMemberships
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 getIdentitySourceGroupMemberships(args: GetIdentitySourceGroupMembershipsArgs, opts?: InvokeOptions): Promise<GetIdentitySourceGroupMembershipsResult>
function getIdentitySourceGroupMembershipsOutput(args: GetIdentitySourceGroupMembershipsOutputArgs, opts?: InvokeOptions): Output<GetIdentitySourceGroupMembershipsResult>def get_identity_source_group_memberships(group_external_id: Optional[str] = None,
identity_source_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIdentitySourceGroupMembershipsResult
def get_identity_source_group_memberships_output(group_external_id: pulumi.Input[Optional[str]] = None,
identity_source_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIdentitySourceGroupMembershipsResult]func GetIdentitySourceGroupMemberships(ctx *Context, args *GetIdentitySourceGroupMembershipsArgs, opts ...InvokeOption) (*GetIdentitySourceGroupMembershipsResult, error)
func GetIdentitySourceGroupMembershipsOutput(ctx *Context, args *GetIdentitySourceGroupMembershipsOutputArgs, opts ...InvokeOption) GetIdentitySourceGroupMembershipsResultOutput> Note: This function is named GetIdentitySourceGroupMemberships in the Go SDK.
public static class GetIdentitySourceGroupMemberships
{
public static Task<GetIdentitySourceGroupMembershipsResult> InvokeAsync(GetIdentitySourceGroupMembershipsArgs args, InvokeOptions? opts = null)
public static Output<GetIdentitySourceGroupMembershipsResult> Invoke(GetIdentitySourceGroupMembershipsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIdentitySourceGroupMembershipsResult> getIdentitySourceGroupMemberships(GetIdentitySourceGroupMembershipsArgs args, InvokeOptions options)
public static Output<GetIdentitySourceGroupMembershipsResult> getIdentitySourceGroupMemberships(GetIdentitySourceGroupMembershipsArgs args, InvokeOptions options)
fn::invoke:
function: okta:index/getIdentitySourceGroupMemberships:getIdentitySourceGroupMemberships
arguments:
# arguments dictionarydata "okta_get_identity_source_group_memberships" "name" {
# arguments
}The following arguments are supported:
- Group
External stringId - The external ID (or Okta-assigned ID) of the group whose memberships to retrieve.
- Identity
Source stringId - ID of the identity source.
- Group
External stringId - The external ID (or Okta-assigned ID) of the group whose memberships to retrieve.
- Identity
Source stringId - ID of the identity source.
- group_
external_ stringid - The external ID (or Okta-assigned ID) of the group whose memberships to retrieve.
- identity_
source_ stringid - ID of the identity source.
- group
External StringId - The external ID (or Okta-assigned ID) of the group whose memberships to retrieve.
- identity
Source StringId - ID of the identity source.
- group
External stringId - The external ID (or Okta-assigned ID) of the group whose memberships to retrieve.
- identity
Source stringId - ID of the identity source.
- group_
external_ strid - The external ID (or Okta-assigned ID) of the group whose memberships to retrieve.
- identity_
source_ strid - ID of the identity source.
- group
External StringId - The external ID (or Okta-assigned ID) of the group whose memberships to retrieve.
- identity
Source StringId - ID of the identity source.
getIdentitySourceGroupMemberships Result
The following output properties are available:
- Group
External stringId - The external ID (or Okta-assigned ID) of the group whose memberships to retrieve.
- Id string
- Composite identifier (
{identity_source_id}/{group_external_id}). - Identity
Source stringId - ID of the identity source.
- Member
External List<string>Ids - External IDs of members belonging to the group in the identity source.
- Group
External stringId - The external ID (or Okta-assigned ID) of the group whose memberships to retrieve.
- Id string
- Composite identifier (
{identity_source_id}/{group_external_id}). - Identity
Source stringId - ID of the identity source.
- Member
External []stringIds - External IDs of members belonging to the group in the identity source.
- group_
external_ stringid - The external ID (or Okta-assigned ID) of the group whose memberships to retrieve.
- id string
- Composite identifier (
{identity_source_id}/{group_external_id}). - identity_
source_ stringid - ID of the identity source.
- member_
external_ list(string)ids - External IDs of members belonging to the group in the identity source.
- group
External StringId - The external ID (or Okta-assigned ID) of the group whose memberships to retrieve.
- id String
- Composite identifier (
{identity_source_id}/{group_external_id}). - identity
Source StringId - ID of the identity source.
- member
External List<String>Ids - External IDs of members belonging to the group in the identity source.
- group
External stringId - The external ID (or Okta-assigned ID) of the group whose memberships to retrieve.
- id string
- Composite identifier (
{identity_source_id}/{group_external_id}). - identity
Source stringId - ID of the identity source.
- member
External string[]Ids - External IDs of members belonging to the group in the identity source.
- group_
external_ strid - The external ID (or Okta-assigned ID) of the group whose memberships to retrieve.
- id str
- Composite identifier (
{identity_source_id}/{group_external_id}). - identity_
source_ strid - ID of the identity source.
- member_
external_ Sequence[str]ids - External IDs of members belonging to the group in the identity source.
- group
External StringId - The external ID (or Okta-assigned ID) of the group whose memberships to retrieve.
- id String
- Composite identifier (
{identity_source_id}/{group_external_id}). - identity
Source StringId - ID of the identity source.
- member
External List<String>Ids - External IDs of members belonging to the group in the identity source.
Package Details
- Repository
- Okta pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oktaTerraform Provider.
Viewing docs for Okta v6.9.0
published on Wednesday, Jul 1, 2026 by Pulumi
published on Wednesday, Jul 1, 2026 by Pulumi