Show / Hide Table of Contents

Class AuthConfigOkta

Provides a Rancher v2 Auth Config OKTA resource. This can be used to configure and enable Auth Config OKTA for Rancher v2 RKE clusters and retrieve their information.

In addition to the built-in local auth, only one external auth config provider can be enabled at a time.

Example Usage

using Pulumi;
using Rancher2 = Pulumi.Rancher2;

class MyStack : Stack
{
public MyStack()
{
    // Create a new rancher2 Auth Config OKTA
    var okta = new Rancher2.AuthConfigOkta("okta", new Rancher2.AuthConfigOktaArgs
    {
        DisplayNameField = "<DISPLAY_NAME_FIELD>",
        GroupsField = "<GROUPS_FIELD>",
        IdpMetadataContent = "<IDP_METADATA_CONTENT>",
        RancherApiHost = "https://<RANCHER_API_HOST>",
        SpCert = "<SP_CERT>",
        SpKey = "<SP_KEY>",
        UidField = "<UID_FIELD>",
        UserNameField = "<USER_NAME_FIELD>",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
AuthConfigOkta
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Rancher2
Assembly: Pulumi.Rancher2.dll
Syntax
public class AuthConfigOkta : CustomResource

Constructors

View Source

AuthConfigOkta(String, AuthConfigOktaArgs, CustomResourceOptions)

Create a AuthConfigOkta resource with the given unique name, arguments, and options.

Declaration
public AuthConfigOkta(string name, AuthConfigOktaArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

AuthConfigOktaArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

AccessMode

Access mode for auth. required, restricted, unrestricted are supported. Default unrestricted (string)

Declaration
public Output<string> AccessMode { get; }
Property Value
Type Description
Output<System.String>
View Source

AllowedPrincipalIds

Allowed principal ids for auth. Required if access_mode is required or restricted. Ex: okta_user://&lt;USER_ID> okta_group://&lt;GROUP_ID> (list)

Declaration
public Output<ImmutableArray<string>> AllowedPrincipalIds { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

Annotations

Annotations of the resource (map)

Declaration
public Output<ImmutableDictionary<string, object>> Annotations { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>
View Source

DisplayNameField

OKTA display name field (string)

Declaration
public Output<string> DisplayNameField { get; }
Property Value
Type Description
Output<System.String>
View Source

Enabled

Enable auth config provider. Default true (bool)

Declaration
public Output<bool?> Enabled { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

GroupsField

OKTA group field (string)

Declaration
public Output<string> GroupsField { get; }
Property Value
Type Description
Output<System.String>
View Source

IdpMetadataContent

OKTA IDP metadata content (string)

Declaration
public Output<string> IdpMetadataContent { get; }
Property Value
Type Description
Output<System.String>
View Source

Labels

Labels of the resource (map)

Declaration
public Output<ImmutableDictionary<string, object>> Labels { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>
View Source

Name

(Computed) The name of the resource (string)

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

RancherApiHost

Rancher url. Schema needs to be specified, https://&lt;RANCHER_API_HOST> (string)

Declaration
public Output<string> RancherApiHost { get; }
Property Value
Type Description
Output<System.String>
View Source

SpCert

OKTA SP cert (string)

Declaration
public Output<string> SpCert { get; }
Property Value
Type Description
Output<System.String>
View Source

SpKey

OKTA SP key (string)

Declaration
public Output<string> SpKey { get; }
Property Value
Type Description
Output<System.String>
View Source

Type

(Computed) The type of the resource (string)

Declaration
public Output<string> Type { get; }
Property Value
Type Description
Output<System.String>
View Source

UidField

OKTA UID field (string)

Declaration
public Output<string> UidField { get; }
Property Value
Type Description
Output<System.String>
View Source

UserNameField

OKTA user name field (string)

Declaration
public Output<string> UserNameField { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, AuthConfigOktaState, CustomResourceOptions)

Get an existing AuthConfigOkta resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static AuthConfigOkta Get(string name, Input<string> id, AuthConfigOktaState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

AuthConfigOktaState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
AuthConfigOkta
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.