Come join Pulumi for the industry's first Cloud Engineering Summit! October 7–8. Save Your Spot

trustedorigin

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-okta repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-okta repo.

class pulumi_okta.trustedorigin.Origin(resource_name, opts=None, active=None, name=None, origin=None, scopes=None, __props__=None, __name__=None, __opts__=None)

Creates a Trusted Origin.

This resource allows you to create and configure an Trusted Origin.

import pulumi
import pulumi_okta as okta

example = okta.trustedorigin.Origin("example",
    origin="https://example.com",
    scopes=["CORS"])
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • active (pulumi.Input[bool]) – Whether the Trusted Origin is active or not - can only be issued post-creation.

  • name (pulumi.Input[str]) – Name of the Trusted Origin Resource.

  • origin (pulumi.Input[str]) – The origin to trust.

  • scopes (pulumi.Input[list]) – Scopes of the Trusted Origin - can be "CORS" and/or "REDIRECT".

active: pulumi.Output[bool] = None

Whether the Trusted Origin is active or not - can only be issued post-creation.

name: pulumi.Output[str] = None

Name of the Trusted Origin Resource.

origin: pulumi.Output[str] = None

The origin to trust.

scopes: pulumi.Output[list] = None

Scopes of the Trusted Origin - can be "CORS" and/or "REDIRECT".

static get(resource_name, id, opts=None, active=None, name=None, origin=None, scopes=None)

Get an existing Origin resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • active (pulumi.Input[bool]) – Whether the Trusted Origin is active or not - can only be issued post-creation.

  • name (pulumi.Input[str]) – Name of the Trusted Origin Resource.

  • origin (pulumi.Input[str]) – The origin to trust.

  • scopes (pulumi.Input[list]) – Scopes of the Trusted Origin - can be "CORS" and/or "REDIRECT".

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str