1. Registry
  2. Packages
  3. Okta Provider
  4. API Docs
  5. getTrustedOrigin
Viewing docs for Okta v7.0.0
published on Friday, Sep 11, 2026 by Pulumi
okta logo
Viewing docs for Okta v7.0.0
published on Friday, Sep 11, 2026 by Pulumi

    Using getTrustedOrigin

    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 getTrustedOrigin(args: GetTrustedOriginArgs, opts?: InvokeOptions): Promise<GetTrustedOriginResult>
    function getTrustedOriginOutput(args: GetTrustedOriginOutputArgs, opts?: InvokeOutputOptions): Output<GetTrustedOriginResult>
    def get_trusted_origin(id: Optional[str] = None,
                           scopes: Optional[Sequence[GetTrustedOriginScope]] = None,
                           opts: Optional[InvokeOptions] = None) -> GetTrustedOriginResult
    def get_trusted_origin_output(id: pulumi.Input[Optional[str]] = None,
                           scopes: pulumi.Input[Optional[Sequence[pulumi.Input[GetTrustedOriginScopeArgs]]]] = None,
                           opts: Optional[InvokeOutputOptions] = None) -> Output[GetTrustedOriginResult]
    func GetTrustedOrigin(ctx *Context, args *GetTrustedOriginArgs, opts ...InvokeOption) (*GetTrustedOriginResult, error)
    func GetTrustedOriginOutput(ctx *Context, args *GetTrustedOriginOutputArgs, opts ...InvokeOption) GetTrustedOriginResultOutput

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

    public static class GetTrustedOrigin 
    {
        public static Task<GetTrustedOriginResult> InvokeAsync(GetTrustedOriginArgs args, InvokeOptions? opts = null)
        public static Output<GetTrustedOriginResult> Invoke(GetTrustedOriginInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetTrustedOriginResult> Invoke(GetTrustedOriginInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetTrustedOriginResult> getTrustedOrigin(GetTrustedOriginArgs args, InvokeOptions options)
    public static Output<GetTrustedOriginResult> getTrustedOrigin(GetTrustedOriginArgs args, InvokeOptions options)
    public static Output<GetTrustedOriginResult> getTrustedOrigin(GetTrustedOriginArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: okta:index/getTrustedOrigin:getTrustedOrigin
      arguments:
        # arguments dictionary
    data "okta_get_trusted_origin" "name" {
        # arguments
    }

    The following arguments are supported:

    getTrustedOrigin Result

    The following output properties are available:

    created string
    created_by string
    id string
    last_updated string
    last_updated_by string
    name string
    origin string
    status string
    scopes list(object)
    created String
    createdBy String
    id String
    lastUpdated String
    lastUpdatedBy String
    name String
    origin String
    status String
    scopes List<Property Map>

    Supporting Types

    GetTrustedOriginScope

    AllowedOktaApps List<string>
    The allowed Okta apps for the trusted origin scope
    Type string
    The scope type.
    AllowedOktaApps []string
    The allowed Okta apps for the trusted origin scope
    Type string
    The scope type.
    allowed_okta_apps list(string)
    The allowed Okta apps for the trusted origin scope
    type string
    The scope type.
    allowedOktaApps List<String>
    The allowed Okta apps for the trusted origin scope
    type String
    The scope type.
    allowedOktaApps string[]
    The allowed Okta apps for the trusted origin scope
    type string
    The scope type.
    allowed_okta_apps Sequence[str]
    The allowed Okta apps for the trusted origin scope
    type str
    The scope type.
    allowedOktaApps List<String>
    The allowed Okta apps for the trusted origin scope
    type String
    The scope type.

    Package Details

    Repository
    Okta pulumi/pulumi-okta
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the okta Terraform Provider.
    okta logo
    Viewing docs for Okta v7.0.0
    published on Friday, Sep 11, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial