Class AuthBackendUser
Provides a resource to create a user in an Okta auth backend within Vault.
Example Usage
using Pulumi;
using Vault = Pulumi.Vault;
class MyStack : Stack
{
public MyStack()
{
var example = new Vault.Okta.AuthBackend("example", new Vault.Okta.AuthBackendArgs
{
Organization = "dummy",
Path = "user_okta",
});
var foo = new Vault.Okta.AuthBackendUser("foo", new Vault.Okta.AuthBackendUserArgs
{
Groups =
{
"one",
"two",
},
Path = example.Path,
Username = "foo",
});
}
}
Inherited Members
Namespace: Pulumi.Vault.Okta
Assembly: Pulumi.Vault.dll
Syntax
public class AuthBackendUser : CustomResource
Constructors
View SourceAuthBackendUser(String, AuthBackendUserArgs, CustomResourceOptions)
Create a AuthBackendUser resource with the given unique name, arguments, and options.
Declaration
public AuthBackendUser(string name, AuthBackendUserArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| AuthBackendUserArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceGroups
List of Okta groups to associate with this user
Declaration
public Output<ImmutableArray<string>> Groups { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Path
The path where the Okta auth backend is mounted
Declaration
public Output<string> Path { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Policies
List of Vault policies to associate with this user
Declaration
public Output<ImmutableArray<string>> Policies { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Username
Name of the user within Okta
Declaration
public Output<string> Username { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, AuthBackendUserState, CustomResourceOptions)
Get an existing AuthBackendUser resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static AuthBackendUser Get(string name, Input<string> id, AuthBackendUserState 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. |
| AuthBackendUserState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| AuthBackendUser |