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 an identity source session by ID, or the most recently created session for the given identity source if no id is specified.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
variables:
# Look up the most recent session
latest:
fn::invoke:
function: okta:getIdentitySourceSessions
arguments:
identitySourceId: <identity-source-id>
# Look up a specific session by ID
byId:
fn::invoke:
function: okta:getIdentitySourceSessions
arguments:
identitySourceId: <identity-source-id>
id: <session-id>
pulumi {
required_providers {
okta = {
source = "pulumi/okta"
}
}
}
data "okta_getidentitysourcesessions" "latest" {
identity_source_id = "<identity-source-id>"
}
data "okta_getidentitysourcesessions" "byId" {
identity_source_id = "<identity-source-id>"
id = "<session-id>"
}
# Look up the most recent session
# Look up a specific session by ID
Using getIdentitySourceSessions
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 getIdentitySourceSessions(args: GetIdentitySourceSessionsArgs, opts?: InvokeOptions): Promise<GetIdentitySourceSessionsResult>
function getIdentitySourceSessionsOutput(args: GetIdentitySourceSessionsOutputArgs, opts?: InvokeOptions): Output<GetIdentitySourceSessionsResult>def get_identity_source_sessions(identity_source_id: Optional[str] = None,
session_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIdentitySourceSessionsResult
def get_identity_source_sessions_output(identity_source_id: pulumi.Input[Optional[str]] = None,
session_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIdentitySourceSessionsResult]func GetIdentitySourceSessions(ctx *Context, args *GetIdentitySourceSessionsArgs, opts ...InvokeOption) (*GetIdentitySourceSessionsResult, error)
func GetIdentitySourceSessionsOutput(ctx *Context, args *GetIdentitySourceSessionsOutputArgs, opts ...InvokeOption) GetIdentitySourceSessionsResultOutput> Note: This function is named GetIdentitySourceSessions in the Go SDK.
public static class GetIdentitySourceSessions
{
public static Task<GetIdentitySourceSessionsResult> InvokeAsync(GetIdentitySourceSessionsArgs args, InvokeOptions? opts = null)
public static Output<GetIdentitySourceSessionsResult> Invoke(GetIdentitySourceSessionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIdentitySourceSessionsResult> getIdentitySourceSessions(GetIdentitySourceSessionsArgs args, InvokeOptions options)
public static Output<GetIdentitySourceSessionsResult> getIdentitySourceSessions(GetIdentitySourceSessionsArgs args, InvokeOptions options)
fn::invoke:
function: okta:index/getIdentitySourceSessions:getIdentitySourceSessions
arguments:
# arguments dictionarydata "okta_get_identity_source_sessions" "name" {
# arguments
}The following arguments are supported:
- Identity
Source stringId - ID of the identity source.
- Session
Id string
- Identity
Source stringId - ID of the identity source.
- Session
Id string
- identity_
source_ stringid - ID of the identity source.
- session_
id string
- identity
Source StringId - ID of the identity source.
- session
Id String
- identity
Source stringId - ID of the identity source.
- session
Id string
- identity_
source_ strid - ID of the identity source.
- session_
id str
- identity
Source StringId - ID of the identity source.
- session
Id String
getIdentitySourceSessions Result
The following output properties are available:
- Created string
- Timestamp when the session was created (RFC3339).
- Id string
- Unique identifier of the identity source session to look up. If omitted, the most recently created session is returned.
- Identity
Source stringId - ID of the identity source.
- Import
Type string - The type of import. All imports are
INCREMENTAL. - Last
Updated string - The timestamp when the identity source session was created (RFC3339).
- Session
Id string - Status string
- The current status of the identity source session.
- Created string
- Timestamp when the session was created (RFC3339).
- Id string
- Unique identifier of the identity source session to look up. If omitted, the most recently created session is returned.
- Identity
Source stringId - ID of the identity source.
- Import
Type string - The type of import. All imports are
INCREMENTAL. - Last
Updated string - The timestamp when the identity source session was created (RFC3339).
- Session
Id string - Status string
- The current status of the identity source session.
- created string
- Timestamp when the session was created (RFC3339).
- id string
- Unique identifier of the identity source session to look up. If omitted, the most recently created session is returned.
- identity_
source_ stringid - ID of the identity source.
- import_
type string - The type of import. All imports are
INCREMENTAL. - last_
updated string - The timestamp when the identity source session was created (RFC3339).
- session_
id string - status string
- The current status of the identity source session.
- created String
- Timestamp when the session was created (RFC3339).
- id String
- Unique identifier of the identity source session to look up. If omitted, the most recently created session is returned.
- identity
Source StringId - ID of the identity source.
- import
Type String - The type of import. All imports are
INCREMENTAL. - last
Updated String - The timestamp when the identity source session was created (RFC3339).
- session
Id String - status String
- The current status of the identity source session.
- created string
- Timestamp when the session was created (RFC3339).
- id string
- Unique identifier of the identity source session to look up. If omitted, the most recently created session is returned.
- identity
Source stringId - ID of the identity source.
- import
Type string - The type of import. All imports are
INCREMENTAL. - last
Updated string - The timestamp when the identity source session was created (RFC3339).
- session
Id string - status string
- The current status of the identity source session.
- created str
- Timestamp when the session was created (RFC3339).
- id str
- Unique identifier of the identity source session to look up. If omitted, the most recently created session is returned.
- identity_
source_ strid - ID of the identity source.
- import_
type str - The type of import. All imports are
INCREMENTAL. - last_
updated str - The timestamp when the identity source session was created (RFC3339).
- session_
id str - status str
- The current status of the identity source session.
- created String
- Timestamp when the session was created (RFC3339).
- id String
- Unique identifier of the identity source session to look up. If omitted, the most recently created session is returned.
- identity
Source StringId - ID of the identity source.
- import
Type String - The type of import. All imports are
INCREMENTAL. - last
Updated String - The timestamp when the identity source session was created (RFC3339).
- session
Id String - status String
- The current status of the identity source session.
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