boundary

package
v0.0.0-...-36c2b67 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type BoundaryAccount deprecated

type BoundaryAccount struct {
	pulumi.CustomResourceState

	// The resource ID for the auth method.
	AuthMethodId pulumi.StringOutput `pulumi:"authMethodId"`
	// The account description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The login name for this account.
	LoginName pulumi.StringPtrOutput `pulumi:"loginName"`
	// The account name. Defaults to the resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The account password. Only set on create, changes will not be reflected when updating account.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// The resource type.
	Type pulumi.StringOutput `pulumi:"type"`
}

Deprecated: use `BoundaryAccountPassword` instead.

func GetBoundaryAccount

func GetBoundaryAccount(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BoundaryAccountState, opts ...pulumi.ResourceOption) (*BoundaryAccount, error)

GetBoundaryAccount gets an existing BoundaryAccount resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBoundaryAccount

func NewBoundaryAccount(ctx *pulumi.Context,
	name string, args *BoundaryAccountArgs, opts ...pulumi.ResourceOption) (*BoundaryAccount, error)

NewBoundaryAccount registers a new resource with the given unique name, arguments, and options.

func (*BoundaryAccount) ElementType

func (*BoundaryAccount) ElementType() reflect.Type

func (*BoundaryAccount) ToBoundaryAccountOutput

func (i *BoundaryAccount) ToBoundaryAccountOutput() BoundaryAccountOutput

func (*BoundaryAccount) ToBoundaryAccountOutputWithContext

func (i *BoundaryAccount) ToBoundaryAccountOutputWithContext(ctx context.Context) BoundaryAccountOutput

type BoundaryAccountArgs

type BoundaryAccountArgs struct {
	// The resource ID for the auth method.
	AuthMethodId pulumi.StringInput
	// The account description.
	Description pulumi.StringPtrInput
	// The login name for this account.
	LoginName pulumi.StringPtrInput
	// The account name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The account password. Only set on create, changes will not be reflected when updating account.
	Password pulumi.StringPtrInput
	// The resource type.
	Type pulumi.StringInput
}

The set of arguments for constructing a BoundaryAccount resource.

func (BoundaryAccountArgs) ElementType

func (BoundaryAccountArgs) ElementType() reflect.Type

type BoundaryAccountArray

type BoundaryAccountArray []BoundaryAccountInput

func (BoundaryAccountArray) ElementType

func (BoundaryAccountArray) ElementType() reflect.Type

func (BoundaryAccountArray) ToBoundaryAccountArrayOutput

func (i BoundaryAccountArray) ToBoundaryAccountArrayOutput() BoundaryAccountArrayOutput

func (BoundaryAccountArray) ToBoundaryAccountArrayOutputWithContext

func (i BoundaryAccountArray) ToBoundaryAccountArrayOutputWithContext(ctx context.Context) BoundaryAccountArrayOutput

type BoundaryAccountArrayInput

type BoundaryAccountArrayInput interface {
	pulumi.Input

	ToBoundaryAccountArrayOutput() BoundaryAccountArrayOutput
	ToBoundaryAccountArrayOutputWithContext(context.Context) BoundaryAccountArrayOutput
}

BoundaryAccountArrayInput is an input type that accepts BoundaryAccountArray and BoundaryAccountArrayOutput values. You can construct a concrete instance of `BoundaryAccountArrayInput` via:

BoundaryAccountArray{ BoundaryAccountArgs{...} }

type BoundaryAccountArrayOutput

type BoundaryAccountArrayOutput struct{ *pulumi.OutputState }

func (BoundaryAccountArrayOutput) ElementType

func (BoundaryAccountArrayOutput) ElementType() reflect.Type

func (BoundaryAccountArrayOutput) Index

func (BoundaryAccountArrayOutput) ToBoundaryAccountArrayOutput

func (o BoundaryAccountArrayOutput) ToBoundaryAccountArrayOutput() BoundaryAccountArrayOutput

func (BoundaryAccountArrayOutput) ToBoundaryAccountArrayOutputWithContext

func (o BoundaryAccountArrayOutput) ToBoundaryAccountArrayOutputWithContext(ctx context.Context) BoundaryAccountArrayOutput

type BoundaryAccountInput

type BoundaryAccountInput interface {
	pulumi.Input

	ToBoundaryAccountOutput() BoundaryAccountOutput
	ToBoundaryAccountOutputWithContext(ctx context.Context) BoundaryAccountOutput
}

type BoundaryAccountMap

type BoundaryAccountMap map[string]BoundaryAccountInput

func (BoundaryAccountMap) ElementType

func (BoundaryAccountMap) ElementType() reflect.Type

func (BoundaryAccountMap) ToBoundaryAccountMapOutput

func (i BoundaryAccountMap) ToBoundaryAccountMapOutput() BoundaryAccountMapOutput

func (BoundaryAccountMap) ToBoundaryAccountMapOutputWithContext

func (i BoundaryAccountMap) ToBoundaryAccountMapOutputWithContext(ctx context.Context) BoundaryAccountMapOutput

type BoundaryAccountMapInput

type BoundaryAccountMapInput interface {
	pulumi.Input

	ToBoundaryAccountMapOutput() BoundaryAccountMapOutput
	ToBoundaryAccountMapOutputWithContext(context.Context) BoundaryAccountMapOutput
}

BoundaryAccountMapInput is an input type that accepts BoundaryAccountMap and BoundaryAccountMapOutput values. You can construct a concrete instance of `BoundaryAccountMapInput` via:

BoundaryAccountMap{ "key": BoundaryAccountArgs{...} }

type BoundaryAccountMapOutput

type BoundaryAccountMapOutput struct{ *pulumi.OutputState }

func (BoundaryAccountMapOutput) ElementType

func (BoundaryAccountMapOutput) ElementType() reflect.Type

func (BoundaryAccountMapOutput) MapIndex

func (BoundaryAccountMapOutput) ToBoundaryAccountMapOutput

func (o BoundaryAccountMapOutput) ToBoundaryAccountMapOutput() BoundaryAccountMapOutput

func (BoundaryAccountMapOutput) ToBoundaryAccountMapOutputWithContext

func (o BoundaryAccountMapOutput) ToBoundaryAccountMapOutputWithContext(ctx context.Context) BoundaryAccountMapOutput

type BoundaryAccountOidc

type BoundaryAccountOidc struct {
	pulumi.CustomResourceState

	// The resource ID for the auth method.
	AuthMethodId pulumi.StringOutput `pulumi:"authMethodId"`
	// The account description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The OIDC issuer.
	Issuer pulumi.StringPtrOutput `pulumi:"issuer"`
	// The account name. Defaults to the resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The OIDC subject.
	Subject pulumi.StringPtrOutput `pulumi:"subject"`
}

The account resource allows you to configure a Boundary account.

func GetBoundaryAccountOidc

func GetBoundaryAccountOidc(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BoundaryAccountOidcState, opts ...pulumi.ResourceOption) (*BoundaryAccountOidc, error)

GetBoundaryAccountOidc gets an existing BoundaryAccountOidc resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBoundaryAccountOidc

func NewBoundaryAccountOidc(ctx *pulumi.Context,
	name string, args *BoundaryAccountOidcArgs, opts ...pulumi.ResourceOption) (*BoundaryAccountOidc, error)

NewBoundaryAccountOidc registers a new resource with the given unique name, arguments, and options.

func (*BoundaryAccountOidc) ElementType

func (*BoundaryAccountOidc) ElementType() reflect.Type

func (*BoundaryAccountOidc) ToBoundaryAccountOidcOutput

func (i *BoundaryAccountOidc) ToBoundaryAccountOidcOutput() BoundaryAccountOidcOutput

func (*BoundaryAccountOidc) ToBoundaryAccountOidcOutputWithContext

func (i *BoundaryAccountOidc) ToBoundaryAccountOidcOutputWithContext(ctx context.Context) BoundaryAccountOidcOutput

type BoundaryAccountOidcArgs

type BoundaryAccountOidcArgs struct {
	// The resource ID for the auth method.
	AuthMethodId pulumi.StringInput
	// The account description.
	Description pulumi.StringPtrInput
	// The OIDC issuer.
	Issuer pulumi.StringPtrInput
	// The account name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The OIDC subject.
	Subject pulumi.StringPtrInput
}

The set of arguments for constructing a BoundaryAccountOidc resource.

func (BoundaryAccountOidcArgs) ElementType

func (BoundaryAccountOidcArgs) ElementType() reflect.Type

type BoundaryAccountOidcArray

type BoundaryAccountOidcArray []BoundaryAccountOidcInput

func (BoundaryAccountOidcArray) ElementType

func (BoundaryAccountOidcArray) ElementType() reflect.Type

func (BoundaryAccountOidcArray) ToBoundaryAccountOidcArrayOutput

func (i BoundaryAccountOidcArray) ToBoundaryAccountOidcArrayOutput() BoundaryAccountOidcArrayOutput

func (BoundaryAccountOidcArray) ToBoundaryAccountOidcArrayOutputWithContext

func (i BoundaryAccountOidcArray) ToBoundaryAccountOidcArrayOutputWithContext(ctx context.Context) BoundaryAccountOidcArrayOutput

type BoundaryAccountOidcArrayInput

type BoundaryAccountOidcArrayInput interface {
	pulumi.Input

	ToBoundaryAccountOidcArrayOutput() BoundaryAccountOidcArrayOutput
	ToBoundaryAccountOidcArrayOutputWithContext(context.Context) BoundaryAccountOidcArrayOutput
}

BoundaryAccountOidcArrayInput is an input type that accepts BoundaryAccountOidcArray and BoundaryAccountOidcArrayOutput values. You can construct a concrete instance of `BoundaryAccountOidcArrayInput` via:

BoundaryAccountOidcArray{ BoundaryAccountOidcArgs{...} }

type BoundaryAccountOidcArrayOutput

type BoundaryAccountOidcArrayOutput struct{ *pulumi.OutputState }

func (BoundaryAccountOidcArrayOutput) ElementType

func (BoundaryAccountOidcArrayOutput) Index

func (BoundaryAccountOidcArrayOutput) ToBoundaryAccountOidcArrayOutput

func (o BoundaryAccountOidcArrayOutput) ToBoundaryAccountOidcArrayOutput() BoundaryAccountOidcArrayOutput

func (BoundaryAccountOidcArrayOutput) ToBoundaryAccountOidcArrayOutputWithContext

func (o BoundaryAccountOidcArrayOutput) ToBoundaryAccountOidcArrayOutputWithContext(ctx context.Context) BoundaryAccountOidcArrayOutput

type BoundaryAccountOidcInput

type BoundaryAccountOidcInput interface {
	pulumi.Input

	ToBoundaryAccountOidcOutput() BoundaryAccountOidcOutput
	ToBoundaryAccountOidcOutputWithContext(ctx context.Context) BoundaryAccountOidcOutput
}

type BoundaryAccountOidcMap

type BoundaryAccountOidcMap map[string]BoundaryAccountOidcInput

func (BoundaryAccountOidcMap) ElementType

func (BoundaryAccountOidcMap) ElementType() reflect.Type

func (BoundaryAccountOidcMap) ToBoundaryAccountOidcMapOutput

func (i BoundaryAccountOidcMap) ToBoundaryAccountOidcMapOutput() BoundaryAccountOidcMapOutput

func (BoundaryAccountOidcMap) ToBoundaryAccountOidcMapOutputWithContext

func (i BoundaryAccountOidcMap) ToBoundaryAccountOidcMapOutputWithContext(ctx context.Context) BoundaryAccountOidcMapOutput

type BoundaryAccountOidcMapInput

type BoundaryAccountOidcMapInput interface {
	pulumi.Input

	ToBoundaryAccountOidcMapOutput() BoundaryAccountOidcMapOutput
	ToBoundaryAccountOidcMapOutputWithContext(context.Context) BoundaryAccountOidcMapOutput
}

BoundaryAccountOidcMapInput is an input type that accepts BoundaryAccountOidcMap and BoundaryAccountOidcMapOutput values. You can construct a concrete instance of `BoundaryAccountOidcMapInput` via:

BoundaryAccountOidcMap{ "key": BoundaryAccountOidcArgs{...} }

type BoundaryAccountOidcMapOutput

type BoundaryAccountOidcMapOutput struct{ *pulumi.OutputState }

func (BoundaryAccountOidcMapOutput) ElementType

func (BoundaryAccountOidcMapOutput) MapIndex

func (BoundaryAccountOidcMapOutput) ToBoundaryAccountOidcMapOutput

func (o BoundaryAccountOidcMapOutput) ToBoundaryAccountOidcMapOutput() BoundaryAccountOidcMapOutput

func (BoundaryAccountOidcMapOutput) ToBoundaryAccountOidcMapOutputWithContext

func (o BoundaryAccountOidcMapOutput) ToBoundaryAccountOidcMapOutputWithContext(ctx context.Context) BoundaryAccountOidcMapOutput

type BoundaryAccountOidcOutput

type BoundaryAccountOidcOutput struct{ *pulumi.OutputState }

func (BoundaryAccountOidcOutput) AuthMethodId

The resource ID for the auth method.

func (BoundaryAccountOidcOutput) Description

The account description.

func (BoundaryAccountOidcOutput) ElementType

func (BoundaryAccountOidcOutput) ElementType() reflect.Type

func (BoundaryAccountOidcOutput) Issuer

The OIDC issuer.

func (BoundaryAccountOidcOutput) Name

The account name. Defaults to the resource name.

func (BoundaryAccountOidcOutput) Subject

The OIDC subject.

func (BoundaryAccountOidcOutput) ToBoundaryAccountOidcOutput

func (o BoundaryAccountOidcOutput) ToBoundaryAccountOidcOutput() BoundaryAccountOidcOutput

func (BoundaryAccountOidcOutput) ToBoundaryAccountOidcOutputWithContext

func (o BoundaryAccountOidcOutput) ToBoundaryAccountOidcOutputWithContext(ctx context.Context) BoundaryAccountOidcOutput

type BoundaryAccountOidcState

type BoundaryAccountOidcState struct {
	// The resource ID for the auth method.
	AuthMethodId pulumi.StringPtrInput
	// The account description.
	Description pulumi.StringPtrInput
	// The OIDC issuer.
	Issuer pulumi.StringPtrInput
	// The account name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The OIDC subject.
	Subject pulumi.StringPtrInput
}

func (BoundaryAccountOidcState) ElementType

func (BoundaryAccountOidcState) ElementType() reflect.Type

type BoundaryAccountOutput

type BoundaryAccountOutput struct{ *pulumi.OutputState }

func (BoundaryAccountOutput) AuthMethodId

func (o BoundaryAccountOutput) AuthMethodId() pulumi.StringOutput

The resource ID for the auth method.

func (BoundaryAccountOutput) Description

The account description.

func (BoundaryAccountOutput) ElementType

func (BoundaryAccountOutput) ElementType() reflect.Type

func (BoundaryAccountOutput) LoginName

The login name for this account.

func (BoundaryAccountOutput) Name

The account name. Defaults to the resource name.

func (BoundaryAccountOutput) Password

The account password. Only set on create, changes will not be reflected when updating account.

func (BoundaryAccountOutput) ToBoundaryAccountOutput

func (o BoundaryAccountOutput) ToBoundaryAccountOutput() BoundaryAccountOutput

func (BoundaryAccountOutput) ToBoundaryAccountOutputWithContext

func (o BoundaryAccountOutput) ToBoundaryAccountOutputWithContext(ctx context.Context) BoundaryAccountOutput

func (BoundaryAccountOutput) Type

The resource type.

type BoundaryAccountPassword

type BoundaryAccountPassword struct {
	pulumi.CustomResourceState

	// The resource ID for the auth method.
	AuthMethodId pulumi.StringOutput `pulumi:"authMethodId"`
	// The account description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The login name for this account.
	LoginName pulumi.StringPtrOutput `pulumi:"loginName"`
	// The account name. Defaults to the resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The account password. Only set on create, changes will not be reflected when updating account.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// The resource type.
	Type pulumi.StringOutput `pulumi:"type"`
}

The account resource allows you to configure a Boundary account.

## Example Usage

```go package main

import (

"fmt"

"github.com/katasec/pulumi-boundary/sdk/go/boundary"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		org, err := boundary.NewBoundaryScope(ctx, "org", &boundary.BoundaryScopeArgs{
			Description:           pulumi.String("My first scope!"),
			ScopeId:               pulumi.String("global"),
			AutoCreateAdminRole:   pulumi.Bool(true),
			AutoCreateDefaultRole: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		password, err := boundary.NewBoundaryAuthMethod(ctx, "password", &boundary.BoundaryAuthMethodArgs{
			ScopeId: org.ID(),
			Type:    pulumi.String("password"),
		})
		if err != nil {
			return err
		}
		_, err = boundary.NewBoundaryAccountPassword(ctx, "jeff", &boundary.BoundaryAccountPasswordArgs{
			AuthMethodId: password.ID(),
			Type:         pulumi.String("password"),
			LoginName:    pulumi.String("jeff"),
			Password:     pulumi.String(fmt.Sprintf("$uper$ecure")),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import boundary:index/boundaryAccountPassword:BoundaryAccountPassword foo <my-id>

```

func GetBoundaryAccountPassword

func GetBoundaryAccountPassword(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BoundaryAccountPasswordState, opts ...pulumi.ResourceOption) (*BoundaryAccountPassword, error)

GetBoundaryAccountPassword gets an existing BoundaryAccountPassword resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBoundaryAccountPassword

func NewBoundaryAccountPassword(ctx *pulumi.Context,
	name string, args *BoundaryAccountPasswordArgs, opts ...pulumi.ResourceOption) (*BoundaryAccountPassword, error)

NewBoundaryAccountPassword registers a new resource with the given unique name, arguments, and options.

func (*BoundaryAccountPassword) ElementType

func (*BoundaryAccountPassword) ElementType() reflect.Type

func (*BoundaryAccountPassword) ToBoundaryAccountPasswordOutput

func (i *BoundaryAccountPassword) ToBoundaryAccountPasswordOutput() BoundaryAccountPasswordOutput

func (*BoundaryAccountPassword) ToBoundaryAccountPasswordOutputWithContext

func (i *BoundaryAccountPassword) ToBoundaryAccountPasswordOutputWithContext(ctx context.Context) BoundaryAccountPasswordOutput

type BoundaryAccountPasswordArgs

type BoundaryAccountPasswordArgs struct {
	// The resource ID for the auth method.
	AuthMethodId pulumi.StringInput
	// The account description.
	Description pulumi.StringPtrInput
	// The login name for this account.
	LoginName pulumi.StringPtrInput
	// The account name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The account password. Only set on create, changes will not be reflected when updating account.
	Password pulumi.StringPtrInput
	// The resource type.
	Type pulumi.StringInput
}

The set of arguments for constructing a BoundaryAccountPassword resource.

func (BoundaryAccountPasswordArgs) ElementType

type BoundaryAccountPasswordArray

type BoundaryAccountPasswordArray []BoundaryAccountPasswordInput

func (BoundaryAccountPasswordArray) ElementType

func (BoundaryAccountPasswordArray) ToBoundaryAccountPasswordArrayOutput

func (i BoundaryAccountPasswordArray) ToBoundaryAccountPasswordArrayOutput() BoundaryAccountPasswordArrayOutput

func (BoundaryAccountPasswordArray) ToBoundaryAccountPasswordArrayOutputWithContext

func (i BoundaryAccountPasswordArray) ToBoundaryAccountPasswordArrayOutputWithContext(ctx context.Context) BoundaryAccountPasswordArrayOutput

type BoundaryAccountPasswordArrayInput

type BoundaryAccountPasswordArrayInput interface {
	pulumi.Input

	ToBoundaryAccountPasswordArrayOutput() BoundaryAccountPasswordArrayOutput
	ToBoundaryAccountPasswordArrayOutputWithContext(context.Context) BoundaryAccountPasswordArrayOutput
}

BoundaryAccountPasswordArrayInput is an input type that accepts BoundaryAccountPasswordArray and BoundaryAccountPasswordArrayOutput values. You can construct a concrete instance of `BoundaryAccountPasswordArrayInput` via:

BoundaryAccountPasswordArray{ BoundaryAccountPasswordArgs{...} }

type BoundaryAccountPasswordArrayOutput

type BoundaryAccountPasswordArrayOutput struct{ *pulumi.OutputState }

func (BoundaryAccountPasswordArrayOutput) ElementType

func (BoundaryAccountPasswordArrayOutput) Index

func (BoundaryAccountPasswordArrayOutput) ToBoundaryAccountPasswordArrayOutput

func (o BoundaryAccountPasswordArrayOutput) ToBoundaryAccountPasswordArrayOutput() BoundaryAccountPasswordArrayOutput

func (BoundaryAccountPasswordArrayOutput) ToBoundaryAccountPasswordArrayOutputWithContext

func (o BoundaryAccountPasswordArrayOutput) ToBoundaryAccountPasswordArrayOutputWithContext(ctx context.Context) BoundaryAccountPasswordArrayOutput

type BoundaryAccountPasswordInput

type BoundaryAccountPasswordInput interface {
	pulumi.Input

	ToBoundaryAccountPasswordOutput() BoundaryAccountPasswordOutput
	ToBoundaryAccountPasswordOutputWithContext(ctx context.Context) BoundaryAccountPasswordOutput
}

type BoundaryAccountPasswordMap

type BoundaryAccountPasswordMap map[string]BoundaryAccountPasswordInput

func (BoundaryAccountPasswordMap) ElementType

func (BoundaryAccountPasswordMap) ElementType() reflect.Type

func (BoundaryAccountPasswordMap) ToBoundaryAccountPasswordMapOutput

func (i BoundaryAccountPasswordMap) ToBoundaryAccountPasswordMapOutput() BoundaryAccountPasswordMapOutput

func (BoundaryAccountPasswordMap) ToBoundaryAccountPasswordMapOutputWithContext

func (i BoundaryAccountPasswordMap) ToBoundaryAccountPasswordMapOutputWithContext(ctx context.Context) BoundaryAccountPasswordMapOutput

type BoundaryAccountPasswordMapInput

type BoundaryAccountPasswordMapInput interface {
	pulumi.Input

	ToBoundaryAccountPasswordMapOutput() BoundaryAccountPasswordMapOutput
	ToBoundaryAccountPasswordMapOutputWithContext(context.Context) BoundaryAccountPasswordMapOutput
}

BoundaryAccountPasswordMapInput is an input type that accepts BoundaryAccountPasswordMap and BoundaryAccountPasswordMapOutput values. You can construct a concrete instance of `BoundaryAccountPasswordMapInput` via:

BoundaryAccountPasswordMap{ "key": BoundaryAccountPasswordArgs{...} }

type BoundaryAccountPasswordMapOutput

type BoundaryAccountPasswordMapOutput struct{ *pulumi.OutputState }

func (BoundaryAccountPasswordMapOutput) ElementType

func (BoundaryAccountPasswordMapOutput) MapIndex

func (BoundaryAccountPasswordMapOutput) ToBoundaryAccountPasswordMapOutput

func (o BoundaryAccountPasswordMapOutput) ToBoundaryAccountPasswordMapOutput() BoundaryAccountPasswordMapOutput

func (BoundaryAccountPasswordMapOutput) ToBoundaryAccountPasswordMapOutputWithContext

func (o BoundaryAccountPasswordMapOutput) ToBoundaryAccountPasswordMapOutputWithContext(ctx context.Context) BoundaryAccountPasswordMapOutput

type BoundaryAccountPasswordOutput

type BoundaryAccountPasswordOutput struct{ *pulumi.OutputState }

func (BoundaryAccountPasswordOutput) AuthMethodId

The resource ID for the auth method.

func (BoundaryAccountPasswordOutput) Description

The account description.

func (BoundaryAccountPasswordOutput) ElementType

func (BoundaryAccountPasswordOutput) LoginName

The login name for this account.

func (BoundaryAccountPasswordOutput) Name

The account name. Defaults to the resource name.

func (BoundaryAccountPasswordOutput) Password

The account password. Only set on create, changes will not be reflected when updating account.

func (BoundaryAccountPasswordOutput) ToBoundaryAccountPasswordOutput

func (o BoundaryAccountPasswordOutput) ToBoundaryAccountPasswordOutput() BoundaryAccountPasswordOutput

func (BoundaryAccountPasswordOutput) ToBoundaryAccountPasswordOutputWithContext

func (o BoundaryAccountPasswordOutput) ToBoundaryAccountPasswordOutputWithContext(ctx context.Context) BoundaryAccountPasswordOutput

func (BoundaryAccountPasswordOutput) Type

The resource type.

type BoundaryAccountPasswordState

type BoundaryAccountPasswordState struct {
	// The resource ID for the auth method.
	AuthMethodId pulumi.StringPtrInput
	// The account description.
	Description pulumi.StringPtrInput
	// The login name for this account.
	LoginName pulumi.StringPtrInput
	// The account name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The account password. Only set on create, changes will not be reflected when updating account.
	Password pulumi.StringPtrInput
	// The resource type.
	Type pulumi.StringPtrInput
}

func (BoundaryAccountPasswordState) ElementType

type BoundaryAccountState

type BoundaryAccountState struct {
	// The resource ID for the auth method.
	AuthMethodId pulumi.StringPtrInput
	// The account description.
	Description pulumi.StringPtrInput
	// The login name for this account.
	LoginName pulumi.StringPtrInput
	// The account name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The account password. Only set on create, changes will not be reflected when updating account.
	Password pulumi.StringPtrInput
	// The resource type.
	Type pulumi.StringPtrInput
}

func (BoundaryAccountState) ElementType

func (BoundaryAccountState) ElementType() reflect.Type

type BoundaryAuthMethod

type BoundaryAuthMethod struct {
	pulumi.CustomResourceState

	// The auth method description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The minimum login name length.
	//
	// Deprecated: Will be removed in favor of using attributes parameter
	MinLoginNameLength pulumi.IntOutput `pulumi:"minLoginNameLength"`
	// The minimum password length.
	//
	// Deprecated: Will be removed in favor of using attributes parameter
	MinPasswordLength pulumi.IntOutput `pulumi:"minPasswordLength"`
	// The auth method name. Defaults to the resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The scope ID.
	ScopeId pulumi.StringOutput `pulumi:"scopeId"`
	// The resource type.
	Type pulumi.StringOutput `pulumi:"type"`
}

The auth method resource allows you to configure a Boundary auth_method.

## Example Usage

```go package main

import (

"github.com/katasec/pulumi-boundary/sdk/go/boundary"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		org, err := boundary.NewBoundaryScope(ctx, "org", &boundary.BoundaryScopeArgs{
			Description:           pulumi.String("My first scope!"),
			ScopeId:               pulumi.String("global"),
			AutoCreateAdminRole:   pulumi.Bool(true),
			AutoCreateDefaultRole: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = boundary.NewBoundaryAuthMethod(ctx, "password", &boundary.BoundaryAuthMethodArgs{
			ScopeId: org.ID(),
			Type:    pulumi.String("password"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import boundary:index/boundaryAuthMethod:BoundaryAuthMethod foo <my-id>

```

func GetBoundaryAuthMethod

func GetBoundaryAuthMethod(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BoundaryAuthMethodState, opts ...pulumi.ResourceOption) (*BoundaryAuthMethod, error)

GetBoundaryAuthMethod gets an existing BoundaryAuthMethod resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBoundaryAuthMethod

func NewBoundaryAuthMethod(ctx *pulumi.Context,
	name string, args *BoundaryAuthMethodArgs, opts ...pulumi.ResourceOption) (*BoundaryAuthMethod, error)

NewBoundaryAuthMethod registers a new resource with the given unique name, arguments, and options.

func (*BoundaryAuthMethod) ElementType

func (*BoundaryAuthMethod) ElementType() reflect.Type

func (*BoundaryAuthMethod) ToBoundaryAuthMethodOutput

func (i *BoundaryAuthMethod) ToBoundaryAuthMethodOutput() BoundaryAuthMethodOutput

func (*BoundaryAuthMethod) ToBoundaryAuthMethodOutputWithContext

func (i *BoundaryAuthMethod) ToBoundaryAuthMethodOutputWithContext(ctx context.Context) BoundaryAuthMethodOutput

type BoundaryAuthMethodArgs

type BoundaryAuthMethodArgs struct {
	// The auth method description.
	Description pulumi.StringPtrInput
	// The minimum login name length.
	//
	// Deprecated: Will be removed in favor of using attributes parameter
	MinLoginNameLength pulumi.IntPtrInput
	// The minimum password length.
	//
	// Deprecated: Will be removed in favor of using attributes parameter
	MinPasswordLength pulumi.IntPtrInput
	// The auth method name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The scope ID.
	ScopeId pulumi.StringInput
	// The resource type.
	Type pulumi.StringInput
}

The set of arguments for constructing a BoundaryAuthMethod resource.

func (BoundaryAuthMethodArgs) ElementType

func (BoundaryAuthMethodArgs) ElementType() reflect.Type

type BoundaryAuthMethodArray

type BoundaryAuthMethodArray []BoundaryAuthMethodInput

func (BoundaryAuthMethodArray) ElementType

func (BoundaryAuthMethodArray) ElementType() reflect.Type

func (BoundaryAuthMethodArray) ToBoundaryAuthMethodArrayOutput

func (i BoundaryAuthMethodArray) ToBoundaryAuthMethodArrayOutput() BoundaryAuthMethodArrayOutput

func (BoundaryAuthMethodArray) ToBoundaryAuthMethodArrayOutputWithContext

func (i BoundaryAuthMethodArray) ToBoundaryAuthMethodArrayOutputWithContext(ctx context.Context) BoundaryAuthMethodArrayOutput

type BoundaryAuthMethodArrayInput

type BoundaryAuthMethodArrayInput interface {
	pulumi.Input

	ToBoundaryAuthMethodArrayOutput() BoundaryAuthMethodArrayOutput
	ToBoundaryAuthMethodArrayOutputWithContext(context.Context) BoundaryAuthMethodArrayOutput
}

BoundaryAuthMethodArrayInput is an input type that accepts BoundaryAuthMethodArray and BoundaryAuthMethodArrayOutput values. You can construct a concrete instance of `BoundaryAuthMethodArrayInput` via:

BoundaryAuthMethodArray{ BoundaryAuthMethodArgs{...} }

type BoundaryAuthMethodArrayOutput

type BoundaryAuthMethodArrayOutput struct{ *pulumi.OutputState }

func (BoundaryAuthMethodArrayOutput) ElementType

func (BoundaryAuthMethodArrayOutput) Index

func (BoundaryAuthMethodArrayOutput) ToBoundaryAuthMethodArrayOutput

func (o BoundaryAuthMethodArrayOutput) ToBoundaryAuthMethodArrayOutput() BoundaryAuthMethodArrayOutput

func (BoundaryAuthMethodArrayOutput) ToBoundaryAuthMethodArrayOutputWithContext

func (o BoundaryAuthMethodArrayOutput) ToBoundaryAuthMethodArrayOutputWithContext(ctx context.Context) BoundaryAuthMethodArrayOutput

type BoundaryAuthMethodInput

type BoundaryAuthMethodInput interface {
	pulumi.Input

	ToBoundaryAuthMethodOutput() BoundaryAuthMethodOutput
	ToBoundaryAuthMethodOutputWithContext(ctx context.Context) BoundaryAuthMethodOutput
}

type BoundaryAuthMethodMap

type BoundaryAuthMethodMap map[string]BoundaryAuthMethodInput

func (BoundaryAuthMethodMap) ElementType

func (BoundaryAuthMethodMap) ElementType() reflect.Type

func (BoundaryAuthMethodMap) ToBoundaryAuthMethodMapOutput

func (i BoundaryAuthMethodMap) ToBoundaryAuthMethodMapOutput() BoundaryAuthMethodMapOutput

func (BoundaryAuthMethodMap) ToBoundaryAuthMethodMapOutputWithContext

func (i BoundaryAuthMethodMap) ToBoundaryAuthMethodMapOutputWithContext(ctx context.Context) BoundaryAuthMethodMapOutput

type BoundaryAuthMethodMapInput

type BoundaryAuthMethodMapInput interface {
	pulumi.Input

	ToBoundaryAuthMethodMapOutput() BoundaryAuthMethodMapOutput
	ToBoundaryAuthMethodMapOutputWithContext(context.Context) BoundaryAuthMethodMapOutput
}

BoundaryAuthMethodMapInput is an input type that accepts BoundaryAuthMethodMap and BoundaryAuthMethodMapOutput values. You can construct a concrete instance of `BoundaryAuthMethodMapInput` via:

BoundaryAuthMethodMap{ "key": BoundaryAuthMethodArgs{...} }

type BoundaryAuthMethodMapOutput

type BoundaryAuthMethodMapOutput struct{ *pulumi.OutputState }

func (BoundaryAuthMethodMapOutput) ElementType

func (BoundaryAuthMethodMapOutput) MapIndex

func (BoundaryAuthMethodMapOutput) ToBoundaryAuthMethodMapOutput

func (o BoundaryAuthMethodMapOutput) ToBoundaryAuthMethodMapOutput() BoundaryAuthMethodMapOutput

func (BoundaryAuthMethodMapOutput) ToBoundaryAuthMethodMapOutputWithContext

func (o BoundaryAuthMethodMapOutput) ToBoundaryAuthMethodMapOutputWithContext(ctx context.Context) BoundaryAuthMethodMapOutput

type BoundaryAuthMethodOidc

type BoundaryAuthMethodOidc struct {
	pulumi.CustomResourceState

	// Account claim maps for the toClaim of sub.
	AccountClaimMaps pulumi.StringArrayOutput `pulumi:"accountClaimMaps"`
	// Audiences for which the provider responses will be allowed
	AllowedAudiences pulumi.StringArrayOutput `pulumi:"allowedAudiences"`
	// The API prefix to use when generating callback URLs for the provider. Should be set to an address at which the provider can reach back to the controller.
	ApiUrlPrefix pulumi.StringPtrOutput `pulumi:"apiUrlPrefix"`
	// The URL that should be provided to the IdP for callbacks.
	CallbackUrl pulumi.StringOutput `pulumi:"callbackUrl"`
	// Claims scopes.
	ClaimsScopes pulumi.StringArrayOutput `pulumi:"claimsScopes"`
	// The client ID assigned to this auth method from the provider.
	ClientId pulumi.StringPtrOutput `pulumi:"clientId"`
	// The secret key assigned to this auth method from the provider. Once set, only the hash will be kept and the original value can be removed from configuration.
	ClientSecret pulumi.StringPtrOutput `pulumi:"clientSecret"`
	// The HMAC of the client secret returned by the Boundary controller, which is used for comparison after initial setting of the value.
	ClientSecretHmac pulumi.StringOutput `pulumi:"clientSecretHmac"`
	// The auth method description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Disables validation logic ensuring that the OIDC provider's information from its discovery endpoint matches the information here. The validation is only performed at create or update time.
	DisableDiscoveredConfigValidation pulumi.BoolPtrOutput `pulumi:"disableDiscoveredConfigValidation"`
	// A list of CA certificates to trust when validating the IdP's token signatures.
	IdpCaCerts pulumi.StringArrayOutput `pulumi:"idpCaCerts"`
	// When true, makes this auth method the primary auth method for the scope in which it resides. The primary auth method for a scope means the the user will be automatically created when they login using an OIDC account.
	IsPrimaryForScope pulumi.BoolPtrOutput `pulumi:"isPrimaryForScope"`
	// The issuer corresponding to the provider, which must match the issuer field in generated tokens.
	Issuer pulumi.StringPtrOutput `pulumi:"issuer"`
	// The max age to provide to the provider, indicating how much time is allowed to have passed since the last authentication before the user is challenged again.
	MaxAge pulumi.IntPtrOutput `pulumi:"maxAge"`
	// The auth method name. Defaults to the resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The scope ID.
	ScopeId pulumi.StringOutput `pulumi:"scopeId"`
	// Allowed signing algorithms for the provider's issued tokens.
	SigningAlgorithms pulumi.StringArrayOutput `pulumi:"signingAlgorithms"`
	// Can be one of 'inactive', 'active-private', or 'active-public'. Currently automatically set to active-public.
	State pulumi.StringOutput `pulumi:"state"`
	// The type of auth method; hardcoded.
	Type pulumi.StringPtrOutput `pulumi:"type"`
}

The OIDC auth method resource allows you to configure a Boundary auth_method_oidc.

func GetBoundaryAuthMethodOidc

func GetBoundaryAuthMethodOidc(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BoundaryAuthMethodOidcState, opts ...pulumi.ResourceOption) (*BoundaryAuthMethodOidc, error)

GetBoundaryAuthMethodOidc gets an existing BoundaryAuthMethodOidc resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBoundaryAuthMethodOidc

func NewBoundaryAuthMethodOidc(ctx *pulumi.Context,
	name string, args *BoundaryAuthMethodOidcArgs, opts ...pulumi.ResourceOption) (*BoundaryAuthMethodOidc, error)

NewBoundaryAuthMethodOidc registers a new resource with the given unique name, arguments, and options.

func (*BoundaryAuthMethodOidc) ElementType

func (*BoundaryAuthMethodOidc) ElementType() reflect.Type

func (*BoundaryAuthMethodOidc) ToBoundaryAuthMethodOidcOutput

func (i *BoundaryAuthMethodOidc) ToBoundaryAuthMethodOidcOutput() BoundaryAuthMethodOidcOutput

func (*BoundaryAuthMethodOidc) ToBoundaryAuthMethodOidcOutputWithContext

func (i *BoundaryAuthMethodOidc) ToBoundaryAuthMethodOidcOutputWithContext(ctx context.Context) BoundaryAuthMethodOidcOutput

type BoundaryAuthMethodOidcArgs

type BoundaryAuthMethodOidcArgs struct {
	// Account claim maps for the toClaim of sub.
	AccountClaimMaps pulumi.StringArrayInput
	// Audiences for which the provider responses will be allowed
	AllowedAudiences pulumi.StringArrayInput
	// The API prefix to use when generating callback URLs for the provider. Should be set to an address at which the provider can reach back to the controller.
	ApiUrlPrefix pulumi.StringPtrInput
	// The URL that should be provided to the IdP for callbacks.
	CallbackUrl pulumi.StringPtrInput
	// Claims scopes.
	ClaimsScopes pulumi.StringArrayInput
	// The client ID assigned to this auth method from the provider.
	ClientId pulumi.StringPtrInput
	// The secret key assigned to this auth method from the provider. Once set, only the hash will be kept and the original value can be removed from configuration.
	ClientSecret pulumi.StringPtrInput
	// The HMAC of the client secret returned by the Boundary controller, which is used for comparison after initial setting of the value.
	ClientSecretHmac pulumi.StringPtrInput
	// The auth method description.
	Description pulumi.StringPtrInput
	// Disables validation logic ensuring that the OIDC provider's information from its discovery endpoint matches the information here. The validation is only performed at create or update time.
	DisableDiscoveredConfigValidation pulumi.BoolPtrInput
	// A list of CA certificates to trust when validating the IdP's token signatures.
	IdpCaCerts pulumi.StringArrayInput
	// When true, makes this auth method the primary auth method for the scope in which it resides. The primary auth method for a scope means the the user will be automatically created when they login using an OIDC account.
	IsPrimaryForScope pulumi.BoolPtrInput
	// The issuer corresponding to the provider, which must match the issuer field in generated tokens.
	Issuer pulumi.StringPtrInput
	// The max age to provide to the provider, indicating how much time is allowed to have passed since the last authentication before the user is challenged again.
	MaxAge pulumi.IntPtrInput
	// The auth method name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The scope ID.
	ScopeId pulumi.StringInput
	// Allowed signing algorithms for the provider's issued tokens.
	SigningAlgorithms pulumi.StringArrayInput
	// Can be one of 'inactive', 'active-private', or 'active-public'. Currently automatically set to active-public.
	State pulumi.StringPtrInput
	// The type of auth method; hardcoded.
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a BoundaryAuthMethodOidc resource.

func (BoundaryAuthMethodOidcArgs) ElementType

func (BoundaryAuthMethodOidcArgs) ElementType() reflect.Type

type BoundaryAuthMethodOidcArray

type BoundaryAuthMethodOidcArray []BoundaryAuthMethodOidcInput

func (BoundaryAuthMethodOidcArray) ElementType

func (BoundaryAuthMethodOidcArray) ToBoundaryAuthMethodOidcArrayOutput

func (i BoundaryAuthMethodOidcArray) ToBoundaryAuthMethodOidcArrayOutput() BoundaryAuthMethodOidcArrayOutput

func (BoundaryAuthMethodOidcArray) ToBoundaryAuthMethodOidcArrayOutputWithContext

func (i BoundaryAuthMethodOidcArray) ToBoundaryAuthMethodOidcArrayOutputWithContext(ctx context.Context) BoundaryAuthMethodOidcArrayOutput

type BoundaryAuthMethodOidcArrayInput

type BoundaryAuthMethodOidcArrayInput interface {
	pulumi.Input

	ToBoundaryAuthMethodOidcArrayOutput() BoundaryAuthMethodOidcArrayOutput
	ToBoundaryAuthMethodOidcArrayOutputWithContext(context.Context) BoundaryAuthMethodOidcArrayOutput
}

BoundaryAuthMethodOidcArrayInput is an input type that accepts BoundaryAuthMethodOidcArray and BoundaryAuthMethodOidcArrayOutput values. You can construct a concrete instance of `BoundaryAuthMethodOidcArrayInput` via:

BoundaryAuthMethodOidcArray{ BoundaryAuthMethodOidcArgs{...} }

type BoundaryAuthMethodOidcArrayOutput

type BoundaryAuthMethodOidcArrayOutput struct{ *pulumi.OutputState }

func (BoundaryAuthMethodOidcArrayOutput) ElementType

func (BoundaryAuthMethodOidcArrayOutput) Index

func (BoundaryAuthMethodOidcArrayOutput) ToBoundaryAuthMethodOidcArrayOutput

func (o BoundaryAuthMethodOidcArrayOutput) ToBoundaryAuthMethodOidcArrayOutput() BoundaryAuthMethodOidcArrayOutput

func (BoundaryAuthMethodOidcArrayOutput) ToBoundaryAuthMethodOidcArrayOutputWithContext

func (o BoundaryAuthMethodOidcArrayOutput) ToBoundaryAuthMethodOidcArrayOutputWithContext(ctx context.Context) BoundaryAuthMethodOidcArrayOutput

type BoundaryAuthMethodOidcInput

type BoundaryAuthMethodOidcInput interface {
	pulumi.Input

	ToBoundaryAuthMethodOidcOutput() BoundaryAuthMethodOidcOutput
	ToBoundaryAuthMethodOidcOutputWithContext(ctx context.Context) BoundaryAuthMethodOidcOutput
}

type BoundaryAuthMethodOidcMap

type BoundaryAuthMethodOidcMap map[string]BoundaryAuthMethodOidcInput

func (BoundaryAuthMethodOidcMap) ElementType

func (BoundaryAuthMethodOidcMap) ElementType() reflect.Type

func (BoundaryAuthMethodOidcMap) ToBoundaryAuthMethodOidcMapOutput

func (i BoundaryAuthMethodOidcMap) ToBoundaryAuthMethodOidcMapOutput() BoundaryAuthMethodOidcMapOutput

func (BoundaryAuthMethodOidcMap) ToBoundaryAuthMethodOidcMapOutputWithContext

func (i BoundaryAuthMethodOidcMap) ToBoundaryAuthMethodOidcMapOutputWithContext(ctx context.Context) BoundaryAuthMethodOidcMapOutput

type BoundaryAuthMethodOidcMapInput

type BoundaryAuthMethodOidcMapInput interface {
	pulumi.Input

	ToBoundaryAuthMethodOidcMapOutput() BoundaryAuthMethodOidcMapOutput
	ToBoundaryAuthMethodOidcMapOutputWithContext(context.Context) BoundaryAuthMethodOidcMapOutput
}

BoundaryAuthMethodOidcMapInput is an input type that accepts BoundaryAuthMethodOidcMap and BoundaryAuthMethodOidcMapOutput values. You can construct a concrete instance of `BoundaryAuthMethodOidcMapInput` via:

BoundaryAuthMethodOidcMap{ "key": BoundaryAuthMethodOidcArgs{...} }

type BoundaryAuthMethodOidcMapOutput

type BoundaryAuthMethodOidcMapOutput struct{ *pulumi.OutputState }

func (BoundaryAuthMethodOidcMapOutput) ElementType

func (BoundaryAuthMethodOidcMapOutput) MapIndex

func (BoundaryAuthMethodOidcMapOutput) ToBoundaryAuthMethodOidcMapOutput

func (o BoundaryAuthMethodOidcMapOutput) ToBoundaryAuthMethodOidcMapOutput() BoundaryAuthMethodOidcMapOutput

func (BoundaryAuthMethodOidcMapOutput) ToBoundaryAuthMethodOidcMapOutputWithContext

func (o BoundaryAuthMethodOidcMapOutput) ToBoundaryAuthMethodOidcMapOutputWithContext(ctx context.Context) BoundaryAuthMethodOidcMapOutput

type BoundaryAuthMethodOidcOutput

type BoundaryAuthMethodOidcOutput struct{ *pulumi.OutputState }

func (BoundaryAuthMethodOidcOutput) AccountClaimMaps

Account claim maps for the toClaim of sub.

func (BoundaryAuthMethodOidcOutput) AllowedAudiences

Audiences for which the provider responses will be allowed

func (BoundaryAuthMethodOidcOutput) ApiUrlPrefix

The API prefix to use when generating callback URLs for the provider. Should be set to an address at which the provider can reach back to the controller.

func (BoundaryAuthMethodOidcOutput) CallbackUrl

The URL that should be provided to the IdP for callbacks.

func (BoundaryAuthMethodOidcOutput) ClaimsScopes

Claims scopes.

func (BoundaryAuthMethodOidcOutput) ClientId

The client ID assigned to this auth method from the provider.

func (BoundaryAuthMethodOidcOutput) ClientSecret

The secret key assigned to this auth method from the provider. Once set, only the hash will be kept and the original value can be removed from configuration.

func (BoundaryAuthMethodOidcOutput) ClientSecretHmac

func (o BoundaryAuthMethodOidcOutput) ClientSecretHmac() pulumi.StringOutput

The HMAC of the client secret returned by the Boundary controller, which is used for comparison after initial setting of the value.

func (BoundaryAuthMethodOidcOutput) Description

The auth method description.

func (BoundaryAuthMethodOidcOutput) DisableDiscoveredConfigValidation

func (o BoundaryAuthMethodOidcOutput) DisableDiscoveredConfigValidation() pulumi.BoolPtrOutput

Disables validation logic ensuring that the OIDC provider's information from its discovery endpoint matches the information here. The validation is only performed at create or update time.

func (BoundaryAuthMethodOidcOutput) ElementType

func (BoundaryAuthMethodOidcOutput) IdpCaCerts

A list of CA certificates to trust when validating the IdP's token signatures.

func (BoundaryAuthMethodOidcOutput) IsPrimaryForScope

func (o BoundaryAuthMethodOidcOutput) IsPrimaryForScope() pulumi.BoolPtrOutput

When true, makes this auth method the primary auth method for the scope in which it resides. The primary auth method for a scope means the the user will be automatically created when they login using an OIDC account.

func (BoundaryAuthMethodOidcOutput) Issuer

The issuer corresponding to the provider, which must match the issuer field in generated tokens.

func (BoundaryAuthMethodOidcOutput) MaxAge

The max age to provide to the provider, indicating how much time is allowed to have passed since the last authentication before the user is challenged again.

func (BoundaryAuthMethodOidcOutput) Name

The auth method name. Defaults to the resource name.

func (BoundaryAuthMethodOidcOutput) ScopeId

The scope ID.

func (BoundaryAuthMethodOidcOutput) SigningAlgorithms

Allowed signing algorithms for the provider's issued tokens.

func (BoundaryAuthMethodOidcOutput) State

Can be one of 'inactive', 'active-private', or 'active-public'. Currently automatically set to active-public.

func (BoundaryAuthMethodOidcOutput) ToBoundaryAuthMethodOidcOutput

func (o BoundaryAuthMethodOidcOutput) ToBoundaryAuthMethodOidcOutput() BoundaryAuthMethodOidcOutput

func (BoundaryAuthMethodOidcOutput) ToBoundaryAuthMethodOidcOutputWithContext

func (o BoundaryAuthMethodOidcOutput) ToBoundaryAuthMethodOidcOutputWithContext(ctx context.Context) BoundaryAuthMethodOidcOutput

func (BoundaryAuthMethodOidcOutput) Type

The type of auth method; hardcoded.

type BoundaryAuthMethodOidcState

type BoundaryAuthMethodOidcState struct {
	// Account claim maps for the toClaim of sub.
	AccountClaimMaps pulumi.StringArrayInput
	// Audiences for which the provider responses will be allowed
	AllowedAudiences pulumi.StringArrayInput
	// The API prefix to use when generating callback URLs for the provider. Should be set to an address at which the provider can reach back to the controller.
	ApiUrlPrefix pulumi.StringPtrInput
	// The URL that should be provided to the IdP for callbacks.
	CallbackUrl pulumi.StringPtrInput
	// Claims scopes.
	ClaimsScopes pulumi.StringArrayInput
	// The client ID assigned to this auth method from the provider.
	ClientId pulumi.StringPtrInput
	// The secret key assigned to this auth method from the provider. Once set, only the hash will be kept and the original value can be removed from configuration.
	ClientSecret pulumi.StringPtrInput
	// The HMAC of the client secret returned by the Boundary controller, which is used for comparison after initial setting of the value.
	ClientSecretHmac pulumi.StringPtrInput
	// The auth method description.
	Description pulumi.StringPtrInput
	// Disables validation logic ensuring that the OIDC provider's information from its discovery endpoint matches the information here. The validation is only performed at create or update time.
	DisableDiscoveredConfigValidation pulumi.BoolPtrInput
	// A list of CA certificates to trust when validating the IdP's token signatures.
	IdpCaCerts pulumi.StringArrayInput
	// When true, makes this auth method the primary auth method for the scope in which it resides. The primary auth method for a scope means the the user will be automatically created when they login using an OIDC account.
	IsPrimaryForScope pulumi.BoolPtrInput
	// The issuer corresponding to the provider, which must match the issuer field in generated tokens.
	Issuer pulumi.StringPtrInput
	// The max age to provide to the provider, indicating how much time is allowed to have passed since the last authentication before the user is challenged again.
	MaxAge pulumi.IntPtrInput
	// The auth method name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The scope ID.
	ScopeId pulumi.StringPtrInput
	// Allowed signing algorithms for the provider's issued tokens.
	SigningAlgorithms pulumi.StringArrayInput
	// Can be one of 'inactive', 'active-private', or 'active-public'. Currently automatically set to active-public.
	State pulumi.StringPtrInput
	// The type of auth method; hardcoded.
	Type pulumi.StringPtrInput
}

func (BoundaryAuthMethodOidcState) ElementType

type BoundaryAuthMethodOutput

type BoundaryAuthMethodOutput struct{ *pulumi.OutputState }

func (BoundaryAuthMethodOutput) Description

The auth method description.

func (BoundaryAuthMethodOutput) ElementType

func (BoundaryAuthMethodOutput) ElementType() reflect.Type

func (BoundaryAuthMethodOutput) MinLoginNameLength deprecated

func (o BoundaryAuthMethodOutput) MinLoginNameLength() pulumi.IntOutput

The minimum login name length.

Deprecated: Will be removed in favor of using attributes parameter

func (BoundaryAuthMethodOutput) MinPasswordLength deprecated

func (o BoundaryAuthMethodOutput) MinPasswordLength() pulumi.IntOutput

The minimum password length.

Deprecated: Will be removed in favor of using attributes parameter

func (BoundaryAuthMethodOutput) Name

The auth method name. Defaults to the resource name.

func (BoundaryAuthMethodOutput) ScopeId

The scope ID.

func (BoundaryAuthMethodOutput) ToBoundaryAuthMethodOutput

func (o BoundaryAuthMethodOutput) ToBoundaryAuthMethodOutput() BoundaryAuthMethodOutput

func (BoundaryAuthMethodOutput) ToBoundaryAuthMethodOutputWithContext

func (o BoundaryAuthMethodOutput) ToBoundaryAuthMethodOutputWithContext(ctx context.Context) BoundaryAuthMethodOutput

func (BoundaryAuthMethodOutput) Type

The resource type.

type BoundaryAuthMethodPassword

type BoundaryAuthMethodPassword struct {
	pulumi.CustomResourceState

	// The auth method description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The minimum login name length.
	MinLoginNameLength pulumi.IntOutput `pulumi:"minLoginNameLength"`
	// The minimum password length.
	MinPasswordLength pulumi.IntOutput `pulumi:"minPasswordLength"`
	// The auth method name. Defaults to the resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The scope ID.
	ScopeId pulumi.StringOutput `pulumi:"scopeId"`
	// The resource type, hardcoded per resource
	Type pulumi.StringPtrOutput `pulumi:"type"`
}

The auth method resource allows you to configure a Boundary auth_method_password.

func GetBoundaryAuthMethodPassword

func GetBoundaryAuthMethodPassword(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BoundaryAuthMethodPasswordState, opts ...pulumi.ResourceOption) (*BoundaryAuthMethodPassword, error)

GetBoundaryAuthMethodPassword gets an existing BoundaryAuthMethodPassword resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBoundaryAuthMethodPassword

func NewBoundaryAuthMethodPassword(ctx *pulumi.Context,
	name string, args *BoundaryAuthMethodPasswordArgs, opts ...pulumi.ResourceOption) (*BoundaryAuthMethodPassword, error)

NewBoundaryAuthMethodPassword registers a new resource with the given unique name, arguments, and options.

func (*BoundaryAuthMethodPassword) ElementType

func (*BoundaryAuthMethodPassword) ElementType() reflect.Type

func (*BoundaryAuthMethodPassword) ToBoundaryAuthMethodPasswordOutput

func (i *BoundaryAuthMethodPassword) ToBoundaryAuthMethodPasswordOutput() BoundaryAuthMethodPasswordOutput

func (*BoundaryAuthMethodPassword) ToBoundaryAuthMethodPasswordOutputWithContext

func (i *BoundaryAuthMethodPassword) ToBoundaryAuthMethodPasswordOutputWithContext(ctx context.Context) BoundaryAuthMethodPasswordOutput

type BoundaryAuthMethodPasswordArgs

type BoundaryAuthMethodPasswordArgs struct {
	// The auth method description.
	Description pulumi.StringPtrInput
	// The minimum login name length.
	MinLoginNameLength pulumi.IntPtrInput
	// The minimum password length.
	MinPasswordLength pulumi.IntPtrInput
	// The auth method name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The scope ID.
	ScopeId pulumi.StringInput
	// The resource type, hardcoded per resource
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a BoundaryAuthMethodPassword resource.

func (BoundaryAuthMethodPasswordArgs) ElementType

type BoundaryAuthMethodPasswordArray

type BoundaryAuthMethodPasswordArray []BoundaryAuthMethodPasswordInput

func (BoundaryAuthMethodPasswordArray) ElementType

func (BoundaryAuthMethodPasswordArray) ToBoundaryAuthMethodPasswordArrayOutput

func (i BoundaryAuthMethodPasswordArray) ToBoundaryAuthMethodPasswordArrayOutput() BoundaryAuthMethodPasswordArrayOutput

func (BoundaryAuthMethodPasswordArray) ToBoundaryAuthMethodPasswordArrayOutputWithContext

func (i BoundaryAuthMethodPasswordArray) ToBoundaryAuthMethodPasswordArrayOutputWithContext(ctx context.Context) BoundaryAuthMethodPasswordArrayOutput

type BoundaryAuthMethodPasswordArrayInput

type BoundaryAuthMethodPasswordArrayInput interface {
	pulumi.Input

	ToBoundaryAuthMethodPasswordArrayOutput() BoundaryAuthMethodPasswordArrayOutput
	ToBoundaryAuthMethodPasswordArrayOutputWithContext(context.Context) BoundaryAuthMethodPasswordArrayOutput
}

BoundaryAuthMethodPasswordArrayInput is an input type that accepts BoundaryAuthMethodPasswordArray and BoundaryAuthMethodPasswordArrayOutput values. You can construct a concrete instance of `BoundaryAuthMethodPasswordArrayInput` via:

BoundaryAuthMethodPasswordArray{ BoundaryAuthMethodPasswordArgs{...} }

type BoundaryAuthMethodPasswordArrayOutput

type BoundaryAuthMethodPasswordArrayOutput struct{ *pulumi.OutputState }

func (BoundaryAuthMethodPasswordArrayOutput) ElementType

func (BoundaryAuthMethodPasswordArrayOutput) Index

func (BoundaryAuthMethodPasswordArrayOutput) ToBoundaryAuthMethodPasswordArrayOutput

func (o BoundaryAuthMethodPasswordArrayOutput) ToBoundaryAuthMethodPasswordArrayOutput() BoundaryAuthMethodPasswordArrayOutput

func (BoundaryAuthMethodPasswordArrayOutput) ToBoundaryAuthMethodPasswordArrayOutputWithContext

func (o BoundaryAuthMethodPasswordArrayOutput) ToBoundaryAuthMethodPasswordArrayOutputWithContext(ctx context.Context) BoundaryAuthMethodPasswordArrayOutput

type BoundaryAuthMethodPasswordInput

type BoundaryAuthMethodPasswordInput interface {
	pulumi.Input

	ToBoundaryAuthMethodPasswordOutput() BoundaryAuthMethodPasswordOutput
	ToBoundaryAuthMethodPasswordOutputWithContext(ctx context.Context) BoundaryAuthMethodPasswordOutput
}

type BoundaryAuthMethodPasswordMap

type BoundaryAuthMethodPasswordMap map[string]BoundaryAuthMethodPasswordInput

func (BoundaryAuthMethodPasswordMap) ElementType

func (BoundaryAuthMethodPasswordMap) ToBoundaryAuthMethodPasswordMapOutput

func (i BoundaryAuthMethodPasswordMap) ToBoundaryAuthMethodPasswordMapOutput() BoundaryAuthMethodPasswordMapOutput

func (BoundaryAuthMethodPasswordMap) ToBoundaryAuthMethodPasswordMapOutputWithContext

func (i BoundaryAuthMethodPasswordMap) ToBoundaryAuthMethodPasswordMapOutputWithContext(ctx context.Context) BoundaryAuthMethodPasswordMapOutput

type BoundaryAuthMethodPasswordMapInput

type BoundaryAuthMethodPasswordMapInput interface {
	pulumi.Input

	ToBoundaryAuthMethodPasswordMapOutput() BoundaryAuthMethodPasswordMapOutput
	ToBoundaryAuthMethodPasswordMapOutputWithContext(context.Context) BoundaryAuthMethodPasswordMapOutput
}

BoundaryAuthMethodPasswordMapInput is an input type that accepts BoundaryAuthMethodPasswordMap and BoundaryAuthMethodPasswordMapOutput values. You can construct a concrete instance of `BoundaryAuthMethodPasswordMapInput` via:

BoundaryAuthMethodPasswordMap{ "key": BoundaryAuthMethodPasswordArgs{...} }

type BoundaryAuthMethodPasswordMapOutput

type BoundaryAuthMethodPasswordMapOutput struct{ *pulumi.OutputState }

func (BoundaryAuthMethodPasswordMapOutput) ElementType

func (BoundaryAuthMethodPasswordMapOutput) MapIndex

func (BoundaryAuthMethodPasswordMapOutput) ToBoundaryAuthMethodPasswordMapOutput

func (o BoundaryAuthMethodPasswordMapOutput) ToBoundaryAuthMethodPasswordMapOutput() BoundaryAuthMethodPasswordMapOutput

func (BoundaryAuthMethodPasswordMapOutput) ToBoundaryAuthMethodPasswordMapOutputWithContext

func (o BoundaryAuthMethodPasswordMapOutput) ToBoundaryAuthMethodPasswordMapOutputWithContext(ctx context.Context) BoundaryAuthMethodPasswordMapOutput

type BoundaryAuthMethodPasswordOutput

type BoundaryAuthMethodPasswordOutput struct{ *pulumi.OutputState }

func (BoundaryAuthMethodPasswordOutput) Description

The auth method description.

func (BoundaryAuthMethodPasswordOutput) ElementType

func (BoundaryAuthMethodPasswordOutput) MinLoginNameLength

func (o BoundaryAuthMethodPasswordOutput) MinLoginNameLength() pulumi.IntOutput

The minimum login name length.

func (BoundaryAuthMethodPasswordOutput) MinPasswordLength

func (o BoundaryAuthMethodPasswordOutput) MinPasswordLength() pulumi.IntOutput

The minimum password length.

func (BoundaryAuthMethodPasswordOutput) Name

The auth method name. Defaults to the resource name.

func (BoundaryAuthMethodPasswordOutput) ScopeId

The scope ID.

func (BoundaryAuthMethodPasswordOutput) ToBoundaryAuthMethodPasswordOutput

func (o BoundaryAuthMethodPasswordOutput) ToBoundaryAuthMethodPasswordOutput() BoundaryAuthMethodPasswordOutput

func (BoundaryAuthMethodPasswordOutput) ToBoundaryAuthMethodPasswordOutputWithContext

func (o BoundaryAuthMethodPasswordOutput) ToBoundaryAuthMethodPasswordOutputWithContext(ctx context.Context) BoundaryAuthMethodPasswordOutput

func (BoundaryAuthMethodPasswordOutput) Type

The resource type, hardcoded per resource

type BoundaryAuthMethodPasswordState

type BoundaryAuthMethodPasswordState struct {
	// The auth method description.
	Description pulumi.StringPtrInput
	// The minimum login name length.
	MinLoginNameLength pulumi.IntPtrInput
	// The minimum password length.
	MinPasswordLength pulumi.IntPtrInput
	// The auth method name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The scope ID.
	ScopeId pulumi.StringPtrInput
	// The resource type, hardcoded per resource
	Type pulumi.StringPtrInput
}

func (BoundaryAuthMethodPasswordState) ElementType

type BoundaryAuthMethodState

type BoundaryAuthMethodState struct {
	// The auth method description.
	Description pulumi.StringPtrInput
	// The minimum login name length.
	//
	// Deprecated: Will be removed in favor of using attributes parameter
	MinLoginNameLength pulumi.IntPtrInput
	// The minimum password length.
	//
	// Deprecated: Will be removed in favor of using attributes parameter
	MinPasswordLength pulumi.IntPtrInput
	// The auth method name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The scope ID.
	ScopeId pulumi.StringPtrInput
	// The resource type.
	Type pulumi.StringPtrInput
}

func (BoundaryAuthMethodState) ElementType

func (BoundaryAuthMethodState) ElementType() reflect.Type

type BoundaryCredentialLibraryVault

type BoundaryCredentialLibraryVault struct {
	pulumi.CustomResourceState

	// The ID of the credential store that this library belongs to.
	CredentialStoreId pulumi.StringOutput `pulumi:"credentialStoreId"`
	// The type of credential the library generates.
	CredentialType pulumi.StringPtrOutput `pulumi:"credentialType"`
	// The Vault credential library description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The HTTP method the library uses when requesting credentials from Vault. Defaults to 'GET'
	HttpMethod pulumi.StringPtrOutput `pulumi:"httpMethod"`
	// The body of the HTTP request the library sends to Vault when requesting credentials. Only valid if `httpMethod` is set to `POST`.
	HttpRequestBody pulumi.StringPtrOutput `pulumi:"httpRequestBody"`
	// The Vault credential library name. Defaults to the resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The path in Vault to request credentials from.
	Path pulumi.StringOutput `pulumi:"path"`
}

The credential library for Vault resource allows you to configure a Boundary credential library for Vault.

## Example Usage

```go package main

import (

"fmt"

"github.com/katasec/pulumi-boundary/sdk/go/boundary"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		org, err := boundary.NewBoundaryScope(ctx, "org", &boundary.BoundaryScopeArgs{
			Description:           pulumi.String("My first scope!"),
			ScopeId:               pulumi.String("global"),
			AutoCreateAdminRole:   pulumi.Bool(true),
			AutoCreateDefaultRole: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		project, err := boundary.NewBoundaryScope(ctx, "project", &boundary.BoundaryScopeArgs{
			Description:         pulumi.String("My first scope!"),
			ScopeId:             org.ID(),
			AutoCreateAdminRole: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		fooBoundaryCredentialStoreVault, err := boundary.NewBoundaryCredentialStoreVault(ctx, "fooBoundaryCredentialStoreVault", &boundary.BoundaryCredentialStoreVaultArgs{
			Description: pulumi.String("My first Vault credential store!"),
			Address:     pulumi.String("http://127.0.0.1:8200"),
			Token:       pulumi.String("s.0ufRo6XEGU2jOqnIr7OlFYP5"),
			ScopeId:     project.ID(),
		})
		if err != nil {
			return err
		}
		_, err = boundary.NewBoundaryCredentialLibraryVault(ctx, "fooBoundaryCredentialLibraryVault", &boundary.BoundaryCredentialLibraryVaultArgs{
			Description:       pulumi.String("My first Vault credential library!"),
			CredentialStoreId: fooBoundaryCredentialStoreVault.ID(),
			Path:              pulumi.String("my/secret/foo"),
			HttpMethod:        pulumi.String("GET"),
		})
		if err != nil {
			return err
		}
		_, err = boundary.NewBoundaryCredentialLibraryVault(ctx, "bar", &boundary.BoundaryCredentialLibraryVaultArgs{
			Description:       pulumi.String("My second Vault credential library!"),
			CredentialStoreId: fooBoundaryCredentialStoreVault.ID(),
			Path:              pulumi.String("my/secret/bar"),
			HttpMethod:        pulumi.String("POST"),
			HttpRequestBody:   pulumi.String(fmt.Sprintf("{\n  \"key\": \"Value\",\n}\n")),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import boundary:index/boundaryCredentialLibraryVault:BoundaryCredentialLibraryVault foo <my-id>

```

func GetBoundaryCredentialLibraryVault

func GetBoundaryCredentialLibraryVault(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BoundaryCredentialLibraryVaultState, opts ...pulumi.ResourceOption) (*BoundaryCredentialLibraryVault, error)

GetBoundaryCredentialLibraryVault gets an existing BoundaryCredentialLibraryVault resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBoundaryCredentialLibraryVault

func NewBoundaryCredentialLibraryVault(ctx *pulumi.Context,
	name string, args *BoundaryCredentialLibraryVaultArgs, opts ...pulumi.ResourceOption) (*BoundaryCredentialLibraryVault, error)

NewBoundaryCredentialLibraryVault registers a new resource with the given unique name, arguments, and options.

func (*BoundaryCredentialLibraryVault) ElementType

func (*BoundaryCredentialLibraryVault) ToBoundaryCredentialLibraryVaultOutput

func (i *BoundaryCredentialLibraryVault) ToBoundaryCredentialLibraryVaultOutput() BoundaryCredentialLibraryVaultOutput

func (*BoundaryCredentialLibraryVault) ToBoundaryCredentialLibraryVaultOutputWithContext

func (i *BoundaryCredentialLibraryVault) ToBoundaryCredentialLibraryVaultOutputWithContext(ctx context.Context) BoundaryCredentialLibraryVaultOutput

type BoundaryCredentialLibraryVaultArgs

type BoundaryCredentialLibraryVaultArgs struct {
	// The ID of the credential store that this library belongs to.
	CredentialStoreId pulumi.StringInput
	// The type of credential the library generates.
	CredentialType pulumi.StringPtrInput
	// The Vault credential library description.
	Description pulumi.StringPtrInput
	// The HTTP method the library uses when requesting credentials from Vault. Defaults to 'GET'
	HttpMethod pulumi.StringPtrInput
	// The body of the HTTP request the library sends to Vault when requesting credentials. Only valid if `httpMethod` is set to `POST`.
	HttpRequestBody pulumi.StringPtrInput
	// The Vault credential library name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The path in Vault to request credentials from.
	Path pulumi.StringInput
}

The set of arguments for constructing a BoundaryCredentialLibraryVault resource.

func (BoundaryCredentialLibraryVaultArgs) ElementType

type BoundaryCredentialLibraryVaultArray

type BoundaryCredentialLibraryVaultArray []BoundaryCredentialLibraryVaultInput

func (BoundaryCredentialLibraryVaultArray) ElementType

func (BoundaryCredentialLibraryVaultArray) ToBoundaryCredentialLibraryVaultArrayOutput

func (i BoundaryCredentialLibraryVaultArray) ToBoundaryCredentialLibraryVaultArrayOutput() BoundaryCredentialLibraryVaultArrayOutput

func (BoundaryCredentialLibraryVaultArray) ToBoundaryCredentialLibraryVaultArrayOutputWithContext

func (i BoundaryCredentialLibraryVaultArray) ToBoundaryCredentialLibraryVaultArrayOutputWithContext(ctx context.Context) BoundaryCredentialLibraryVaultArrayOutput

type BoundaryCredentialLibraryVaultArrayInput

type BoundaryCredentialLibraryVaultArrayInput interface {
	pulumi.Input

	ToBoundaryCredentialLibraryVaultArrayOutput() BoundaryCredentialLibraryVaultArrayOutput
	ToBoundaryCredentialLibraryVaultArrayOutputWithContext(context.Context) BoundaryCredentialLibraryVaultArrayOutput
}

BoundaryCredentialLibraryVaultArrayInput is an input type that accepts BoundaryCredentialLibraryVaultArray and BoundaryCredentialLibraryVaultArrayOutput values. You can construct a concrete instance of `BoundaryCredentialLibraryVaultArrayInput` via:

BoundaryCredentialLibraryVaultArray{ BoundaryCredentialLibraryVaultArgs{...} }

type BoundaryCredentialLibraryVaultArrayOutput

type BoundaryCredentialLibraryVaultArrayOutput struct{ *pulumi.OutputState }

func (BoundaryCredentialLibraryVaultArrayOutput) ElementType

func (BoundaryCredentialLibraryVaultArrayOutput) Index

func (BoundaryCredentialLibraryVaultArrayOutput) ToBoundaryCredentialLibraryVaultArrayOutput

func (o BoundaryCredentialLibraryVaultArrayOutput) ToBoundaryCredentialLibraryVaultArrayOutput() BoundaryCredentialLibraryVaultArrayOutput

func (BoundaryCredentialLibraryVaultArrayOutput) ToBoundaryCredentialLibraryVaultArrayOutputWithContext

func (o BoundaryCredentialLibraryVaultArrayOutput) ToBoundaryCredentialLibraryVaultArrayOutputWithContext(ctx context.Context) BoundaryCredentialLibraryVaultArrayOutput

type BoundaryCredentialLibraryVaultInput

type BoundaryCredentialLibraryVaultInput interface {
	pulumi.Input

	ToBoundaryCredentialLibraryVaultOutput() BoundaryCredentialLibraryVaultOutput
	ToBoundaryCredentialLibraryVaultOutputWithContext(ctx context.Context) BoundaryCredentialLibraryVaultOutput
}

type BoundaryCredentialLibraryVaultMap

type BoundaryCredentialLibraryVaultMap map[string]BoundaryCredentialLibraryVaultInput

func (BoundaryCredentialLibraryVaultMap) ElementType

func (BoundaryCredentialLibraryVaultMap) ToBoundaryCredentialLibraryVaultMapOutput

func (i BoundaryCredentialLibraryVaultMap) ToBoundaryCredentialLibraryVaultMapOutput() BoundaryCredentialLibraryVaultMapOutput

func (BoundaryCredentialLibraryVaultMap) ToBoundaryCredentialLibraryVaultMapOutputWithContext

func (i BoundaryCredentialLibraryVaultMap) ToBoundaryCredentialLibraryVaultMapOutputWithContext(ctx context.Context) BoundaryCredentialLibraryVaultMapOutput

type BoundaryCredentialLibraryVaultMapInput

type BoundaryCredentialLibraryVaultMapInput interface {
	pulumi.Input

	ToBoundaryCredentialLibraryVaultMapOutput() BoundaryCredentialLibraryVaultMapOutput
	ToBoundaryCredentialLibraryVaultMapOutputWithContext(context.Context) BoundaryCredentialLibraryVaultMapOutput
}

BoundaryCredentialLibraryVaultMapInput is an input type that accepts BoundaryCredentialLibraryVaultMap and BoundaryCredentialLibraryVaultMapOutput values. You can construct a concrete instance of `BoundaryCredentialLibraryVaultMapInput` via:

BoundaryCredentialLibraryVaultMap{ "key": BoundaryCredentialLibraryVaultArgs{...} }

type BoundaryCredentialLibraryVaultMapOutput

type BoundaryCredentialLibraryVaultMapOutput struct{ *pulumi.OutputState }

func (BoundaryCredentialLibraryVaultMapOutput) ElementType

func (BoundaryCredentialLibraryVaultMapOutput) MapIndex

func (BoundaryCredentialLibraryVaultMapOutput) ToBoundaryCredentialLibraryVaultMapOutput

func (o BoundaryCredentialLibraryVaultMapOutput) ToBoundaryCredentialLibraryVaultMapOutput() BoundaryCredentialLibraryVaultMapOutput

func (BoundaryCredentialLibraryVaultMapOutput) ToBoundaryCredentialLibraryVaultMapOutputWithContext

func (o BoundaryCredentialLibraryVaultMapOutput) ToBoundaryCredentialLibraryVaultMapOutputWithContext(ctx context.Context) BoundaryCredentialLibraryVaultMapOutput

type BoundaryCredentialLibraryVaultOutput

type BoundaryCredentialLibraryVaultOutput struct{ *pulumi.OutputState }

func (BoundaryCredentialLibraryVaultOutput) CredentialStoreId

The ID of the credential store that this library belongs to.

func (BoundaryCredentialLibraryVaultOutput) CredentialType

The type of credential the library generates.

func (BoundaryCredentialLibraryVaultOutput) Description

The Vault credential library description.

func (BoundaryCredentialLibraryVaultOutput) ElementType

func (BoundaryCredentialLibraryVaultOutput) HttpMethod

The HTTP method the library uses when requesting credentials from Vault. Defaults to 'GET'

func (BoundaryCredentialLibraryVaultOutput) HttpRequestBody

The body of the HTTP request the library sends to Vault when requesting credentials. Only valid if `httpMethod` is set to `POST`.

func (BoundaryCredentialLibraryVaultOutput) Name

The Vault credential library name. Defaults to the resource name.

func (BoundaryCredentialLibraryVaultOutput) Path

The path in Vault to request credentials from.

func (BoundaryCredentialLibraryVaultOutput) ToBoundaryCredentialLibraryVaultOutput

func (o BoundaryCredentialLibraryVaultOutput) ToBoundaryCredentialLibraryVaultOutput() BoundaryCredentialLibraryVaultOutput

func (BoundaryCredentialLibraryVaultOutput) ToBoundaryCredentialLibraryVaultOutputWithContext

func (o BoundaryCredentialLibraryVaultOutput) ToBoundaryCredentialLibraryVaultOutputWithContext(ctx context.Context) BoundaryCredentialLibraryVaultOutput

type BoundaryCredentialLibraryVaultState

type BoundaryCredentialLibraryVaultState struct {
	// The ID of the credential store that this library belongs to.
	CredentialStoreId pulumi.StringPtrInput
	// The type of credential the library generates.
	CredentialType pulumi.StringPtrInput
	// The Vault credential library description.
	Description pulumi.StringPtrInput
	// The HTTP method the library uses when requesting credentials from Vault. Defaults to 'GET'
	HttpMethod pulumi.StringPtrInput
	// The body of the HTTP request the library sends to Vault when requesting credentials. Only valid if `httpMethod` is set to `POST`.
	HttpRequestBody pulumi.StringPtrInput
	// The Vault credential library name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The path in Vault to request credentials from.
	Path pulumi.StringPtrInput
}

func (BoundaryCredentialLibraryVaultState) ElementType

type BoundaryCredentialSshPrivateKey

type BoundaryCredentialSshPrivateKey struct {
	pulumi.CustomResourceState

	// ID of the credential store this credential belongs to.
	CredentialStoreId pulumi.StringOutput `pulumi:"credentialStoreId"`
	// The description of the credential.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of the credential. Defaults to the resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The private key associated with the credential.
	PrivateKey pulumi.StringOutput `pulumi:"privateKey"`
	// The private key hmac.
	PrivateKeyHmac pulumi.StringOutput `pulumi:"privateKeyHmac"`
	// The passphrase of the private key associated with the credential.
	PrivateKeyPassphrase pulumi.StringPtrOutput `pulumi:"privateKeyPassphrase"`
	// The private key passphrase hmac.
	PrivateKeyPassphraseHmac pulumi.StringOutput `pulumi:"privateKeyPassphraseHmac"`
	// The username associated with the credential.
	Username pulumi.StringOutput `pulumi:"username"`
}

The SSH private key credential resource allows you to configure a credential using a username, private key and optional passphrase.

## Example Usage

```go package main

import (

"io/ioutil"

"github.com/katasec/pulumi-boundary/sdk/go/boundary"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func readFileOrPanic(path string) pulumi.StringPtrInput {
	data, err := ioutil.ReadFile(path)
	if err != nil {
		panic(err.Error())
	}
	return pulumi.String(string(data))
}

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		org, err := boundary.NewBoundaryScope(ctx, "org", &boundary.BoundaryScopeArgs{
			Description:           pulumi.String("global scope"),
			ScopeId:               pulumi.String("global"),
			AutoCreateAdminRole:   pulumi.Bool(true),
			AutoCreateDefaultRole: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		project, err := boundary.NewBoundaryScope(ctx, "project", &boundary.BoundaryScopeArgs{
			Description:         pulumi.String("My first scope!"),
			ScopeId:             org.ID(),
			AutoCreateAdminRole: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		exampleBoundaryCredentialStoreStatic, err := boundary.NewBoundaryCredentialStoreStatic(ctx, "exampleBoundaryCredentialStoreStatic", &boundary.BoundaryCredentialStoreStaticArgs{
			Description: pulumi.String("My first static credential store!"),
			ScopeId:     project.ID(),
		})
		if err != nil {
			return err
		}
		_, err = boundary.NewBoundaryCredentialSshPrivateKey(ctx, "exampleBoundaryCredentialSshPrivateKey", &boundary.BoundaryCredentialSshPrivateKeyArgs{
			Description:          pulumi.String("My first ssh private key credential!"),
			CredentialStoreId:    exampleBoundaryCredentialStoreStatic.ID(),
			Username:             pulumi.String("my-username"),
			PrivateKey:           readFileOrPanic("~/.ssh/id_rsa"),
			PrivateKeyPassphrase: pulumi.String("optional-passphrase"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import boundary:index/boundaryCredentialSshPrivateKey:BoundaryCredentialSshPrivateKey example_ssh_private_key <my-id>

```

func GetBoundaryCredentialSshPrivateKey

func GetBoundaryCredentialSshPrivateKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BoundaryCredentialSshPrivateKeyState, opts ...pulumi.ResourceOption) (*BoundaryCredentialSshPrivateKey, error)

GetBoundaryCredentialSshPrivateKey gets an existing BoundaryCredentialSshPrivateKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBoundaryCredentialSshPrivateKey

func NewBoundaryCredentialSshPrivateKey(ctx *pulumi.Context,
	name string, args *BoundaryCredentialSshPrivateKeyArgs, opts ...pulumi.ResourceOption) (*BoundaryCredentialSshPrivateKey, error)

NewBoundaryCredentialSshPrivateKey registers a new resource with the given unique name, arguments, and options.

func (*BoundaryCredentialSshPrivateKey) ElementType

func (*BoundaryCredentialSshPrivateKey) ToBoundaryCredentialSshPrivateKeyOutput

func (i *BoundaryCredentialSshPrivateKey) ToBoundaryCredentialSshPrivateKeyOutput() BoundaryCredentialSshPrivateKeyOutput

func (*BoundaryCredentialSshPrivateKey) ToBoundaryCredentialSshPrivateKeyOutputWithContext

func (i *BoundaryCredentialSshPrivateKey) ToBoundaryCredentialSshPrivateKeyOutputWithContext(ctx context.Context) BoundaryCredentialSshPrivateKeyOutput

type BoundaryCredentialSshPrivateKeyArgs

type BoundaryCredentialSshPrivateKeyArgs struct {
	// ID of the credential store this credential belongs to.
	CredentialStoreId pulumi.StringInput
	// The description of the credential.
	Description pulumi.StringPtrInput
	// The name of the credential. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The private key associated with the credential.
	PrivateKey pulumi.StringInput
	// The passphrase of the private key associated with the credential.
	PrivateKeyPassphrase pulumi.StringPtrInput
	// The username associated with the credential.
	Username pulumi.StringInput
}

The set of arguments for constructing a BoundaryCredentialSshPrivateKey resource.

func (BoundaryCredentialSshPrivateKeyArgs) ElementType

type BoundaryCredentialSshPrivateKeyArray

type BoundaryCredentialSshPrivateKeyArray []BoundaryCredentialSshPrivateKeyInput

func (BoundaryCredentialSshPrivateKeyArray) ElementType

func (BoundaryCredentialSshPrivateKeyArray) ToBoundaryCredentialSshPrivateKeyArrayOutput

func (i BoundaryCredentialSshPrivateKeyArray) ToBoundaryCredentialSshPrivateKeyArrayOutput() BoundaryCredentialSshPrivateKeyArrayOutput

func (BoundaryCredentialSshPrivateKeyArray) ToBoundaryCredentialSshPrivateKeyArrayOutputWithContext

func (i BoundaryCredentialSshPrivateKeyArray) ToBoundaryCredentialSshPrivateKeyArrayOutputWithContext(ctx context.Context) BoundaryCredentialSshPrivateKeyArrayOutput

type BoundaryCredentialSshPrivateKeyArrayInput

type BoundaryCredentialSshPrivateKeyArrayInput interface {
	pulumi.Input

	ToBoundaryCredentialSshPrivateKeyArrayOutput() BoundaryCredentialSshPrivateKeyArrayOutput
	ToBoundaryCredentialSshPrivateKeyArrayOutputWithContext(context.Context) BoundaryCredentialSshPrivateKeyArrayOutput
}

BoundaryCredentialSshPrivateKeyArrayInput is an input type that accepts BoundaryCredentialSshPrivateKeyArray and BoundaryCredentialSshPrivateKeyArrayOutput values. You can construct a concrete instance of `BoundaryCredentialSshPrivateKeyArrayInput` via:

BoundaryCredentialSshPrivateKeyArray{ BoundaryCredentialSshPrivateKeyArgs{...} }

type BoundaryCredentialSshPrivateKeyArrayOutput

type BoundaryCredentialSshPrivateKeyArrayOutput struct{ *pulumi.OutputState }

func (BoundaryCredentialSshPrivateKeyArrayOutput) ElementType

func (BoundaryCredentialSshPrivateKeyArrayOutput) Index

func (BoundaryCredentialSshPrivateKeyArrayOutput) ToBoundaryCredentialSshPrivateKeyArrayOutput

func (o BoundaryCredentialSshPrivateKeyArrayOutput) ToBoundaryCredentialSshPrivateKeyArrayOutput() BoundaryCredentialSshPrivateKeyArrayOutput

func (BoundaryCredentialSshPrivateKeyArrayOutput) ToBoundaryCredentialSshPrivateKeyArrayOutputWithContext

func (o BoundaryCredentialSshPrivateKeyArrayOutput) ToBoundaryCredentialSshPrivateKeyArrayOutputWithContext(ctx context.Context) BoundaryCredentialSshPrivateKeyArrayOutput

type BoundaryCredentialSshPrivateKeyInput

type BoundaryCredentialSshPrivateKeyInput interface {
	pulumi.Input

	ToBoundaryCredentialSshPrivateKeyOutput() BoundaryCredentialSshPrivateKeyOutput
	ToBoundaryCredentialSshPrivateKeyOutputWithContext(ctx context.Context) BoundaryCredentialSshPrivateKeyOutput
}

type BoundaryCredentialSshPrivateKeyMap

type BoundaryCredentialSshPrivateKeyMap map[string]BoundaryCredentialSshPrivateKeyInput

func (BoundaryCredentialSshPrivateKeyMap) ElementType

func (BoundaryCredentialSshPrivateKeyMap) ToBoundaryCredentialSshPrivateKeyMapOutput

func (i BoundaryCredentialSshPrivateKeyMap) ToBoundaryCredentialSshPrivateKeyMapOutput() BoundaryCredentialSshPrivateKeyMapOutput

func (BoundaryCredentialSshPrivateKeyMap) ToBoundaryCredentialSshPrivateKeyMapOutputWithContext

func (i BoundaryCredentialSshPrivateKeyMap) ToBoundaryCredentialSshPrivateKeyMapOutputWithContext(ctx context.Context) BoundaryCredentialSshPrivateKeyMapOutput

type BoundaryCredentialSshPrivateKeyMapInput

type BoundaryCredentialSshPrivateKeyMapInput interface {
	pulumi.Input

	ToBoundaryCredentialSshPrivateKeyMapOutput() BoundaryCredentialSshPrivateKeyMapOutput
	ToBoundaryCredentialSshPrivateKeyMapOutputWithContext(context.Context) BoundaryCredentialSshPrivateKeyMapOutput
}

BoundaryCredentialSshPrivateKeyMapInput is an input type that accepts BoundaryCredentialSshPrivateKeyMap and BoundaryCredentialSshPrivateKeyMapOutput values. You can construct a concrete instance of `BoundaryCredentialSshPrivateKeyMapInput` via:

BoundaryCredentialSshPrivateKeyMap{ "key": BoundaryCredentialSshPrivateKeyArgs{...} }

type BoundaryCredentialSshPrivateKeyMapOutput

type BoundaryCredentialSshPrivateKeyMapOutput struct{ *pulumi.OutputState }

func (BoundaryCredentialSshPrivateKeyMapOutput) ElementType

func (BoundaryCredentialSshPrivateKeyMapOutput) MapIndex

func (BoundaryCredentialSshPrivateKeyMapOutput) ToBoundaryCredentialSshPrivateKeyMapOutput

func (o BoundaryCredentialSshPrivateKeyMapOutput) ToBoundaryCredentialSshPrivateKeyMapOutput() BoundaryCredentialSshPrivateKeyMapOutput

func (BoundaryCredentialSshPrivateKeyMapOutput) ToBoundaryCredentialSshPrivateKeyMapOutputWithContext

func (o BoundaryCredentialSshPrivateKeyMapOutput) ToBoundaryCredentialSshPrivateKeyMapOutputWithContext(ctx context.Context) BoundaryCredentialSshPrivateKeyMapOutput

type BoundaryCredentialSshPrivateKeyOutput

type BoundaryCredentialSshPrivateKeyOutput struct{ *pulumi.OutputState }

func (BoundaryCredentialSshPrivateKeyOutput) CredentialStoreId

ID of the credential store this credential belongs to.

func (BoundaryCredentialSshPrivateKeyOutput) Description

The description of the credential.

func (BoundaryCredentialSshPrivateKeyOutput) ElementType

func (BoundaryCredentialSshPrivateKeyOutput) Name

The name of the credential. Defaults to the resource name.

func (BoundaryCredentialSshPrivateKeyOutput) PrivateKey

The private key associated with the credential.

func (BoundaryCredentialSshPrivateKeyOutput) PrivateKeyHmac

The private key hmac.

func (BoundaryCredentialSshPrivateKeyOutput) PrivateKeyPassphrase

The passphrase of the private key associated with the credential.

func (BoundaryCredentialSshPrivateKeyOutput) PrivateKeyPassphraseHmac

func (o BoundaryCredentialSshPrivateKeyOutput) PrivateKeyPassphraseHmac() pulumi.StringOutput

The private key passphrase hmac.

func (BoundaryCredentialSshPrivateKeyOutput) ToBoundaryCredentialSshPrivateKeyOutput

func (o BoundaryCredentialSshPrivateKeyOutput) ToBoundaryCredentialSshPrivateKeyOutput() BoundaryCredentialSshPrivateKeyOutput

func (BoundaryCredentialSshPrivateKeyOutput) ToBoundaryCredentialSshPrivateKeyOutputWithContext

func (o BoundaryCredentialSshPrivateKeyOutput) ToBoundaryCredentialSshPrivateKeyOutputWithContext(ctx context.Context) BoundaryCredentialSshPrivateKeyOutput

func (BoundaryCredentialSshPrivateKeyOutput) Username

The username associated with the credential.

type BoundaryCredentialSshPrivateKeyState

type BoundaryCredentialSshPrivateKeyState struct {
	// ID of the credential store this credential belongs to.
	CredentialStoreId pulumi.StringPtrInput
	// The description of the credential.
	Description pulumi.StringPtrInput
	// The name of the credential. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The private key associated with the credential.
	PrivateKey pulumi.StringPtrInput
	// The private key hmac.
	PrivateKeyHmac pulumi.StringPtrInput
	// The passphrase of the private key associated with the credential.
	PrivateKeyPassphrase pulumi.StringPtrInput
	// The private key passphrase hmac.
	PrivateKeyPassphraseHmac pulumi.StringPtrInput
	// The username associated with the credential.
	Username pulumi.StringPtrInput
}

func (BoundaryCredentialSshPrivateKeyState) ElementType

type BoundaryCredentialStoreStatic

type BoundaryCredentialStoreStatic struct {
	pulumi.CustomResourceState

	// The static credential store description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The static credential store name. Defaults to the resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The scope for this credential store.
	ScopeId pulumi.StringOutput `pulumi:"scopeId"`
}

The static credential store resource allows you to configure a Boundary static credential store.

## Example Usage

```go package main

import (

"github.com/katasec/pulumi-boundary/sdk/go/boundary"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		org, err := boundary.NewBoundaryScope(ctx, "org", &boundary.BoundaryScopeArgs{
			Description:           pulumi.String("global scope"),
			ScopeId:               pulumi.String("global"),
			AutoCreateAdminRole:   pulumi.Bool(true),
			AutoCreateDefaultRole: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		project, err := boundary.NewBoundaryScope(ctx, "project", &boundary.BoundaryScopeArgs{
			Description:         pulumi.String("My first scope!"),
			ScopeId:             org.ID(),
			AutoCreateAdminRole: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = boundary.NewBoundaryCredentialStoreStatic(ctx, "example", &boundary.BoundaryCredentialStoreStaticArgs{
			Description: pulumi.String("My first static credential store!"),
			ScopeId:     project.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import boundary:index/boundaryCredentialStoreStatic:BoundaryCredentialStoreStatic example_static_credential_store <my-id>

```

func GetBoundaryCredentialStoreStatic

func GetBoundaryCredentialStoreStatic(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BoundaryCredentialStoreStaticState, opts ...pulumi.ResourceOption) (*BoundaryCredentialStoreStatic, error)

GetBoundaryCredentialStoreStatic gets an existing BoundaryCredentialStoreStatic resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBoundaryCredentialStoreStatic

func NewBoundaryCredentialStoreStatic(ctx *pulumi.Context,
	name string, args *BoundaryCredentialStoreStaticArgs, opts ...pulumi.ResourceOption) (*BoundaryCredentialStoreStatic, error)

NewBoundaryCredentialStoreStatic registers a new resource with the given unique name, arguments, and options.

func (*BoundaryCredentialStoreStatic) ElementType

func (*BoundaryCredentialStoreStatic) ToBoundaryCredentialStoreStaticOutput

func (i *BoundaryCredentialStoreStatic) ToBoundaryCredentialStoreStaticOutput() BoundaryCredentialStoreStaticOutput

func (*BoundaryCredentialStoreStatic) ToBoundaryCredentialStoreStaticOutputWithContext

func (i *BoundaryCredentialStoreStatic) ToBoundaryCredentialStoreStaticOutputWithContext(ctx context.Context) BoundaryCredentialStoreStaticOutput

type BoundaryCredentialStoreStaticArgs

type BoundaryCredentialStoreStaticArgs struct {
	// The static credential store description.
	Description pulumi.StringPtrInput
	// The static credential store name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The scope for this credential store.
	ScopeId pulumi.StringInput
}

The set of arguments for constructing a BoundaryCredentialStoreStatic resource.

func (BoundaryCredentialStoreStaticArgs) ElementType

type BoundaryCredentialStoreStaticArray

type BoundaryCredentialStoreStaticArray []BoundaryCredentialStoreStaticInput

func (BoundaryCredentialStoreStaticArray) ElementType

func (BoundaryCredentialStoreStaticArray) ToBoundaryCredentialStoreStaticArrayOutput

func (i BoundaryCredentialStoreStaticArray) ToBoundaryCredentialStoreStaticArrayOutput() BoundaryCredentialStoreStaticArrayOutput

func (BoundaryCredentialStoreStaticArray) ToBoundaryCredentialStoreStaticArrayOutputWithContext

func (i BoundaryCredentialStoreStaticArray) ToBoundaryCredentialStoreStaticArrayOutputWithContext(ctx context.Context) BoundaryCredentialStoreStaticArrayOutput

type BoundaryCredentialStoreStaticArrayInput

type BoundaryCredentialStoreStaticArrayInput interface {
	pulumi.Input

	ToBoundaryCredentialStoreStaticArrayOutput() BoundaryCredentialStoreStaticArrayOutput
	ToBoundaryCredentialStoreStaticArrayOutputWithContext(context.Context) BoundaryCredentialStoreStaticArrayOutput
}

BoundaryCredentialStoreStaticArrayInput is an input type that accepts BoundaryCredentialStoreStaticArray and BoundaryCredentialStoreStaticArrayOutput values. You can construct a concrete instance of `BoundaryCredentialStoreStaticArrayInput` via:

BoundaryCredentialStoreStaticArray{ BoundaryCredentialStoreStaticArgs{...} }

type BoundaryCredentialStoreStaticArrayOutput

type BoundaryCredentialStoreStaticArrayOutput struct{ *pulumi.OutputState }

func (BoundaryCredentialStoreStaticArrayOutput) ElementType

func (BoundaryCredentialStoreStaticArrayOutput) Index

func (BoundaryCredentialStoreStaticArrayOutput) ToBoundaryCredentialStoreStaticArrayOutput

func (o BoundaryCredentialStoreStaticArrayOutput) ToBoundaryCredentialStoreStaticArrayOutput() BoundaryCredentialStoreStaticArrayOutput

func (BoundaryCredentialStoreStaticArrayOutput) ToBoundaryCredentialStoreStaticArrayOutputWithContext

func (o BoundaryCredentialStoreStaticArrayOutput) ToBoundaryCredentialStoreStaticArrayOutputWithContext(ctx context.Context) BoundaryCredentialStoreStaticArrayOutput

type BoundaryCredentialStoreStaticInput

type BoundaryCredentialStoreStaticInput interface {
	pulumi.Input

	ToBoundaryCredentialStoreStaticOutput() BoundaryCredentialStoreStaticOutput
	ToBoundaryCredentialStoreStaticOutputWithContext(ctx context.Context) BoundaryCredentialStoreStaticOutput
}

type BoundaryCredentialStoreStaticMap

type BoundaryCredentialStoreStaticMap map[string]BoundaryCredentialStoreStaticInput

func (BoundaryCredentialStoreStaticMap) ElementType

func (BoundaryCredentialStoreStaticMap) ToBoundaryCredentialStoreStaticMapOutput

func (i BoundaryCredentialStoreStaticMap) ToBoundaryCredentialStoreStaticMapOutput() BoundaryCredentialStoreStaticMapOutput

func (BoundaryCredentialStoreStaticMap) ToBoundaryCredentialStoreStaticMapOutputWithContext

func (i BoundaryCredentialStoreStaticMap) ToBoundaryCredentialStoreStaticMapOutputWithContext(ctx context.Context) BoundaryCredentialStoreStaticMapOutput

type BoundaryCredentialStoreStaticMapInput

type BoundaryCredentialStoreStaticMapInput interface {
	pulumi.Input

	ToBoundaryCredentialStoreStaticMapOutput() BoundaryCredentialStoreStaticMapOutput
	ToBoundaryCredentialStoreStaticMapOutputWithContext(context.Context) BoundaryCredentialStoreStaticMapOutput
}

BoundaryCredentialStoreStaticMapInput is an input type that accepts BoundaryCredentialStoreStaticMap and BoundaryCredentialStoreStaticMapOutput values. You can construct a concrete instance of `BoundaryCredentialStoreStaticMapInput` via:

BoundaryCredentialStoreStaticMap{ "key": BoundaryCredentialStoreStaticArgs{...} }

type BoundaryCredentialStoreStaticMapOutput

type BoundaryCredentialStoreStaticMapOutput struct{ *pulumi.OutputState }

func (BoundaryCredentialStoreStaticMapOutput) ElementType

func (BoundaryCredentialStoreStaticMapOutput) MapIndex

func (BoundaryCredentialStoreStaticMapOutput) ToBoundaryCredentialStoreStaticMapOutput

func (o BoundaryCredentialStoreStaticMapOutput) ToBoundaryCredentialStoreStaticMapOutput() BoundaryCredentialStoreStaticMapOutput

func (BoundaryCredentialStoreStaticMapOutput) ToBoundaryCredentialStoreStaticMapOutputWithContext

func (o BoundaryCredentialStoreStaticMapOutput) ToBoundaryCredentialStoreStaticMapOutputWithContext(ctx context.Context) BoundaryCredentialStoreStaticMapOutput

type BoundaryCredentialStoreStaticOutput

type BoundaryCredentialStoreStaticOutput struct{ *pulumi.OutputState }

func (BoundaryCredentialStoreStaticOutput) Description

The static credential store description.

func (BoundaryCredentialStoreStaticOutput) ElementType

func (BoundaryCredentialStoreStaticOutput) Name

The static credential store name. Defaults to the resource name.

func (BoundaryCredentialStoreStaticOutput) ScopeId

The scope for this credential store.

func (BoundaryCredentialStoreStaticOutput) ToBoundaryCredentialStoreStaticOutput

func (o BoundaryCredentialStoreStaticOutput) ToBoundaryCredentialStoreStaticOutput() BoundaryCredentialStoreStaticOutput

func (BoundaryCredentialStoreStaticOutput) ToBoundaryCredentialStoreStaticOutputWithContext

func (o BoundaryCredentialStoreStaticOutput) ToBoundaryCredentialStoreStaticOutputWithContext(ctx context.Context) BoundaryCredentialStoreStaticOutput

type BoundaryCredentialStoreStaticState

type BoundaryCredentialStoreStaticState struct {
	// The static credential store description.
	Description pulumi.StringPtrInput
	// The static credential store name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The scope for this credential store.
	ScopeId pulumi.StringPtrInput
}

func (BoundaryCredentialStoreStaticState) ElementType

type BoundaryCredentialStoreVault

type BoundaryCredentialStoreVault struct {
	pulumi.CustomResourceState

	// The address to Vault server. This should be a complete URL such as 'https://127.0.0.1:8200'
	Address pulumi.StringOutput `pulumi:"address"`
	// A PEM-encoded CA certificate to verify the Vault server's TLS certificate.
	CaCert pulumi.StringPtrOutput `pulumi:"caCert"`
	// A PEM-encoded client certificate to use for TLS authentication to the Vault server.
	ClientCertificate pulumi.StringPtrOutput `pulumi:"clientCertificate"`
	// A PEM-encoded private key matching the client certificate from 'client_certificate'.
	ClientCertificateKey pulumi.StringPtrOutput `pulumi:"clientCertificateKey"`
	// The Vault client certificate key hmac.
	ClientCertificateKeyHmac pulumi.StringOutput `pulumi:"clientCertificateKeyHmac"`
	// The Vault credential store description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The Vault credential store name. Defaults to the resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The namespace within Vault to use.
	Namespace pulumi.StringPtrOutput `pulumi:"namespace"`
	// The scope for this credential store.
	ScopeId pulumi.StringOutput `pulumi:"scopeId"`
	// Name to use as the SNI host when connecting to Vault via TLS.
	TlsServerName pulumi.StringPtrOutput `pulumi:"tlsServerName"`
	// Whether or not to skip TLS verification.
	TlsSkipVerify pulumi.BoolPtrOutput `pulumi:"tlsSkipVerify"`
	// A token used for accessing Vault.
	Token pulumi.StringOutput `pulumi:"token"`
	// The Vault token hmac.
	TokenHmac pulumi.StringOutput `pulumi:"tokenHmac"`
}

The credential store for Vault resource allows you to configure a Boundary credential store for Vault.

## Example Usage

```go package main

import (

"github.com/katasec/pulumi-boundary/sdk/go/boundary"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		org, err := boundary.NewBoundaryScope(ctx, "org", &boundary.BoundaryScopeArgs{
			Description:           pulumi.String("My first scope!"),
			ScopeId:               pulumi.String("global"),
			AutoCreateAdminRole:   pulumi.Bool(true),
			AutoCreateDefaultRole: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		project, err := boundary.NewBoundaryScope(ctx, "project", &boundary.BoundaryScopeArgs{
			Description:         pulumi.String("My first scope!"),
			ScopeId:             org.ID(),
			AutoCreateAdminRole: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = boundary.NewBoundaryCredentialStoreVault(ctx, "example", &boundary.BoundaryCredentialStoreVaultArgs{
			Description: pulumi.String("My first Vault credential store!"),
			Address:     pulumi.String("http://127.0.0.1:8200"),
			Token:       pulumi.String("s.0ufRo6XEGU2jOqnIr7OlFYP5"),
			ScopeId:     project.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import boundary:index/boundaryCredentialStoreVault:BoundaryCredentialStoreVault foo <my-id>

```

func GetBoundaryCredentialStoreVault

func GetBoundaryCredentialStoreVault(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BoundaryCredentialStoreVaultState, opts ...pulumi.ResourceOption) (*BoundaryCredentialStoreVault, error)

GetBoundaryCredentialStoreVault gets an existing BoundaryCredentialStoreVault resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBoundaryCredentialStoreVault

func NewBoundaryCredentialStoreVault(ctx *pulumi.Context,
	name string, args *BoundaryCredentialStoreVaultArgs, opts ...pulumi.ResourceOption) (*BoundaryCredentialStoreVault, error)

NewBoundaryCredentialStoreVault registers a new resource with the given unique name, arguments, and options.

func (*BoundaryCredentialStoreVault) ElementType

func (*BoundaryCredentialStoreVault) ElementType() reflect.Type

func (*BoundaryCredentialStoreVault) ToBoundaryCredentialStoreVaultOutput

func (i *BoundaryCredentialStoreVault) ToBoundaryCredentialStoreVaultOutput() BoundaryCredentialStoreVaultOutput

func (*BoundaryCredentialStoreVault) ToBoundaryCredentialStoreVaultOutputWithContext

func (i *BoundaryCredentialStoreVault) ToBoundaryCredentialStoreVaultOutputWithContext(ctx context.Context) BoundaryCredentialStoreVaultOutput

type BoundaryCredentialStoreVaultArgs

type BoundaryCredentialStoreVaultArgs struct {
	// The address to Vault server. This should be a complete URL such as 'https://127.0.0.1:8200'
	Address pulumi.StringInput
	// A PEM-encoded CA certificate to verify the Vault server's TLS certificate.
	CaCert pulumi.StringPtrInput
	// A PEM-encoded client certificate to use for TLS authentication to the Vault server.
	ClientCertificate pulumi.StringPtrInput
	// A PEM-encoded private key matching the client certificate from 'client_certificate'.
	ClientCertificateKey pulumi.StringPtrInput
	// The Vault credential store description.
	Description pulumi.StringPtrInput
	// The Vault credential store name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The namespace within Vault to use.
	Namespace pulumi.StringPtrInput
	// The scope for this credential store.
	ScopeId pulumi.StringInput
	// Name to use as the SNI host when connecting to Vault via TLS.
	TlsServerName pulumi.StringPtrInput
	// Whether or not to skip TLS verification.
	TlsSkipVerify pulumi.BoolPtrInput
	// A token used for accessing Vault.
	Token pulumi.StringInput
}

The set of arguments for constructing a BoundaryCredentialStoreVault resource.

func (BoundaryCredentialStoreVaultArgs) ElementType

type BoundaryCredentialStoreVaultArray

type BoundaryCredentialStoreVaultArray []BoundaryCredentialStoreVaultInput

func (BoundaryCredentialStoreVaultArray) ElementType

func (BoundaryCredentialStoreVaultArray) ToBoundaryCredentialStoreVaultArrayOutput

func (i BoundaryCredentialStoreVaultArray) ToBoundaryCredentialStoreVaultArrayOutput() BoundaryCredentialStoreVaultArrayOutput

func (BoundaryCredentialStoreVaultArray) ToBoundaryCredentialStoreVaultArrayOutputWithContext

func (i BoundaryCredentialStoreVaultArray) ToBoundaryCredentialStoreVaultArrayOutputWithContext(ctx context.Context) BoundaryCredentialStoreVaultArrayOutput

type BoundaryCredentialStoreVaultArrayInput

type BoundaryCredentialStoreVaultArrayInput interface {
	pulumi.Input

	ToBoundaryCredentialStoreVaultArrayOutput() BoundaryCredentialStoreVaultArrayOutput
	ToBoundaryCredentialStoreVaultArrayOutputWithContext(context.Context) BoundaryCredentialStoreVaultArrayOutput
}

BoundaryCredentialStoreVaultArrayInput is an input type that accepts BoundaryCredentialStoreVaultArray and BoundaryCredentialStoreVaultArrayOutput values. You can construct a concrete instance of `BoundaryCredentialStoreVaultArrayInput` via:

BoundaryCredentialStoreVaultArray{ BoundaryCredentialStoreVaultArgs{...} }

type BoundaryCredentialStoreVaultArrayOutput

type BoundaryCredentialStoreVaultArrayOutput struct{ *pulumi.OutputState }

func (BoundaryCredentialStoreVaultArrayOutput) ElementType

func (BoundaryCredentialStoreVaultArrayOutput) Index

func (BoundaryCredentialStoreVaultArrayOutput) ToBoundaryCredentialStoreVaultArrayOutput

func (o BoundaryCredentialStoreVaultArrayOutput) ToBoundaryCredentialStoreVaultArrayOutput() BoundaryCredentialStoreVaultArrayOutput

func (BoundaryCredentialStoreVaultArrayOutput) ToBoundaryCredentialStoreVaultArrayOutputWithContext

func (o BoundaryCredentialStoreVaultArrayOutput) ToBoundaryCredentialStoreVaultArrayOutputWithContext(ctx context.Context) BoundaryCredentialStoreVaultArrayOutput

type BoundaryCredentialStoreVaultInput

type BoundaryCredentialStoreVaultInput interface {
	pulumi.Input

	ToBoundaryCredentialStoreVaultOutput() BoundaryCredentialStoreVaultOutput
	ToBoundaryCredentialStoreVaultOutputWithContext(ctx context.Context) BoundaryCredentialStoreVaultOutput
}

type BoundaryCredentialStoreVaultMap

type BoundaryCredentialStoreVaultMap map[string]BoundaryCredentialStoreVaultInput

func (BoundaryCredentialStoreVaultMap) ElementType

func (BoundaryCredentialStoreVaultMap) ToBoundaryCredentialStoreVaultMapOutput

func (i BoundaryCredentialStoreVaultMap) ToBoundaryCredentialStoreVaultMapOutput() BoundaryCredentialStoreVaultMapOutput

func (BoundaryCredentialStoreVaultMap) ToBoundaryCredentialStoreVaultMapOutputWithContext

func (i BoundaryCredentialStoreVaultMap) ToBoundaryCredentialStoreVaultMapOutputWithContext(ctx context.Context) BoundaryCredentialStoreVaultMapOutput

type BoundaryCredentialStoreVaultMapInput

type BoundaryCredentialStoreVaultMapInput interface {
	pulumi.Input

	ToBoundaryCredentialStoreVaultMapOutput() BoundaryCredentialStoreVaultMapOutput
	ToBoundaryCredentialStoreVaultMapOutputWithContext(context.Context) BoundaryCredentialStoreVaultMapOutput
}

BoundaryCredentialStoreVaultMapInput is an input type that accepts BoundaryCredentialStoreVaultMap and BoundaryCredentialStoreVaultMapOutput values. You can construct a concrete instance of `BoundaryCredentialStoreVaultMapInput` via:

BoundaryCredentialStoreVaultMap{ "key": BoundaryCredentialStoreVaultArgs{...} }

type BoundaryCredentialStoreVaultMapOutput

type BoundaryCredentialStoreVaultMapOutput struct{ *pulumi.OutputState }

func (BoundaryCredentialStoreVaultMapOutput) ElementType

func (BoundaryCredentialStoreVaultMapOutput) MapIndex

func (BoundaryCredentialStoreVaultMapOutput) ToBoundaryCredentialStoreVaultMapOutput

func (o BoundaryCredentialStoreVaultMapOutput) ToBoundaryCredentialStoreVaultMapOutput() BoundaryCredentialStoreVaultMapOutput

func (BoundaryCredentialStoreVaultMapOutput) ToBoundaryCredentialStoreVaultMapOutputWithContext

func (o BoundaryCredentialStoreVaultMapOutput) ToBoundaryCredentialStoreVaultMapOutputWithContext(ctx context.Context) BoundaryCredentialStoreVaultMapOutput

type BoundaryCredentialStoreVaultOutput

type BoundaryCredentialStoreVaultOutput struct{ *pulumi.OutputState }

func (BoundaryCredentialStoreVaultOutput) Address

The address to Vault server. This should be a complete URL such as 'https://127.0.0.1:8200'

func (BoundaryCredentialStoreVaultOutput) CaCert

A PEM-encoded CA certificate to verify the Vault server's TLS certificate.

func (BoundaryCredentialStoreVaultOutput) ClientCertificate

A PEM-encoded client certificate to use for TLS authentication to the Vault server.

func (BoundaryCredentialStoreVaultOutput) ClientCertificateKey

A PEM-encoded private key matching the client certificate from 'client_certificate'.

func (BoundaryCredentialStoreVaultOutput) ClientCertificateKeyHmac

func (o BoundaryCredentialStoreVaultOutput) ClientCertificateKeyHmac() pulumi.StringOutput

The Vault client certificate key hmac.

func (BoundaryCredentialStoreVaultOutput) Description

The Vault credential store description.

func (BoundaryCredentialStoreVaultOutput) ElementType

func (BoundaryCredentialStoreVaultOutput) Name

The Vault credential store name. Defaults to the resource name.

func (BoundaryCredentialStoreVaultOutput) Namespace

The namespace within Vault to use.

func (BoundaryCredentialStoreVaultOutput) ScopeId

The scope for this credential store.

func (BoundaryCredentialStoreVaultOutput) TlsServerName

Name to use as the SNI host when connecting to Vault via TLS.

func (BoundaryCredentialStoreVaultOutput) TlsSkipVerify

Whether or not to skip TLS verification.

func (BoundaryCredentialStoreVaultOutput) ToBoundaryCredentialStoreVaultOutput

func (o BoundaryCredentialStoreVaultOutput) ToBoundaryCredentialStoreVaultOutput() BoundaryCredentialStoreVaultOutput

func (BoundaryCredentialStoreVaultOutput) ToBoundaryCredentialStoreVaultOutputWithContext

func (o BoundaryCredentialStoreVaultOutput) ToBoundaryCredentialStoreVaultOutputWithContext(ctx context.Context) BoundaryCredentialStoreVaultOutput

func (BoundaryCredentialStoreVaultOutput) Token

A token used for accessing Vault.

func (BoundaryCredentialStoreVaultOutput) TokenHmac

The Vault token hmac.

type BoundaryCredentialStoreVaultState

type BoundaryCredentialStoreVaultState struct {
	// The address to Vault server. This should be a complete URL such as 'https://127.0.0.1:8200'
	Address pulumi.StringPtrInput
	// A PEM-encoded CA certificate to verify the Vault server's TLS certificate.
	CaCert pulumi.StringPtrInput
	// A PEM-encoded client certificate to use for TLS authentication to the Vault server.
	ClientCertificate pulumi.StringPtrInput
	// A PEM-encoded private key matching the client certificate from 'client_certificate'.
	ClientCertificateKey pulumi.StringPtrInput
	// The Vault client certificate key hmac.
	ClientCertificateKeyHmac pulumi.StringPtrInput
	// The Vault credential store description.
	Description pulumi.StringPtrInput
	// The Vault credential store name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The namespace within Vault to use.
	Namespace pulumi.StringPtrInput
	// The scope for this credential store.
	ScopeId pulumi.StringPtrInput
	// Name to use as the SNI host when connecting to Vault via TLS.
	TlsServerName pulumi.StringPtrInput
	// Whether or not to skip TLS verification.
	TlsSkipVerify pulumi.BoolPtrInput
	// A token used for accessing Vault.
	Token pulumi.StringPtrInput
	// The Vault token hmac.
	TokenHmac pulumi.StringPtrInput
}

func (BoundaryCredentialStoreVaultState) ElementType

type BoundaryCredentialUserName

type BoundaryCredentialUserName struct {
	pulumi.CustomResourceState

	// The credential store in which to save this username/password credential.
	CredentialStoreId pulumi.StringOutput `pulumi:"credentialStoreId"`
	// The description of this username/password credential.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of this username/password credential. Defaults to the resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The password of this username/password credential.
	Password pulumi.StringOutput `pulumi:"password"`
	// The password hmac.
	PasswordHmac pulumi.StringOutput `pulumi:"passwordHmac"`
	// The username of this username/password credential.
	Username pulumi.StringOutput `pulumi:"username"`
}

The username/password credential resource allows you to configure a credential using a username and password pair.

## Example Usage

```go package main

import (

"github.com/katasec/pulumi-boundary/sdk/go/boundary"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		org, err := boundary.NewBoundaryScope(ctx, "org", &boundary.BoundaryScopeArgs{
			Description:           pulumi.String("global scope"),
			ScopeId:               pulumi.String("global"),
			AutoCreateAdminRole:   pulumi.Bool(true),
			AutoCreateDefaultRole: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		project, err := boundary.NewBoundaryScope(ctx, "project", &boundary.BoundaryScopeArgs{
			Description:         pulumi.String("My first scope!"),
			ScopeId:             org.ID(),
			AutoCreateAdminRole: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		exampleBoundaryCredentialStoreStatic, err := boundary.NewBoundaryCredentialStoreStatic(ctx, "exampleBoundaryCredentialStoreStatic", &boundary.BoundaryCredentialStoreStaticArgs{
			Description: pulumi.String("My first static credential store!"),
			ScopeId:     project.ID(),
		})
		if err != nil {
			return err
		}
		_, err = boundary.NewBoundaryCredentialUserName(ctx, "exampleBoundaryCredentialUserName", &boundary.BoundaryCredentialUserNameArgs{
			Description:       pulumi.String("My first username password credential!"),
			CredentialStoreId: exampleBoundaryCredentialStoreStatic.ID(),
			Username:          pulumi.String("my-username"),
			Password:          pulumi.String("my-password"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import boundary:index/boundaryCredentialUserName:BoundaryCredentialUserName example_username_password <my-id>

```

func GetBoundaryCredentialUserName

func GetBoundaryCredentialUserName(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BoundaryCredentialUserNameState, opts ...pulumi.ResourceOption) (*BoundaryCredentialUserName, error)

GetBoundaryCredentialUserName gets an existing BoundaryCredentialUserName resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBoundaryCredentialUserName

func NewBoundaryCredentialUserName(ctx *pulumi.Context,
	name string, args *BoundaryCredentialUserNameArgs, opts ...pulumi.ResourceOption) (*BoundaryCredentialUserName, error)

NewBoundaryCredentialUserName registers a new resource with the given unique name, arguments, and options.

func (*BoundaryCredentialUserName) ElementType

func (*BoundaryCredentialUserName) ElementType() reflect.Type

func (*BoundaryCredentialUserName) ToBoundaryCredentialUserNameOutput

func (i *BoundaryCredentialUserName) ToBoundaryCredentialUserNameOutput() BoundaryCredentialUserNameOutput

func (*BoundaryCredentialUserName) ToBoundaryCredentialUserNameOutputWithContext

func (i *BoundaryCredentialUserName) ToBoundaryCredentialUserNameOutputWithContext(ctx context.Context) BoundaryCredentialUserNameOutput

type BoundaryCredentialUserNameArgs

type BoundaryCredentialUserNameArgs struct {
	// The credential store in which to save this username/password credential.
	CredentialStoreId pulumi.StringInput
	// The description of this username/password credential.
	Description pulumi.StringPtrInput
	// The name of this username/password credential. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The password of this username/password credential.
	Password pulumi.StringInput
	// The username of this username/password credential.
	Username pulumi.StringInput
}

The set of arguments for constructing a BoundaryCredentialUserName resource.

func (BoundaryCredentialUserNameArgs) ElementType

type BoundaryCredentialUserNameArray

type BoundaryCredentialUserNameArray []BoundaryCredentialUserNameInput

func (BoundaryCredentialUserNameArray) ElementType

func (BoundaryCredentialUserNameArray) ToBoundaryCredentialUserNameArrayOutput

func (i BoundaryCredentialUserNameArray) ToBoundaryCredentialUserNameArrayOutput() BoundaryCredentialUserNameArrayOutput

func (BoundaryCredentialUserNameArray) ToBoundaryCredentialUserNameArrayOutputWithContext

func (i BoundaryCredentialUserNameArray) ToBoundaryCredentialUserNameArrayOutputWithContext(ctx context.Context) BoundaryCredentialUserNameArrayOutput

type BoundaryCredentialUserNameArrayInput

type BoundaryCredentialUserNameArrayInput interface {
	pulumi.Input

	ToBoundaryCredentialUserNameArrayOutput() BoundaryCredentialUserNameArrayOutput
	ToBoundaryCredentialUserNameArrayOutputWithContext(context.Context) BoundaryCredentialUserNameArrayOutput
}

BoundaryCredentialUserNameArrayInput is an input type that accepts BoundaryCredentialUserNameArray and BoundaryCredentialUserNameArrayOutput values. You can construct a concrete instance of `BoundaryCredentialUserNameArrayInput` via:

BoundaryCredentialUserNameArray{ BoundaryCredentialUserNameArgs{...} }

type BoundaryCredentialUserNameArrayOutput

type BoundaryCredentialUserNameArrayOutput struct{ *pulumi.OutputState }

func (BoundaryCredentialUserNameArrayOutput) ElementType

func (BoundaryCredentialUserNameArrayOutput) Index

func (BoundaryCredentialUserNameArrayOutput) ToBoundaryCredentialUserNameArrayOutput

func (o BoundaryCredentialUserNameArrayOutput) ToBoundaryCredentialUserNameArrayOutput() BoundaryCredentialUserNameArrayOutput

func (BoundaryCredentialUserNameArrayOutput) ToBoundaryCredentialUserNameArrayOutputWithContext

func (o BoundaryCredentialUserNameArrayOutput) ToBoundaryCredentialUserNameArrayOutputWithContext(ctx context.Context) BoundaryCredentialUserNameArrayOutput

type BoundaryCredentialUserNameInput

type BoundaryCredentialUserNameInput interface {
	pulumi.Input

	ToBoundaryCredentialUserNameOutput() BoundaryCredentialUserNameOutput
	ToBoundaryCredentialUserNameOutputWithContext(ctx context.Context) BoundaryCredentialUserNameOutput
}

type BoundaryCredentialUserNameMap

type BoundaryCredentialUserNameMap map[string]BoundaryCredentialUserNameInput

func (BoundaryCredentialUserNameMap) ElementType

func (BoundaryCredentialUserNameMap) ToBoundaryCredentialUserNameMapOutput

func (i BoundaryCredentialUserNameMap) ToBoundaryCredentialUserNameMapOutput() BoundaryCredentialUserNameMapOutput

func (BoundaryCredentialUserNameMap) ToBoundaryCredentialUserNameMapOutputWithContext

func (i BoundaryCredentialUserNameMap) ToBoundaryCredentialUserNameMapOutputWithContext(ctx context.Context) BoundaryCredentialUserNameMapOutput

type BoundaryCredentialUserNameMapInput

type BoundaryCredentialUserNameMapInput interface {
	pulumi.Input

	ToBoundaryCredentialUserNameMapOutput() BoundaryCredentialUserNameMapOutput
	ToBoundaryCredentialUserNameMapOutputWithContext(context.Context) BoundaryCredentialUserNameMapOutput
}

BoundaryCredentialUserNameMapInput is an input type that accepts BoundaryCredentialUserNameMap and BoundaryCredentialUserNameMapOutput values. You can construct a concrete instance of `BoundaryCredentialUserNameMapInput` via:

BoundaryCredentialUserNameMap{ "key": BoundaryCredentialUserNameArgs{...} }

type BoundaryCredentialUserNameMapOutput

type BoundaryCredentialUserNameMapOutput struct{ *pulumi.OutputState }

func (BoundaryCredentialUserNameMapOutput) ElementType

func (BoundaryCredentialUserNameMapOutput) MapIndex

func (BoundaryCredentialUserNameMapOutput) ToBoundaryCredentialUserNameMapOutput

func (o BoundaryCredentialUserNameMapOutput) ToBoundaryCredentialUserNameMapOutput() BoundaryCredentialUserNameMapOutput

func (BoundaryCredentialUserNameMapOutput) ToBoundaryCredentialUserNameMapOutputWithContext

func (o BoundaryCredentialUserNameMapOutput) ToBoundaryCredentialUserNameMapOutputWithContext(ctx context.Context) BoundaryCredentialUserNameMapOutput

type BoundaryCredentialUserNameOutput

type BoundaryCredentialUserNameOutput struct{ *pulumi.OutputState }

func (BoundaryCredentialUserNameOutput) CredentialStoreId

The credential store in which to save this username/password credential.

func (BoundaryCredentialUserNameOutput) Description

The description of this username/password credential.

func (BoundaryCredentialUserNameOutput) ElementType

func (BoundaryCredentialUserNameOutput) Name

The name of this username/password credential. Defaults to the resource name.

func (BoundaryCredentialUserNameOutput) Password

The password of this username/password credential.

func (BoundaryCredentialUserNameOutput) PasswordHmac

The password hmac.

func (BoundaryCredentialUserNameOutput) ToBoundaryCredentialUserNameOutput

func (o BoundaryCredentialUserNameOutput) ToBoundaryCredentialUserNameOutput() BoundaryCredentialUserNameOutput

func (BoundaryCredentialUserNameOutput) ToBoundaryCredentialUserNameOutputWithContext

func (o BoundaryCredentialUserNameOutput) ToBoundaryCredentialUserNameOutputWithContext(ctx context.Context) BoundaryCredentialUserNameOutput

func (BoundaryCredentialUserNameOutput) Username

The username of this username/password credential.

type BoundaryCredentialUserNameState

type BoundaryCredentialUserNameState struct {
	// The credential store in which to save this username/password credential.
	CredentialStoreId pulumi.StringPtrInput
	// The description of this username/password credential.
	Description pulumi.StringPtrInput
	// The name of this username/password credential. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The password of this username/password credential.
	Password pulumi.StringPtrInput
	// The password hmac.
	PasswordHmac pulumi.StringPtrInput
	// The username of this username/password credential.
	Username pulumi.StringPtrInput
}

func (BoundaryCredentialUserNameState) ElementType

type BoundaryGroup

type BoundaryGroup struct {
	pulumi.CustomResourceState

	// The group description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Resource IDs for group members, these are most likely boundary users.
	MemberIds pulumi.StringArrayOutput `pulumi:"memberIds"`
	// The group name. Defaults to the resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The scope ID in which the resource is created. Defaults to the provider's `defaultScope` if unset.
	ScopeId pulumi.StringOutput `pulumi:"scopeId"`
}

The group resource allows you to configure a Boundary group.

## Example Usage

```go package main

import (

"github.com/katasec/pulumi-boundary/sdk/go/boundary"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		org, err := boundary.NewBoundaryScope(ctx, "org", &boundary.BoundaryScopeArgs{
			Description:           pulumi.String("My first scope!"),
			ScopeId:               pulumi.String("global"),
			AutoCreateAdminRole:   pulumi.Bool(true),
			AutoCreateDefaultRole: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		foo, err := boundary.NewBoundaryUser(ctx, "foo", &boundary.BoundaryUserArgs{
			Description: pulumi.String("foo user"),
			ScopeId:     org.ID(),
		})
		if err != nil {
			return err
		}
		_, err = boundary.NewBoundaryGroup(ctx, "example", &boundary.BoundaryGroupArgs{
			Description: pulumi.String("My first group!"),
			MemberIds: pulumi.StringArray{
				foo.ID(),
			},
			ScopeId: org.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Usage for project-specific group:

```go package main

import (

"github.com/katasec/pulumi-boundary/sdk/go/boundary"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		org, err := boundary.NewBoundaryScope(ctx, "org", &boundary.BoundaryScopeArgs{
			Description:           pulumi.String("My first scope!"),
			ScopeId:               pulumi.String("global"),
			AutoCreateAdminRole:   pulumi.Bool(true),
			AutoCreateDefaultRole: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		project, err := boundary.NewBoundaryScope(ctx, "project", &boundary.BoundaryScopeArgs{
			Description:         pulumi.String("My first scope!"),
			ScopeId:             org.ID(),
			AutoCreateAdminRole: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		foo, err := boundary.NewBoundaryUser(ctx, "foo", &boundary.BoundaryUserArgs{
			Description: pulumi.String("foo user"),
			ScopeId:     org.ID(),
		})
		if err != nil {
			return err
		}
		_, err = boundary.NewBoundaryGroup(ctx, "example", &boundary.BoundaryGroupArgs{
			Description: pulumi.String("My first group!"),
			MemberIds: pulumi.StringArray{
				foo.ID(),
			},
			ScopeId: project.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import boundary:index/boundaryGroup:BoundaryGroup foo <my-id>

```

func GetBoundaryGroup

func GetBoundaryGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BoundaryGroupState, opts ...pulumi.ResourceOption) (*BoundaryGroup, error)

GetBoundaryGroup gets an existing BoundaryGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBoundaryGroup

func NewBoundaryGroup(ctx *pulumi.Context,
	name string, args *BoundaryGroupArgs, opts ...pulumi.ResourceOption) (*BoundaryGroup, error)

NewBoundaryGroup registers a new resource with the given unique name, arguments, and options.

func (*BoundaryGroup) ElementType

func (*BoundaryGroup) ElementType() reflect.Type

func (*BoundaryGroup) ToBoundaryGroupOutput

func (i *BoundaryGroup) ToBoundaryGroupOutput() BoundaryGroupOutput

func (*BoundaryGroup) ToBoundaryGroupOutputWithContext

func (i *BoundaryGroup) ToBoundaryGroupOutputWithContext(ctx context.Context) BoundaryGroupOutput

type BoundaryGroupArgs

type BoundaryGroupArgs struct {
	// The group description.
	Description pulumi.StringPtrInput
	// Resource IDs for group members, these are most likely boundary users.
	MemberIds pulumi.StringArrayInput
	// The group name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The scope ID in which the resource is created. Defaults to the provider's `defaultScope` if unset.
	ScopeId pulumi.StringInput
}

The set of arguments for constructing a BoundaryGroup resource.

func (BoundaryGroupArgs) ElementType

func (BoundaryGroupArgs) ElementType() reflect.Type

type BoundaryGroupArray

type BoundaryGroupArray []BoundaryGroupInput

func (BoundaryGroupArray) ElementType

func (BoundaryGroupArray) ElementType() reflect.Type

func (BoundaryGroupArray) ToBoundaryGroupArrayOutput

func (i BoundaryGroupArray) ToBoundaryGroupArrayOutput() BoundaryGroupArrayOutput

func (BoundaryGroupArray) ToBoundaryGroupArrayOutputWithContext

func (i BoundaryGroupArray) ToBoundaryGroupArrayOutputWithContext(ctx context.Context) BoundaryGroupArrayOutput

type BoundaryGroupArrayInput

type BoundaryGroupArrayInput interface {
	pulumi.Input

	ToBoundaryGroupArrayOutput() BoundaryGroupArrayOutput
	ToBoundaryGroupArrayOutputWithContext(context.Context) BoundaryGroupArrayOutput
}

BoundaryGroupArrayInput is an input type that accepts BoundaryGroupArray and BoundaryGroupArrayOutput values. You can construct a concrete instance of `BoundaryGroupArrayInput` via:

BoundaryGroupArray{ BoundaryGroupArgs{...} }

type BoundaryGroupArrayOutput

type BoundaryGroupArrayOutput struct{ *pulumi.OutputState }

func (BoundaryGroupArrayOutput) ElementType

func (BoundaryGroupArrayOutput) ElementType() reflect.Type

func (BoundaryGroupArrayOutput) Index

func (BoundaryGroupArrayOutput) ToBoundaryGroupArrayOutput

func (o BoundaryGroupArrayOutput) ToBoundaryGroupArrayOutput() BoundaryGroupArrayOutput

func (BoundaryGroupArrayOutput) ToBoundaryGroupArrayOutputWithContext

func (o BoundaryGroupArrayOutput) ToBoundaryGroupArrayOutputWithContext(ctx context.Context) BoundaryGroupArrayOutput

type BoundaryGroupInput

type BoundaryGroupInput interface {
	pulumi.Input

	ToBoundaryGroupOutput() BoundaryGroupOutput
	ToBoundaryGroupOutputWithContext(ctx context.Context) BoundaryGroupOutput
}

type BoundaryGroupMap

type BoundaryGroupMap map[string]BoundaryGroupInput

func (BoundaryGroupMap) ElementType

func (BoundaryGroupMap) ElementType() reflect.Type

func (BoundaryGroupMap) ToBoundaryGroupMapOutput

func (i BoundaryGroupMap) ToBoundaryGroupMapOutput() BoundaryGroupMapOutput

func (BoundaryGroupMap) ToBoundaryGroupMapOutputWithContext

func (i BoundaryGroupMap) ToBoundaryGroupMapOutputWithContext(ctx context.Context) BoundaryGroupMapOutput

type BoundaryGroupMapInput

type BoundaryGroupMapInput interface {
	pulumi.Input

	ToBoundaryGroupMapOutput() BoundaryGroupMapOutput
	ToBoundaryGroupMapOutputWithContext(context.Context) BoundaryGroupMapOutput
}

BoundaryGroupMapInput is an input type that accepts BoundaryGroupMap and BoundaryGroupMapOutput values. You can construct a concrete instance of `BoundaryGroupMapInput` via:

BoundaryGroupMap{ "key": BoundaryGroupArgs{...} }

type BoundaryGroupMapOutput

type BoundaryGroupMapOutput struct{ *pulumi.OutputState }

func (BoundaryGroupMapOutput) ElementType

func (BoundaryGroupMapOutput) ElementType() reflect.Type

func (BoundaryGroupMapOutput) MapIndex

func (BoundaryGroupMapOutput) ToBoundaryGroupMapOutput

func (o BoundaryGroupMapOutput) ToBoundaryGroupMapOutput() BoundaryGroupMapOutput

func (BoundaryGroupMapOutput) ToBoundaryGroupMapOutputWithContext

func (o BoundaryGroupMapOutput) ToBoundaryGroupMapOutputWithContext(ctx context.Context) BoundaryGroupMapOutput

type BoundaryGroupOutput

type BoundaryGroupOutput struct{ *pulumi.OutputState }

func (BoundaryGroupOutput) Description

func (o BoundaryGroupOutput) Description() pulumi.StringPtrOutput

The group description.

func (BoundaryGroupOutput) ElementType

func (BoundaryGroupOutput) ElementType() reflect.Type

func (BoundaryGroupOutput) MemberIds

Resource IDs for group members, these are most likely boundary users.

func (BoundaryGroupOutput) Name

The group name. Defaults to the resource name.

func (BoundaryGroupOutput) ScopeId

The scope ID in which the resource is created. Defaults to the provider's `defaultScope` if unset.

func (BoundaryGroupOutput) ToBoundaryGroupOutput

func (o BoundaryGroupOutput) ToBoundaryGroupOutput() BoundaryGroupOutput

func (BoundaryGroupOutput) ToBoundaryGroupOutputWithContext

func (o BoundaryGroupOutput) ToBoundaryGroupOutputWithContext(ctx context.Context) BoundaryGroupOutput

type BoundaryGroupState

type BoundaryGroupState struct {
	// The group description.
	Description pulumi.StringPtrInput
	// Resource IDs for group members, these are most likely boundary users.
	MemberIds pulumi.StringArrayInput
	// The group name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The scope ID in which the resource is created. Defaults to the provider's `defaultScope` if unset.
	ScopeId pulumi.StringPtrInput
}

func (BoundaryGroupState) ElementType

func (BoundaryGroupState) ElementType() reflect.Type

type BoundaryHost deprecated

type BoundaryHost struct {
	pulumi.CustomResourceState

	// The static address of the host resource as `<IP>` (note: port assignment occurs in the target resource definition, do not add :port here) or a domain name.
	Address pulumi.StringPtrOutput `pulumi:"address"`
	// The host description.
	Description   pulumi.StringPtrOutput `pulumi:"description"`
	HostCatalogId pulumi.StringOutput    `pulumi:"hostCatalogId"`
	// The host name. Defaults to the resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The type of host
	Type pulumi.StringOutput `pulumi:"type"`
}

Deprecated: use `BoundaryHostStatic` instead.

## Example Usage

```go package main

import (

"github.com/katasec/pulumi-boundary/sdk/go/boundary"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		org, err := boundary.NewBoundaryScope(ctx, "org", &boundary.BoundaryScopeArgs{
			Description:           pulumi.String("My first scope!"),
			ScopeId:               pulumi.String("global"),
			AutoCreateAdminRole:   pulumi.Bool(true),
			AutoCreateDefaultRole: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		project, err := boundary.NewBoundaryScope(ctx, "project", &boundary.BoundaryScopeArgs{
			Description:         pulumi.String("My first scope!"),
			ScopeId:             org.ID(),
			AutoCreateAdminRole: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		static, err := boundary.NewBoundaryHostCatalog(ctx, "static", &boundary.BoundaryHostCatalogArgs{
			Description: pulumi.String("My first host catalog!"),
			Type:        pulumi.String("static"),
			ScopeId:     project.ID(),
		})
		if err != nil {
			return err
		}
		_, err = boundary.NewBoundaryHost(ctx, "example", &boundary.BoundaryHostArgs{
			Type:          pulumi.String("static"),
			Description:   pulumi.String("My first host!"),
			Address:       pulumi.String("10.0.0.1"),
			HostCatalogId: static.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import boundary:index/boundaryHost:BoundaryHost foo <my-id>

```

func GetBoundaryHost

func GetBoundaryHost(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BoundaryHostState, opts ...pulumi.ResourceOption) (*BoundaryHost, error)

GetBoundaryHost gets an existing BoundaryHost resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBoundaryHost

func NewBoundaryHost(ctx *pulumi.Context,
	name string, args *BoundaryHostArgs, opts ...pulumi.ResourceOption) (*BoundaryHost, error)

NewBoundaryHost registers a new resource with the given unique name, arguments, and options.

func (*BoundaryHost) ElementType

func (*BoundaryHost) ElementType() reflect.Type

func (*BoundaryHost) ToBoundaryHostOutput

func (i *BoundaryHost) ToBoundaryHostOutput() BoundaryHostOutput

func (*BoundaryHost) ToBoundaryHostOutputWithContext

func (i *BoundaryHost) ToBoundaryHostOutputWithContext(ctx context.Context) BoundaryHostOutput

type BoundaryHostArgs

type BoundaryHostArgs struct {
	// The static address of the host resource as `<IP>` (note: port assignment occurs in the target resource definition, do not add :port here) or a domain name.
	Address pulumi.StringPtrInput
	// The host description.
	Description   pulumi.StringPtrInput
	HostCatalogId pulumi.StringInput
	// The host name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The type of host
	Type pulumi.StringInput
}

The set of arguments for constructing a BoundaryHost resource.

func (BoundaryHostArgs) ElementType

func (BoundaryHostArgs) ElementType() reflect.Type

type BoundaryHostArray

type BoundaryHostArray []BoundaryHostInput

func (BoundaryHostArray) ElementType

func (BoundaryHostArray) ElementType() reflect.Type

func (BoundaryHostArray) ToBoundaryHostArrayOutput

func (i BoundaryHostArray) ToBoundaryHostArrayOutput() BoundaryHostArrayOutput

func (BoundaryHostArray) ToBoundaryHostArrayOutputWithContext

func (i BoundaryHostArray) ToBoundaryHostArrayOutputWithContext(ctx context.Context) BoundaryHostArrayOutput

type BoundaryHostArrayInput

type BoundaryHostArrayInput interface {
	pulumi.Input

	ToBoundaryHostArrayOutput() BoundaryHostArrayOutput
	ToBoundaryHostArrayOutputWithContext(context.Context) BoundaryHostArrayOutput
}

BoundaryHostArrayInput is an input type that accepts BoundaryHostArray and BoundaryHostArrayOutput values. You can construct a concrete instance of `BoundaryHostArrayInput` via:

BoundaryHostArray{ BoundaryHostArgs{...} }

type BoundaryHostArrayOutput

type BoundaryHostArrayOutput struct{ *pulumi.OutputState }

func (BoundaryHostArrayOutput) ElementType

func (BoundaryHostArrayOutput) ElementType() reflect.Type

func (BoundaryHostArrayOutput) Index

func (BoundaryHostArrayOutput) ToBoundaryHostArrayOutput

func (o BoundaryHostArrayOutput) ToBoundaryHostArrayOutput() BoundaryHostArrayOutput

func (BoundaryHostArrayOutput) ToBoundaryHostArrayOutputWithContext

func (o BoundaryHostArrayOutput) ToBoundaryHostArrayOutputWithContext(ctx context.Context) BoundaryHostArrayOutput

type BoundaryHostCatalog deprecated

type BoundaryHostCatalog struct {
	pulumi.CustomResourceState

	// The host catalog description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The host catalog name. Defaults to the resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The scope ID in which the resource is created.
	ScopeId pulumi.StringOutput `pulumi:"scopeId"`
	// The host catalog type. Only `static` is supported.
	Type pulumi.StringOutput `pulumi:"type"`
}

Deprecated: use `BoundaryHostCatalogStatic` instead.

## Example Usage

```go package main

import (

"github.com/katasec/pulumi-boundary/sdk/go/boundary"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		org, err := boundary.NewBoundaryScope(ctx, "org", &boundary.BoundaryScopeArgs{
			Description:           pulumi.String("My first scope!"),
			ScopeId:               pulumi.Any(boundary_scope.Global.Id),
			AutoCreateAdminRole:   pulumi.Bool(true),
			AutoCreateDefaultRole: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		project, err := boundary.NewBoundaryScope(ctx, "project", &boundary.BoundaryScopeArgs{
			Description:         pulumi.String("My first scope!"),
			ScopeId:             org.ID(),
			AutoCreateAdminRole: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = boundary.NewBoundaryHostCatalog(ctx, "example", &boundary.BoundaryHostCatalogArgs{
			Description: pulumi.String("My first host catalog!"),
			Type:        pulumi.String("Static"),
			ScopeId:     project.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import boundary:index/boundaryHostCatalog:BoundaryHostCatalog foo <my-id>

```

func GetBoundaryHostCatalog

func GetBoundaryHostCatalog(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BoundaryHostCatalogState, opts ...pulumi.ResourceOption) (*BoundaryHostCatalog, error)

GetBoundaryHostCatalog gets an existing BoundaryHostCatalog resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBoundaryHostCatalog

func NewBoundaryHostCatalog(ctx *pulumi.Context,
	name string, args *BoundaryHostCatalogArgs, opts ...pulumi.ResourceOption) (*BoundaryHostCatalog, error)

NewBoundaryHostCatalog registers a new resource with the given unique name, arguments, and options.

func (*BoundaryHostCatalog) ElementType

func (*BoundaryHostCatalog) ElementType() reflect.Type

func (*BoundaryHostCatalog) ToBoundaryHostCatalogOutput

func (i *BoundaryHostCatalog) ToBoundaryHostCatalogOutput() BoundaryHostCatalogOutput

func (*BoundaryHostCatalog) ToBoundaryHostCatalogOutputWithContext

func (i *BoundaryHostCatalog) ToBoundaryHostCatalogOutputWithContext(ctx context.Context) BoundaryHostCatalogOutput

type BoundaryHostCatalogArgs

type BoundaryHostCatalogArgs struct {
	// The host catalog description.
	Description pulumi.StringPtrInput
	// The host catalog name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The scope ID in which the resource is created.
	ScopeId pulumi.StringInput
	// The host catalog type. Only `static` is supported.
	Type pulumi.StringInput
}

The set of arguments for constructing a BoundaryHostCatalog resource.

func (BoundaryHostCatalogArgs) ElementType

func (BoundaryHostCatalogArgs) ElementType() reflect.Type

type BoundaryHostCatalogArray

type BoundaryHostCatalogArray []BoundaryHostCatalogInput

func (BoundaryHostCatalogArray) ElementType

func (BoundaryHostCatalogArray) ElementType() reflect.Type

func (BoundaryHostCatalogArray) ToBoundaryHostCatalogArrayOutput

func (i BoundaryHostCatalogArray) ToBoundaryHostCatalogArrayOutput() BoundaryHostCatalogArrayOutput

func (BoundaryHostCatalogArray) ToBoundaryHostCatalogArrayOutputWithContext

func (i BoundaryHostCatalogArray) ToBoundaryHostCatalogArrayOutputWithContext(ctx context.Context) BoundaryHostCatalogArrayOutput

type BoundaryHostCatalogArrayInput

type BoundaryHostCatalogArrayInput interface {
	pulumi.Input

	ToBoundaryHostCatalogArrayOutput() BoundaryHostCatalogArrayOutput
	ToBoundaryHostCatalogArrayOutputWithContext(context.Context) BoundaryHostCatalogArrayOutput
}

BoundaryHostCatalogArrayInput is an input type that accepts BoundaryHostCatalogArray and BoundaryHostCatalogArrayOutput values. You can construct a concrete instance of `BoundaryHostCatalogArrayInput` via:

BoundaryHostCatalogArray{ BoundaryHostCatalogArgs{...} }

type BoundaryHostCatalogArrayOutput

type BoundaryHostCatalogArrayOutput struct{ *pulumi.OutputState }

func (BoundaryHostCatalogArrayOutput) ElementType

func (BoundaryHostCatalogArrayOutput) Index

func (BoundaryHostCatalogArrayOutput) ToBoundaryHostCatalogArrayOutput

func (o BoundaryHostCatalogArrayOutput) ToBoundaryHostCatalogArrayOutput() BoundaryHostCatalogArrayOutput

func (BoundaryHostCatalogArrayOutput) ToBoundaryHostCatalogArrayOutputWithContext

func (o BoundaryHostCatalogArrayOutput) ToBoundaryHostCatalogArrayOutputWithContext(ctx context.Context) BoundaryHostCatalogArrayOutput

type BoundaryHostCatalogInput

type BoundaryHostCatalogInput interface {
	pulumi.Input

	ToBoundaryHostCatalogOutput() BoundaryHostCatalogOutput
	ToBoundaryHostCatalogOutputWithContext(ctx context.Context) BoundaryHostCatalogOutput
}

type BoundaryHostCatalogMap

type BoundaryHostCatalogMap map[string]BoundaryHostCatalogInput

func (BoundaryHostCatalogMap) ElementType

func (BoundaryHostCatalogMap) ElementType() reflect.Type

func (BoundaryHostCatalogMap) ToBoundaryHostCatalogMapOutput

func (i BoundaryHostCatalogMap) ToBoundaryHostCatalogMapOutput() BoundaryHostCatalogMapOutput

func (BoundaryHostCatalogMap) ToBoundaryHostCatalogMapOutputWithContext

func (i BoundaryHostCatalogMap) ToBoundaryHostCatalogMapOutputWithContext(ctx context.Context) BoundaryHostCatalogMapOutput

type BoundaryHostCatalogMapInput

type BoundaryHostCatalogMapInput interface {
	pulumi.Input

	ToBoundaryHostCatalogMapOutput() BoundaryHostCatalogMapOutput
	ToBoundaryHostCatalogMapOutputWithContext(context.Context) BoundaryHostCatalogMapOutput
}

BoundaryHostCatalogMapInput is an input type that accepts BoundaryHostCatalogMap and BoundaryHostCatalogMapOutput values. You can construct a concrete instance of `BoundaryHostCatalogMapInput` via:

BoundaryHostCatalogMap{ "key": BoundaryHostCatalogArgs{...} }

type BoundaryHostCatalogMapOutput

type BoundaryHostCatalogMapOutput struct{ *pulumi.OutputState }

func (BoundaryHostCatalogMapOutput) ElementType

func (BoundaryHostCatalogMapOutput) MapIndex

func (BoundaryHostCatalogMapOutput) ToBoundaryHostCatalogMapOutput

func (o BoundaryHostCatalogMapOutput) ToBoundaryHostCatalogMapOutput() BoundaryHostCatalogMapOutput

func (BoundaryHostCatalogMapOutput) ToBoundaryHostCatalogMapOutputWithContext

func (o BoundaryHostCatalogMapOutput) ToBoundaryHostCatalogMapOutputWithContext(ctx context.Context) BoundaryHostCatalogMapOutput

type BoundaryHostCatalogOutput

type BoundaryHostCatalogOutput struct{ *pulumi.OutputState }

func (BoundaryHostCatalogOutput) Description

The host catalog description.

func (BoundaryHostCatalogOutput) ElementType

func (BoundaryHostCatalogOutput) ElementType() reflect.Type

func (BoundaryHostCatalogOutput) Name

The host catalog name. Defaults to the resource name.

func (BoundaryHostCatalogOutput) ScopeId

The scope ID in which the resource is created.

func (BoundaryHostCatalogOutput) ToBoundaryHostCatalogOutput

func (o BoundaryHostCatalogOutput) ToBoundaryHostCatalogOutput() BoundaryHostCatalogOutput

func (BoundaryHostCatalogOutput) ToBoundaryHostCatalogOutputWithContext

func (o BoundaryHostCatalogOutput) ToBoundaryHostCatalogOutputWithContext(ctx context.Context) BoundaryHostCatalogOutput

func (BoundaryHostCatalogOutput) Type

The host catalog type. Only `static` is supported.

type BoundaryHostCatalogPlugin

type BoundaryHostCatalogPlugin struct {
	pulumi.CustomResourceState

	// The attributes for the host catalog. Either values encoded with the "jsonencode" function, pre-escaped JSON string, or a file:// or env:// path. Set to a string "null" or remove the block to clear all attributes in the host catalog.
	AttributesJson pulumi.StringPtrOutput `pulumi:"attributesJson"`
	// The host catalog description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Internal only. Used to force update so that we can always check the value of secrets.
	InternalForceUpdate pulumi.StringOutput `pulumi:"internalForceUpdate"`
	// Internal only. The Boundary-provided HMAC used to calculate the current value of the HMAC'd config. Used for drift detection.
	InternalHmacUsedForSecretsConfigHmac pulumi.StringOutput `pulumi:"internalHmacUsedForSecretsConfigHmac"`
	// Internal only. HMAC of (serverSecretsHmac + config secrets). Used for proper secrets handling.
	InternalSecretsConfigHmac pulumi.StringOutput `pulumi:"internalSecretsConfigHmac"`
	// The host catalog name. Defaults to the resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the plugin that should back the resource. This or pluginName must be defined.
	PluginId pulumi.StringOutput `pulumi:"pluginId"`
	// The name of the plugin that should back the resource. This or pluginId must be defined.
	PluginName pulumi.StringOutput `pulumi:"pluginName"`
	// The scope ID in which the resource is created.
	ScopeId pulumi.StringOutput `pulumi:"scopeId"`
	// The HMAC'd secrets value returned from the server.
	SecretsHmac pulumi.StringOutput `pulumi:"secretsHmac"`
	// The secrets for the host catalog. Either values encoded with the "jsonencode" function, pre-escaped JSON string, or a file:// or env:// path. Set to a string "null" to clear any existing values. NOTE: Unlike "attributesJson", removing this block will NOT clear secrets from the host catalog; this allows injecting secrets for one call, then removing them for storage.
	SecretsJson pulumi.StringPtrOutput `pulumi:"secretsJson"`
}

The host catalog resource allows you to configure a Boundary plugin-type host catalog. Host catalogs are always part of a project, so a project resource should be used inline or you should have the project ID in hand to successfully configure a host catalog.

func GetBoundaryHostCatalogPlugin

func GetBoundaryHostCatalogPlugin(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BoundaryHostCatalogPluginState, opts ...pulumi.ResourceOption) (*BoundaryHostCatalogPlugin, error)

GetBoundaryHostCatalogPlugin gets an existing BoundaryHostCatalogPlugin resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBoundaryHostCatalogPlugin

func NewBoundaryHostCatalogPlugin(ctx *pulumi.Context,
	name string, args *BoundaryHostCatalogPluginArgs, opts ...pulumi.ResourceOption) (*BoundaryHostCatalogPlugin, error)

NewBoundaryHostCatalogPlugin registers a new resource with the given unique name, arguments, and options.

func (*BoundaryHostCatalogPlugin) ElementType

func (*BoundaryHostCatalogPlugin) ElementType() reflect.Type

func (*BoundaryHostCatalogPlugin) ToBoundaryHostCatalogPluginOutput

func (i *BoundaryHostCatalogPlugin) ToBoundaryHostCatalogPluginOutput() BoundaryHostCatalogPluginOutput

func (*BoundaryHostCatalogPlugin) ToBoundaryHostCatalogPluginOutputWithContext

func (i *BoundaryHostCatalogPlugin) ToBoundaryHostCatalogPluginOutputWithContext(ctx context.Context) BoundaryHostCatalogPluginOutput

type BoundaryHostCatalogPluginArgs

type BoundaryHostCatalogPluginArgs struct {
	// The attributes for the host catalog. Either values encoded with the "jsonencode" function, pre-escaped JSON string, or a file:// or env:// path. Set to a string "null" or remove the block to clear all attributes in the host catalog.
	AttributesJson pulumi.StringPtrInput
	// The host catalog description.
	Description pulumi.StringPtrInput
	// Internal only. Used to force update so that we can always check the value of secrets.
	InternalForceUpdate pulumi.StringPtrInput
	// Internal only. The Boundary-provided HMAC used to calculate the current value of the HMAC'd config. Used for drift detection.
	InternalHmacUsedForSecretsConfigHmac pulumi.StringPtrInput
	// Internal only. HMAC of (serverSecretsHmac + config secrets). Used for proper secrets handling.
	InternalSecretsConfigHmac pulumi.StringPtrInput
	// The host catalog name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The ID of the plugin that should back the resource. This or pluginName must be defined.
	PluginId pulumi.StringPtrInput
	// The name of the plugin that should back the resource. This or pluginId must be defined.
	PluginName pulumi.StringPtrInput
	// The scope ID in which the resource is created.
	ScopeId pulumi.StringInput
	// The HMAC'd secrets value returned from the server.
	SecretsHmac pulumi.StringPtrInput
	// The secrets for the host catalog. Either values encoded with the "jsonencode" function, pre-escaped JSON string, or a file:// or env:// path. Set to a string "null" to clear any existing values. NOTE: Unlike "attributesJson", removing this block will NOT clear secrets from the host catalog; this allows injecting secrets for one call, then removing them for storage.
	SecretsJson pulumi.StringPtrInput
}

The set of arguments for constructing a BoundaryHostCatalogPlugin resource.

func (BoundaryHostCatalogPluginArgs) ElementType

type BoundaryHostCatalogPluginArray

type BoundaryHostCatalogPluginArray []BoundaryHostCatalogPluginInput

func (BoundaryHostCatalogPluginArray) ElementType

func (BoundaryHostCatalogPluginArray) ToBoundaryHostCatalogPluginArrayOutput

func (i BoundaryHostCatalogPluginArray) ToBoundaryHostCatalogPluginArrayOutput() BoundaryHostCatalogPluginArrayOutput

func (BoundaryHostCatalogPluginArray) ToBoundaryHostCatalogPluginArrayOutputWithContext

func (i BoundaryHostCatalogPluginArray) ToBoundaryHostCatalogPluginArrayOutputWithContext(ctx context.Context) BoundaryHostCatalogPluginArrayOutput

type BoundaryHostCatalogPluginArrayInput

type BoundaryHostCatalogPluginArrayInput interface {
	pulumi.Input

	ToBoundaryHostCatalogPluginArrayOutput() BoundaryHostCatalogPluginArrayOutput
	ToBoundaryHostCatalogPluginArrayOutputWithContext(context.Context) BoundaryHostCatalogPluginArrayOutput
}

BoundaryHostCatalogPluginArrayInput is an input type that accepts BoundaryHostCatalogPluginArray and BoundaryHostCatalogPluginArrayOutput values. You can construct a concrete instance of `BoundaryHostCatalogPluginArrayInput` via:

BoundaryHostCatalogPluginArray{ BoundaryHostCatalogPluginArgs{...} }

type BoundaryHostCatalogPluginArrayOutput

type BoundaryHostCatalogPluginArrayOutput struct{ *pulumi.OutputState }

func (BoundaryHostCatalogPluginArrayOutput) ElementType

func (BoundaryHostCatalogPluginArrayOutput) Index

func (BoundaryHostCatalogPluginArrayOutput) ToBoundaryHostCatalogPluginArrayOutput

func (o BoundaryHostCatalogPluginArrayOutput) ToBoundaryHostCatalogPluginArrayOutput() BoundaryHostCatalogPluginArrayOutput

func (BoundaryHostCatalogPluginArrayOutput) ToBoundaryHostCatalogPluginArrayOutputWithContext

func (o BoundaryHostCatalogPluginArrayOutput) ToBoundaryHostCatalogPluginArrayOutputWithContext(ctx context.Context) BoundaryHostCatalogPluginArrayOutput

type BoundaryHostCatalogPluginInput

type BoundaryHostCatalogPluginInput interface {
	pulumi.Input

	ToBoundaryHostCatalogPluginOutput() BoundaryHostCatalogPluginOutput
	ToBoundaryHostCatalogPluginOutputWithContext(ctx context.Context) BoundaryHostCatalogPluginOutput
}

type BoundaryHostCatalogPluginMap

type BoundaryHostCatalogPluginMap map[string]BoundaryHostCatalogPluginInput

func (BoundaryHostCatalogPluginMap) ElementType

func (BoundaryHostCatalogPluginMap) ToBoundaryHostCatalogPluginMapOutput

func (i BoundaryHostCatalogPluginMap) ToBoundaryHostCatalogPluginMapOutput() BoundaryHostCatalogPluginMapOutput

func (BoundaryHostCatalogPluginMap) ToBoundaryHostCatalogPluginMapOutputWithContext

func (i BoundaryHostCatalogPluginMap) ToBoundaryHostCatalogPluginMapOutputWithContext(ctx context.Context) BoundaryHostCatalogPluginMapOutput

type BoundaryHostCatalogPluginMapInput

type BoundaryHostCatalogPluginMapInput interface {
	pulumi.Input

	ToBoundaryHostCatalogPluginMapOutput() BoundaryHostCatalogPluginMapOutput
	ToBoundaryHostCatalogPluginMapOutputWithContext(context.Context) BoundaryHostCatalogPluginMapOutput
}

BoundaryHostCatalogPluginMapInput is an input type that accepts BoundaryHostCatalogPluginMap and BoundaryHostCatalogPluginMapOutput values. You can construct a concrete instance of `BoundaryHostCatalogPluginMapInput` via:

BoundaryHostCatalogPluginMap{ "key": BoundaryHostCatalogPluginArgs{...} }

type BoundaryHostCatalogPluginMapOutput

type BoundaryHostCatalogPluginMapOutput struct{ *pulumi.OutputState }

func (BoundaryHostCatalogPluginMapOutput) ElementType

func (BoundaryHostCatalogPluginMapOutput) MapIndex

func (BoundaryHostCatalogPluginMapOutput) ToBoundaryHostCatalogPluginMapOutput

func (o BoundaryHostCatalogPluginMapOutput) ToBoundaryHostCatalogPluginMapOutput() BoundaryHostCatalogPluginMapOutput

func (BoundaryHostCatalogPluginMapOutput) ToBoundaryHostCatalogPluginMapOutputWithContext

func (o BoundaryHostCatalogPluginMapOutput) ToBoundaryHostCatalogPluginMapOutputWithContext(ctx context.Context) BoundaryHostCatalogPluginMapOutput

type BoundaryHostCatalogPluginOutput

type BoundaryHostCatalogPluginOutput struct{ *pulumi.OutputState }

func (BoundaryHostCatalogPluginOutput) AttributesJson

The attributes for the host catalog. Either values encoded with the "jsonencode" function, pre-escaped JSON string, or a file:// or env:// path. Set to a string "null" or remove the block to clear all attributes in the host catalog.

func (BoundaryHostCatalogPluginOutput) Description

The host catalog description.

func (BoundaryHostCatalogPluginOutput) ElementType

func (BoundaryHostCatalogPluginOutput) InternalForceUpdate

func (o BoundaryHostCatalogPluginOutput) InternalForceUpdate() pulumi.StringOutput

Internal only. Used to force update so that we can always check the value of secrets.

func (BoundaryHostCatalogPluginOutput) InternalHmacUsedForSecretsConfigHmac

func (o BoundaryHostCatalogPluginOutput) InternalHmacUsedForSecretsConfigHmac() pulumi.StringOutput

Internal only. The Boundary-provided HMAC used to calculate the current value of the HMAC'd config. Used for drift detection.

func (BoundaryHostCatalogPluginOutput) InternalSecretsConfigHmac

func (o BoundaryHostCatalogPluginOutput) InternalSecretsConfigHmac() pulumi.StringOutput

Internal only. HMAC of (serverSecretsHmac + config secrets). Used for proper secrets handling.

func (BoundaryHostCatalogPluginOutput) Name

The host catalog name. Defaults to the resource name.

func (BoundaryHostCatalogPluginOutput) PluginId

The ID of the plugin that should back the resource. This or pluginName must be defined.

func (BoundaryHostCatalogPluginOutput) PluginName

The name of the plugin that should back the resource. This or pluginId must be defined.

func (BoundaryHostCatalogPluginOutput) ScopeId

The scope ID in which the resource is created.

func (BoundaryHostCatalogPluginOutput) SecretsHmac

The HMAC'd secrets value returned from the server.

func (BoundaryHostCatalogPluginOutput) SecretsJson

The secrets for the host catalog. Either values encoded with the "jsonencode" function, pre-escaped JSON string, or a file:// or env:// path. Set to a string "null" to clear any existing values. NOTE: Unlike "attributesJson", removing this block will NOT clear secrets from the host catalog; this allows injecting secrets for one call, then removing them for storage.

func (BoundaryHostCatalogPluginOutput) ToBoundaryHostCatalogPluginOutput

func (o BoundaryHostCatalogPluginOutput) ToBoundaryHostCatalogPluginOutput() BoundaryHostCatalogPluginOutput

func (BoundaryHostCatalogPluginOutput) ToBoundaryHostCatalogPluginOutputWithContext

func (o BoundaryHostCatalogPluginOutput) ToBoundaryHostCatalogPluginOutputWithContext(ctx context.Context) BoundaryHostCatalogPluginOutput

type BoundaryHostCatalogPluginState

type BoundaryHostCatalogPluginState struct {
	// The attributes for the host catalog. Either values encoded with the "jsonencode" function, pre-escaped JSON string, or a file:// or env:// path. Set to a string "null" or remove the block to clear all attributes in the host catalog.
	AttributesJson pulumi.StringPtrInput
	// The host catalog description.
	Description pulumi.StringPtrInput
	// Internal only. Used to force update so that we can always check the value of secrets.
	InternalForceUpdate pulumi.StringPtrInput
	// Internal only. The Boundary-provided HMAC used to calculate the current value of the HMAC'd config. Used for drift detection.
	InternalHmacUsedForSecretsConfigHmac pulumi.StringPtrInput
	// Internal only. HMAC of (serverSecretsHmac + config secrets). Used for proper secrets handling.
	InternalSecretsConfigHmac pulumi.StringPtrInput
	// The host catalog name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The ID of the plugin that should back the resource. This or pluginName must be defined.
	PluginId pulumi.StringPtrInput
	// The name of the plugin that should back the resource. This or pluginId must be defined.
	PluginName pulumi.StringPtrInput
	// The scope ID in which the resource is created.
	ScopeId pulumi.StringPtrInput
	// The HMAC'd secrets value returned from the server.
	SecretsHmac pulumi.StringPtrInput
	// The secrets for the host catalog. Either values encoded with the "jsonencode" function, pre-escaped JSON string, or a file:// or env:// path. Set to a string "null" to clear any existing values. NOTE: Unlike "attributesJson", removing this block will NOT clear secrets from the host catalog; this allows injecting secrets for one call, then removing them for storage.
	SecretsJson pulumi.StringPtrInput
}

func (BoundaryHostCatalogPluginState) ElementType

type BoundaryHostCatalogState

type BoundaryHostCatalogState struct {
	// The host catalog description.
	Description pulumi.StringPtrInput
	// The host catalog name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The scope ID in which the resource is created.
	ScopeId pulumi.StringPtrInput
	// The host catalog type. Only `static` is supported.
	Type pulumi.StringPtrInput
}

func (BoundaryHostCatalogState) ElementType

func (BoundaryHostCatalogState) ElementType() reflect.Type

type BoundaryHostCatalogStatic

type BoundaryHostCatalogStatic struct {
	pulumi.CustomResourceState

	// The host catalog description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The host catalog name. Defaults to the resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The scope ID in which the resource is created.
	ScopeId pulumi.StringOutput `pulumi:"scopeId"`
}

The static host catalog resource allows you to configure a Boundary static-type host catalog. Host catalogs are always part of a project, so a project resource should be used inline or you should have the project ID in hand to successfully configure a host catalog.

func GetBoundaryHostCatalogStatic

func GetBoundaryHostCatalogStatic(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BoundaryHostCatalogStaticState, opts ...pulumi.ResourceOption) (*BoundaryHostCatalogStatic, error)

GetBoundaryHostCatalogStatic gets an existing BoundaryHostCatalogStatic resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBoundaryHostCatalogStatic

func NewBoundaryHostCatalogStatic(ctx *pulumi.Context,
	name string, args *BoundaryHostCatalogStaticArgs, opts ...pulumi.ResourceOption) (*BoundaryHostCatalogStatic, error)

NewBoundaryHostCatalogStatic registers a new resource with the given unique name, arguments, and options.

func (*BoundaryHostCatalogStatic) ElementType

func (*BoundaryHostCatalogStatic) ElementType() reflect.Type

func (*BoundaryHostCatalogStatic) ToBoundaryHostCatalogStaticOutput

func (i *BoundaryHostCatalogStatic) ToBoundaryHostCatalogStaticOutput() BoundaryHostCatalogStaticOutput

func (*BoundaryHostCatalogStatic) ToBoundaryHostCatalogStaticOutputWithContext

func (i *BoundaryHostCatalogStatic) ToBoundaryHostCatalogStaticOutputWithContext(ctx context.Context) BoundaryHostCatalogStaticOutput

type BoundaryHostCatalogStaticArgs

type BoundaryHostCatalogStaticArgs struct {
	// The host catalog description.
	Description pulumi.StringPtrInput
	// The host catalog name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The scope ID in which the resource is created.
	ScopeId pulumi.StringInput
}

The set of arguments for constructing a BoundaryHostCatalogStatic resource.

func (BoundaryHostCatalogStaticArgs) ElementType

type BoundaryHostCatalogStaticArray

type BoundaryHostCatalogStaticArray []BoundaryHostCatalogStaticInput

func (BoundaryHostCatalogStaticArray) ElementType

func (BoundaryHostCatalogStaticArray) ToBoundaryHostCatalogStaticArrayOutput

func (i BoundaryHostCatalogStaticArray) ToBoundaryHostCatalogStaticArrayOutput() BoundaryHostCatalogStaticArrayOutput

func (BoundaryHostCatalogStaticArray) ToBoundaryHostCatalogStaticArrayOutputWithContext

func (i BoundaryHostCatalogStaticArray) ToBoundaryHostCatalogStaticArrayOutputWithContext(ctx context.Context) BoundaryHostCatalogStaticArrayOutput

type BoundaryHostCatalogStaticArrayInput

type BoundaryHostCatalogStaticArrayInput interface {
	pulumi.Input

	ToBoundaryHostCatalogStaticArrayOutput() BoundaryHostCatalogStaticArrayOutput
	ToBoundaryHostCatalogStaticArrayOutputWithContext(context.Context) BoundaryHostCatalogStaticArrayOutput
}

BoundaryHostCatalogStaticArrayInput is an input type that accepts BoundaryHostCatalogStaticArray and BoundaryHostCatalogStaticArrayOutput values. You can construct a concrete instance of `BoundaryHostCatalogStaticArrayInput` via:

BoundaryHostCatalogStaticArray{ BoundaryHostCatalogStaticArgs{...} }

type BoundaryHostCatalogStaticArrayOutput

type BoundaryHostCatalogStaticArrayOutput struct{ *pulumi.OutputState }

func (BoundaryHostCatalogStaticArrayOutput) ElementType

func (BoundaryHostCatalogStaticArrayOutput) Index

func (BoundaryHostCatalogStaticArrayOutput) ToBoundaryHostCatalogStaticArrayOutput

func (o BoundaryHostCatalogStaticArrayOutput) ToBoundaryHostCatalogStaticArrayOutput() BoundaryHostCatalogStaticArrayOutput

func (BoundaryHostCatalogStaticArrayOutput) ToBoundaryHostCatalogStaticArrayOutputWithContext

func (o BoundaryHostCatalogStaticArrayOutput) ToBoundaryHostCatalogStaticArrayOutputWithContext(ctx context.Context) BoundaryHostCatalogStaticArrayOutput

type BoundaryHostCatalogStaticInput

type BoundaryHostCatalogStaticInput interface {
	pulumi.Input

	ToBoundaryHostCatalogStaticOutput() BoundaryHostCatalogStaticOutput
	ToBoundaryHostCatalogStaticOutputWithContext(ctx context.Context) BoundaryHostCatalogStaticOutput
}

type BoundaryHostCatalogStaticMap

type BoundaryHostCatalogStaticMap map[string]BoundaryHostCatalogStaticInput

func (BoundaryHostCatalogStaticMap) ElementType

func (BoundaryHostCatalogStaticMap) ToBoundaryHostCatalogStaticMapOutput

func (i BoundaryHostCatalogStaticMap) ToBoundaryHostCatalogStaticMapOutput() BoundaryHostCatalogStaticMapOutput

func (BoundaryHostCatalogStaticMap) ToBoundaryHostCatalogStaticMapOutputWithContext

func (i BoundaryHostCatalogStaticMap) ToBoundaryHostCatalogStaticMapOutputWithContext(ctx context.Context) BoundaryHostCatalogStaticMapOutput

type BoundaryHostCatalogStaticMapInput

type BoundaryHostCatalogStaticMapInput interface {
	pulumi.Input

	ToBoundaryHostCatalogStaticMapOutput() BoundaryHostCatalogStaticMapOutput
	ToBoundaryHostCatalogStaticMapOutputWithContext(context.Context) BoundaryHostCatalogStaticMapOutput
}

BoundaryHostCatalogStaticMapInput is an input type that accepts BoundaryHostCatalogStaticMap and BoundaryHostCatalogStaticMapOutput values. You can construct a concrete instance of `BoundaryHostCatalogStaticMapInput` via:

BoundaryHostCatalogStaticMap{ "key": BoundaryHostCatalogStaticArgs{...} }

type BoundaryHostCatalogStaticMapOutput

type BoundaryHostCatalogStaticMapOutput struct{ *pulumi.OutputState }

func (BoundaryHostCatalogStaticMapOutput) ElementType

func (BoundaryHostCatalogStaticMapOutput) MapIndex

func (BoundaryHostCatalogStaticMapOutput) ToBoundaryHostCatalogStaticMapOutput

func (o BoundaryHostCatalogStaticMapOutput) ToBoundaryHostCatalogStaticMapOutput() BoundaryHostCatalogStaticMapOutput

func (BoundaryHostCatalogStaticMapOutput) ToBoundaryHostCatalogStaticMapOutputWithContext

func (o BoundaryHostCatalogStaticMapOutput) ToBoundaryHostCatalogStaticMapOutputWithContext(ctx context.Context) BoundaryHostCatalogStaticMapOutput

type BoundaryHostCatalogStaticOutput

type BoundaryHostCatalogStaticOutput struct{ *pulumi.OutputState }

func (BoundaryHostCatalogStaticOutput) Description

The host catalog description.

func (BoundaryHostCatalogStaticOutput) ElementType

func (BoundaryHostCatalogStaticOutput) Name

The host catalog name. Defaults to the resource name.

func (BoundaryHostCatalogStaticOutput) ScopeId

The scope ID in which the resource is created.

func (BoundaryHostCatalogStaticOutput) ToBoundaryHostCatalogStaticOutput

func (o BoundaryHostCatalogStaticOutput) ToBoundaryHostCatalogStaticOutput() BoundaryHostCatalogStaticOutput

func (BoundaryHostCatalogStaticOutput) ToBoundaryHostCatalogStaticOutputWithContext

func (o BoundaryHostCatalogStaticOutput) ToBoundaryHostCatalogStaticOutputWithContext(ctx context.Context) BoundaryHostCatalogStaticOutput

type BoundaryHostCatalogStaticState

type BoundaryHostCatalogStaticState struct {
	// The host catalog description.
	Description pulumi.StringPtrInput
	// The host catalog name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The scope ID in which the resource is created.
	ScopeId pulumi.StringPtrInput
}

func (BoundaryHostCatalogStaticState) ElementType

type BoundaryHostInput

type BoundaryHostInput interface {
	pulumi.Input

	ToBoundaryHostOutput() BoundaryHostOutput
	ToBoundaryHostOutputWithContext(ctx context.Context) BoundaryHostOutput
}

type BoundaryHostMap

type BoundaryHostMap map[string]BoundaryHostInput

func (BoundaryHostMap) ElementType

func (BoundaryHostMap) ElementType() reflect.Type

func (BoundaryHostMap) ToBoundaryHostMapOutput

func (i BoundaryHostMap) ToBoundaryHostMapOutput() BoundaryHostMapOutput

func (BoundaryHostMap) ToBoundaryHostMapOutputWithContext

func (i BoundaryHostMap) ToBoundaryHostMapOutputWithContext(ctx context.Context) BoundaryHostMapOutput

type BoundaryHostMapInput

type BoundaryHostMapInput interface {
	pulumi.Input

	ToBoundaryHostMapOutput() BoundaryHostMapOutput
	ToBoundaryHostMapOutputWithContext(context.Context) BoundaryHostMapOutput
}

BoundaryHostMapInput is an input type that accepts BoundaryHostMap and BoundaryHostMapOutput values. You can construct a concrete instance of `BoundaryHostMapInput` via:

BoundaryHostMap{ "key": BoundaryHostArgs{...} }

type BoundaryHostMapOutput

type BoundaryHostMapOutput struct{ *pulumi.OutputState }

func (BoundaryHostMapOutput) ElementType

func (BoundaryHostMapOutput) ElementType() reflect.Type

func (BoundaryHostMapOutput) MapIndex

func (BoundaryHostMapOutput) ToBoundaryHostMapOutput

func (o BoundaryHostMapOutput) ToBoundaryHostMapOutput() BoundaryHostMapOutput

func (BoundaryHostMapOutput) ToBoundaryHostMapOutputWithContext

func (o BoundaryHostMapOutput) ToBoundaryHostMapOutputWithContext(ctx context.Context) BoundaryHostMapOutput

type BoundaryHostOutput

type BoundaryHostOutput struct{ *pulumi.OutputState }

func (BoundaryHostOutput) Address

The static address of the host resource as `<IP>` (note: port assignment occurs in the target resource definition, do not add :port here) or a domain name.

func (BoundaryHostOutput) Description

func (o BoundaryHostOutput) Description() pulumi.StringPtrOutput

The host description.

func (BoundaryHostOutput) ElementType

func (BoundaryHostOutput) ElementType() reflect.Type

func (BoundaryHostOutput) HostCatalogId

func (o BoundaryHostOutput) HostCatalogId() pulumi.StringOutput

func (BoundaryHostOutput) Name

The host name. Defaults to the resource name.

func (BoundaryHostOutput) ToBoundaryHostOutput

func (o BoundaryHostOutput) ToBoundaryHostOutput() BoundaryHostOutput

func (BoundaryHostOutput) ToBoundaryHostOutputWithContext

func (o BoundaryHostOutput) ToBoundaryHostOutputWithContext(ctx context.Context) BoundaryHostOutput

func (BoundaryHostOutput) Type

The type of host

type BoundaryHostSet deprecated

type BoundaryHostSet struct {
	pulumi.CustomResourceState

	// The host set description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The catalog for the host set.
	HostCatalogId pulumi.StringOutput `pulumi:"hostCatalogId"`
	// The list of host IDs contained in this set.
	HostIds pulumi.StringArrayOutput `pulumi:"hostIds"`
	// The host set name. Defaults to the resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The type of host set
	Type pulumi.StringOutput `pulumi:"type"`
}

Deprecated: use `BoundaryHostSetStatic` instead.

## Import

```sh

$ pulumi import boundary:index/boundaryHostSet:BoundaryHostSet foo <my-id>

```

func GetBoundaryHostSet

func GetBoundaryHostSet(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BoundaryHostSetState, opts ...pulumi.ResourceOption) (*BoundaryHostSet, error)

GetBoundaryHostSet gets an existing BoundaryHostSet resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBoundaryHostSet

func NewBoundaryHostSet(ctx *pulumi.Context,
	name string, args *BoundaryHostSetArgs, opts ...pulumi.ResourceOption) (*BoundaryHostSet, error)

NewBoundaryHostSet registers a new resource with the given unique name, arguments, and options.

func (*BoundaryHostSet) ElementType

func (*BoundaryHostSet) ElementType() reflect.Type

func (*BoundaryHostSet) ToBoundaryHostSetOutput

func (i *BoundaryHostSet) ToBoundaryHostSetOutput() BoundaryHostSetOutput

func (*BoundaryHostSet) ToBoundaryHostSetOutputWithContext

func (i *BoundaryHostSet) ToBoundaryHostSetOutputWithContext(ctx context.Context) BoundaryHostSetOutput

type BoundaryHostSetArgs

type BoundaryHostSetArgs struct {
	// The host set description.
	Description pulumi.StringPtrInput
	// The catalog for the host set.
	HostCatalogId pulumi.StringInput
	// The list of host IDs contained in this set.
	HostIds pulumi.StringArrayInput
	// The host set name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The type of host set
	Type pulumi.StringInput
}

The set of arguments for constructing a BoundaryHostSet resource.

func (BoundaryHostSetArgs) ElementType

func (BoundaryHostSetArgs) ElementType() reflect.Type

type BoundaryHostSetArray

type BoundaryHostSetArray []BoundaryHostSetInput

func (BoundaryHostSetArray) ElementType

func (BoundaryHostSetArray) ElementType() reflect.Type

func (BoundaryHostSetArray) ToBoundaryHostSetArrayOutput

func (i BoundaryHostSetArray) ToBoundaryHostSetArrayOutput() BoundaryHostSetArrayOutput

func (BoundaryHostSetArray) ToBoundaryHostSetArrayOutputWithContext

func (i BoundaryHostSetArray) ToBoundaryHostSetArrayOutputWithContext(ctx context.Context) BoundaryHostSetArrayOutput

type BoundaryHostSetArrayInput

type BoundaryHostSetArrayInput interface {
	pulumi.Input

	ToBoundaryHostSetArrayOutput() BoundaryHostSetArrayOutput
	ToBoundaryHostSetArrayOutputWithContext(context.Context) BoundaryHostSetArrayOutput
}

BoundaryHostSetArrayInput is an input type that accepts BoundaryHostSetArray and BoundaryHostSetArrayOutput values. You can construct a concrete instance of `BoundaryHostSetArrayInput` via:

BoundaryHostSetArray{ BoundaryHostSetArgs{...} }

type BoundaryHostSetArrayOutput

type BoundaryHostSetArrayOutput struct{ *pulumi.OutputState }

func (BoundaryHostSetArrayOutput) ElementType

func (BoundaryHostSetArrayOutput) ElementType() reflect.Type

func (BoundaryHostSetArrayOutput) Index

func (BoundaryHostSetArrayOutput) ToBoundaryHostSetArrayOutput

func (o BoundaryHostSetArrayOutput) ToBoundaryHostSetArrayOutput() BoundaryHostSetArrayOutput

func (BoundaryHostSetArrayOutput) ToBoundaryHostSetArrayOutputWithContext

func (o BoundaryHostSetArrayOutput) ToBoundaryHostSetArrayOutputWithContext(ctx context.Context) BoundaryHostSetArrayOutput

type BoundaryHostSetInput

type BoundaryHostSetInput interface {
	pulumi.Input

	ToBoundaryHostSetOutput() BoundaryHostSetOutput
	ToBoundaryHostSetOutputWithContext(ctx context.Context) BoundaryHostSetOutput
}

type BoundaryHostSetMap

type BoundaryHostSetMap map[string]BoundaryHostSetInput

func (BoundaryHostSetMap) ElementType

func (BoundaryHostSetMap) ElementType() reflect.Type

func (BoundaryHostSetMap) ToBoundaryHostSetMapOutput

func (i BoundaryHostSetMap) ToBoundaryHostSetMapOutput() BoundaryHostSetMapOutput

func (BoundaryHostSetMap) ToBoundaryHostSetMapOutputWithContext

func (i BoundaryHostSetMap) ToBoundaryHostSetMapOutputWithContext(ctx context.Context) BoundaryHostSetMapOutput

type BoundaryHostSetMapInput

type BoundaryHostSetMapInput interface {
	pulumi.Input

	ToBoundaryHostSetMapOutput() BoundaryHostSetMapOutput
	ToBoundaryHostSetMapOutputWithContext(context.Context) BoundaryHostSetMapOutput
}

BoundaryHostSetMapInput is an input type that accepts BoundaryHostSetMap and BoundaryHostSetMapOutput values. You can construct a concrete instance of `BoundaryHostSetMapInput` via:

BoundaryHostSetMap{ "key": BoundaryHostSetArgs{...} }

type BoundaryHostSetMapOutput

type BoundaryHostSetMapOutput struct{ *pulumi.OutputState }

func (BoundaryHostSetMapOutput) ElementType

func (BoundaryHostSetMapOutput) ElementType() reflect.Type

func (BoundaryHostSetMapOutput) MapIndex

func (BoundaryHostSetMapOutput) ToBoundaryHostSetMapOutput

func (o BoundaryHostSetMapOutput) ToBoundaryHostSetMapOutput() BoundaryHostSetMapOutput

func (BoundaryHostSetMapOutput) ToBoundaryHostSetMapOutputWithContext

func (o BoundaryHostSetMapOutput) ToBoundaryHostSetMapOutputWithContext(ctx context.Context) BoundaryHostSetMapOutput

type BoundaryHostSetOutput

type BoundaryHostSetOutput struct{ *pulumi.OutputState }

func (BoundaryHostSetOutput) Description

The host set description.

func (BoundaryHostSetOutput) ElementType

func (BoundaryHostSetOutput) ElementType() reflect.Type

func (BoundaryHostSetOutput) HostCatalogId

func (o BoundaryHostSetOutput) HostCatalogId() pulumi.StringOutput

The catalog for the host set.

func (BoundaryHostSetOutput) HostIds

The list of host IDs contained in this set.

func (BoundaryHostSetOutput) Name

The host set name. Defaults to the resource name.

func (BoundaryHostSetOutput) ToBoundaryHostSetOutput

func (o BoundaryHostSetOutput) ToBoundaryHostSetOutput() BoundaryHostSetOutput

func (BoundaryHostSetOutput) ToBoundaryHostSetOutputWithContext

func (o BoundaryHostSetOutput) ToBoundaryHostSetOutputWithContext(ctx context.Context) BoundaryHostSetOutput

func (BoundaryHostSetOutput) Type

The type of host set

type BoundaryHostSetPlugin

type BoundaryHostSetPlugin struct {
	pulumi.CustomResourceState

	// The attributes for the host set. Either values encoded with the "jsonencode" function, pre-escaped JSON string, or a file:// or env:// path. Set to a string "null" or remove the block to clear all attributes in the host set.
	AttributesJson pulumi.StringPtrOutput `pulumi:"attributesJson"`
	// The host set description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The catalog for the host set.
	HostCatalogId pulumi.StringOutput `pulumi:"hostCatalogId"`
	// The host set name. Defaults to the resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ordered list of preferred endpoints.
	PreferredEndpoints pulumi.StringArrayOutput `pulumi:"preferredEndpoints"`
	// The value to set for the sync interval seconds.
	SyncIntervalSeconds pulumi.IntPtrOutput `pulumi:"syncIntervalSeconds"`
	// The type of host set
	Type pulumi.StringPtrOutput `pulumi:"type"`
}

The hostSetPlugin resource allows you to configure a Boundary host set. Host sets are always part of a host catalog, so a host catalog resource should be used inline or you should have the host catalog ID in hand to successfully configure a host set.

func GetBoundaryHostSetPlugin

func GetBoundaryHostSetPlugin(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BoundaryHostSetPluginState, opts ...pulumi.ResourceOption) (*BoundaryHostSetPlugin, error)

GetBoundaryHostSetPlugin gets an existing BoundaryHostSetPlugin resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBoundaryHostSetPlugin

func NewBoundaryHostSetPlugin(ctx *pulumi.Context,
	name string, args *BoundaryHostSetPluginArgs, opts ...pulumi.ResourceOption) (*BoundaryHostSetPlugin, error)

NewBoundaryHostSetPlugin registers a new resource with the given unique name, arguments, and options.

func (*BoundaryHostSetPlugin) ElementType

func (*BoundaryHostSetPlugin) ElementType() reflect.Type

func (*BoundaryHostSetPlugin) ToBoundaryHostSetPluginOutput

func (i *BoundaryHostSetPlugin) ToBoundaryHostSetPluginOutput() BoundaryHostSetPluginOutput

func (*BoundaryHostSetPlugin) ToBoundaryHostSetPluginOutputWithContext

func (i *BoundaryHostSetPlugin) ToBoundaryHostSetPluginOutputWithContext(ctx context.Context) BoundaryHostSetPluginOutput

type BoundaryHostSetPluginArgs

type BoundaryHostSetPluginArgs struct {
	// The attributes for the host set. Either values encoded with the "jsonencode" function, pre-escaped JSON string, or a file:// or env:// path. Set to a string "null" or remove the block to clear all attributes in the host set.
	AttributesJson pulumi.StringPtrInput
	// The host set description.
	Description pulumi.StringPtrInput
	// The catalog for the host set.
	HostCatalogId pulumi.StringInput
	// The host set name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The ordered list of preferred endpoints.
	PreferredEndpoints pulumi.StringArrayInput
	// The value to set for the sync interval seconds.
	SyncIntervalSeconds pulumi.IntPtrInput
	// The type of host set
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a BoundaryHostSetPlugin resource.

func (BoundaryHostSetPluginArgs) ElementType

func (BoundaryHostSetPluginArgs) ElementType() reflect.Type

type BoundaryHostSetPluginArray

type BoundaryHostSetPluginArray []BoundaryHostSetPluginInput

func (BoundaryHostSetPluginArray) ElementType

func (BoundaryHostSetPluginArray) ElementType() reflect.Type

func (BoundaryHostSetPluginArray) ToBoundaryHostSetPluginArrayOutput

func (i BoundaryHostSetPluginArray) ToBoundaryHostSetPluginArrayOutput() BoundaryHostSetPluginArrayOutput

func (BoundaryHostSetPluginArray) ToBoundaryHostSetPluginArrayOutputWithContext

func (i BoundaryHostSetPluginArray) ToBoundaryHostSetPluginArrayOutputWithContext(ctx context.Context) BoundaryHostSetPluginArrayOutput

type BoundaryHostSetPluginArrayInput

type BoundaryHostSetPluginArrayInput interface {
	pulumi.Input

	ToBoundaryHostSetPluginArrayOutput() BoundaryHostSetPluginArrayOutput
	ToBoundaryHostSetPluginArrayOutputWithContext(context.Context) BoundaryHostSetPluginArrayOutput
}

BoundaryHostSetPluginArrayInput is an input type that accepts BoundaryHostSetPluginArray and BoundaryHostSetPluginArrayOutput values. You can construct a concrete instance of `BoundaryHostSetPluginArrayInput` via:

BoundaryHostSetPluginArray{ BoundaryHostSetPluginArgs{...} }

type BoundaryHostSetPluginArrayOutput

type BoundaryHostSetPluginArrayOutput struct{ *pulumi.OutputState }

func (BoundaryHostSetPluginArrayOutput) ElementType

func (BoundaryHostSetPluginArrayOutput) Index

func (BoundaryHostSetPluginArrayOutput) ToBoundaryHostSetPluginArrayOutput

func (o BoundaryHostSetPluginArrayOutput) ToBoundaryHostSetPluginArrayOutput() BoundaryHostSetPluginArrayOutput

func (BoundaryHostSetPluginArrayOutput) ToBoundaryHostSetPluginArrayOutputWithContext

func (o BoundaryHostSetPluginArrayOutput) ToBoundaryHostSetPluginArrayOutputWithContext(ctx context.Context) BoundaryHostSetPluginArrayOutput

type BoundaryHostSetPluginInput

type BoundaryHostSetPluginInput interface {
	pulumi.Input

	ToBoundaryHostSetPluginOutput() BoundaryHostSetPluginOutput
	ToBoundaryHostSetPluginOutputWithContext(ctx context.Context) BoundaryHostSetPluginOutput
}

type BoundaryHostSetPluginMap

type BoundaryHostSetPluginMap map[string]BoundaryHostSetPluginInput

func (BoundaryHostSetPluginMap) ElementType

func (BoundaryHostSetPluginMap) ElementType() reflect.Type

func (BoundaryHostSetPluginMap) ToBoundaryHostSetPluginMapOutput

func (i BoundaryHostSetPluginMap) ToBoundaryHostSetPluginMapOutput() BoundaryHostSetPluginMapOutput

func (BoundaryHostSetPluginMap) ToBoundaryHostSetPluginMapOutputWithContext

func (i BoundaryHostSetPluginMap) ToBoundaryHostSetPluginMapOutputWithContext(ctx context.Context) BoundaryHostSetPluginMapOutput

type BoundaryHostSetPluginMapInput

type BoundaryHostSetPluginMapInput interface {
	pulumi.Input

	ToBoundaryHostSetPluginMapOutput() BoundaryHostSetPluginMapOutput
	ToBoundaryHostSetPluginMapOutputWithContext(context.Context) BoundaryHostSetPluginMapOutput
}

BoundaryHostSetPluginMapInput is an input type that accepts BoundaryHostSetPluginMap and BoundaryHostSetPluginMapOutput values. You can construct a concrete instance of `BoundaryHostSetPluginMapInput` via:

BoundaryHostSetPluginMap{ "key": BoundaryHostSetPluginArgs{...} }

type BoundaryHostSetPluginMapOutput

type BoundaryHostSetPluginMapOutput struct{ *pulumi.OutputState }

func (BoundaryHostSetPluginMapOutput) ElementType

func (BoundaryHostSetPluginMapOutput) MapIndex

func (BoundaryHostSetPluginMapOutput) ToBoundaryHostSetPluginMapOutput

func (o BoundaryHostSetPluginMapOutput) ToBoundaryHostSetPluginMapOutput() BoundaryHostSetPluginMapOutput

func (BoundaryHostSetPluginMapOutput) ToBoundaryHostSetPluginMapOutputWithContext

func (o BoundaryHostSetPluginMapOutput) ToBoundaryHostSetPluginMapOutputWithContext(ctx context.Context) BoundaryHostSetPluginMapOutput

type BoundaryHostSetPluginOutput

type BoundaryHostSetPluginOutput struct{ *pulumi.OutputState }

func (BoundaryHostSetPluginOutput) AttributesJson

The attributes for the host set. Either values encoded with the "jsonencode" function, pre-escaped JSON string, or a file:// or env:// path. Set to a string "null" or remove the block to clear all attributes in the host set.

func (BoundaryHostSetPluginOutput) Description

The host set description.

func (BoundaryHostSetPluginOutput) ElementType

func (BoundaryHostSetPluginOutput) HostCatalogId

The catalog for the host set.

func (BoundaryHostSetPluginOutput) Name

The host set name. Defaults to the resource name.

func (BoundaryHostSetPluginOutput) PreferredEndpoints

func (o BoundaryHostSetPluginOutput) PreferredEndpoints() pulumi.StringArrayOutput

The ordered list of preferred endpoints.

func (BoundaryHostSetPluginOutput) SyncIntervalSeconds

func (o BoundaryHostSetPluginOutput) SyncIntervalSeconds() pulumi.IntPtrOutput

The value to set for the sync interval seconds.

func (BoundaryHostSetPluginOutput) ToBoundaryHostSetPluginOutput

func (o BoundaryHostSetPluginOutput) ToBoundaryHostSetPluginOutput() BoundaryHostSetPluginOutput

func (BoundaryHostSetPluginOutput) ToBoundaryHostSetPluginOutputWithContext

func (o BoundaryHostSetPluginOutput) ToBoundaryHostSetPluginOutputWithContext(ctx context.Context) BoundaryHostSetPluginOutput

func (BoundaryHostSetPluginOutput) Type

The type of host set

type BoundaryHostSetPluginState

type BoundaryHostSetPluginState struct {
	// The attributes for the host set. Either values encoded with the "jsonencode" function, pre-escaped JSON string, or a file:// or env:// path. Set to a string "null" or remove the block to clear all attributes in the host set.
	AttributesJson pulumi.StringPtrInput
	// The host set description.
	Description pulumi.StringPtrInput
	// The catalog for the host set.
	HostCatalogId pulumi.StringPtrInput
	// The host set name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The ordered list of preferred endpoints.
	PreferredEndpoints pulumi.StringArrayInput
	// The value to set for the sync interval seconds.
	SyncIntervalSeconds pulumi.IntPtrInput
	// The type of host set
	Type pulumi.StringPtrInput
}

func (BoundaryHostSetPluginState) ElementType

func (BoundaryHostSetPluginState) ElementType() reflect.Type

type BoundaryHostSetState

type BoundaryHostSetState struct {
	// The host set description.
	Description pulumi.StringPtrInput
	// The catalog for the host set.
	HostCatalogId pulumi.StringPtrInput
	// The list of host IDs contained in this set.
	HostIds pulumi.StringArrayInput
	// The host set name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The type of host set
	Type pulumi.StringPtrInput
}

func (BoundaryHostSetState) ElementType

func (BoundaryHostSetState) ElementType() reflect.Type

type BoundaryHostSetStatic

type BoundaryHostSetStatic struct {
	pulumi.CustomResourceState

	// The host set description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The catalog for the host set.
	HostCatalogId pulumi.StringOutput `pulumi:"hostCatalogId"`
	// The list of host IDs contained in this set.
	HostIds pulumi.StringArrayOutput `pulumi:"hostIds"`
	// The host set name. Defaults to the resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The type of host set
	Type pulumi.StringPtrOutput `pulumi:"type"`
}

The hostSetStatic resource allows you to configure a Boundary host set. Host sets are always part of a host catalog, so a host catalog resource should be used inline or you should have the host catalog ID in hand to successfully configure a host set.

func GetBoundaryHostSetStatic

func GetBoundaryHostSetStatic(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BoundaryHostSetStaticState, opts ...pulumi.ResourceOption) (*BoundaryHostSetStatic, error)

GetBoundaryHostSetStatic gets an existing BoundaryHostSetStatic resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBoundaryHostSetStatic

func NewBoundaryHostSetStatic(ctx *pulumi.Context,
	name string, args *BoundaryHostSetStaticArgs, opts ...pulumi.ResourceOption) (*BoundaryHostSetStatic, error)

NewBoundaryHostSetStatic registers a new resource with the given unique name, arguments, and options.

func (*BoundaryHostSetStatic) ElementType

func (*BoundaryHostSetStatic) ElementType() reflect.Type

func (*BoundaryHostSetStatic) ToBoundaryHostSetStaticOutput

func (i *BoundaryHostSetStatic) ToBoundaryHostSetStaticOutput() BoundaryHostSetStaticOutput

func (*BoundaryHostSetStatic) ToBoundaryHostSetStaticOutputWithContext

func (i *BoundaryHostSetStatic) ToBoundaryHostSetStaticOutputWithContext(ctx context.Context) BoundaryHostSetStaticOutput

type BoundaryHostSetStaticArgs

type BoundaryHostSetStaticArgs struct {
	// The host set description.
	Description pulumi.StringPtrInput
	// The catalog for the host set.
	HostCatalogId pulumi.StringInput
	// The list of host IDs contained in this set.
	HostIds pulumi.StringArrayInput
	// The host set name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The type of host set
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a BoundaryHostSetStatic resource.

func (BoundaryHostSetStaticArgs) ElementType

func (BoundaryHostSetStaticArgs) ElementType() reflect.Type

type BoundaryHostSetStaticArray

type BoundaryHostSetStaticArray []BoundaryHostSetStaticInput

func (BoundaryHostSetStaticArray) ElementType

func (BoundaryHostSetStaticArray) ElementType() reflect.Type

func (BoundaryHostSetStaticArray) ToBoundaryHostSetStaticArrayOutput

func (i BoundaryHostSetStaticArray) ToBoundaryHostSetStaticArrayOutput() BoundaryHostSetStaticArrayOutput

func (BoundaryHostSetStaticArray) ToBoundaryHostSetStaticArrayOutputWithContext

func (i BoundaryHostSetStaticArray) ToBoundaryHostSetStaticArrayOutputWithContext(ctx context.Context) BoundaryHostSetStaticArrayOutput

type BoundaryHostSetStaticArrayInput

type BoundaryHostSetStaticArrayInput interface {
	pulumi.Input

	ToBoundaryHostSetStaticArrayOutput() BoundaryHostSetStaticArrayOutput
	ToBoundaryHostSetStaticArrayOutputWithContext(context.Context) BoundaryHostSetStaticArrayOutput
}

BoundaryHostSetStaticArrayInput is an input type that accepts BoundaryHostSetStaticArray and BoundaryHostSetStaticArrayOutput values. You can construct a concrete instance of `BoundaryHostSetStaticArrayInput` via:

BoundaryHostSetStaticArray{ BoundaryHostSetStaticArgs{...} }

type BoundaryHostSetStaticArrayOutput

type BoundaryHostSetStaticArrayOutput struct{ *pulumi.OutputState }

func (BoundaryHostSetStaticArrayOutput) ElementType

func (BoundaryHostSetStaticArrayOutput) Index

func (BoundaryHostSetStaticArrayOutput) ToBoundaryHostSetStaticArrayOutput

func (o BoundaryHostSetStaticArrayOutput) ToBoundaryHostSetStaticArrayOutput() BoundaryHostSetStaticArrayOutput

func (BoundaryHostSetStaticArrayOutput) ToBoundaryHostSetStaticArrayOutputWithContext

func (o BoundaryHostSetStaticArrayOutput) ToBoundaryHostSetStaticArrayOutputWithContext(ctx context.Context) BoundaryHostSetStaticArrayOutput

type BoundaryHostSetStaticInput

type BoundaryHostSetStaticInput interface {
	pulumi.Input

	ToBoundaryHostSetStaticOutput() BoundaryHostSetStaticOutput
	ToBoundaryHostSetStaticOutputWithContext(ctx context.Context) BoundaryHostSetStaticOutput
}

type BoundaryHostSetStaticMap

type BoundaryHostSetStaticMap map[string]BoundaryHostSetStaticInput

func (BoundaryHostSetStaticMap) ElementType

func (BoundaryHostSetStaticMap) ElementType() reflect.Type

func (BoundaryHostSetStaticMap) ToBoundaryHostSetStaticMapOutput

func (i BoundaryHostSetStaticMap) ToBoundaryHostSetStaticMapOutput() BoundaryHostSetStaticMapOutput

func (BoundaryHostSetStaticMap) ToBoundaryHostSetStaticMapOutputWithContext

func (i BoundaryHostSetStaticMap) ToBoundaryHostSetStaticMapOutputWithContext(ctx context.Context) BoundaryHostSetStaticMapOutput

type BoundaryHostSetStaticMapInput

type BoundaryHostSetStaticMapInput interface {
	pulumi.Input

	ToBoundaryHostSetStaticMapOutput() BoundaryHostSetStaticMapOutput
	ToBoundaryHostSetStaticMapOutputWithContext(context.Context) BoundaryHostSetStaticMapOutput
}

BoundaryHostSetStaticMapInput is an input type that accepts BoundaryHostSetStaticMap and BoundaryHostSetStaticMapOutput values. You can construct a concrete instance of `BoundaryHostSetStaticMapInput` via:

BoundaryHostSetStaticMap{ "key": BoundaryHostSetStaticArgs{...} }

type BoundaryHostSetStaticMapOutput

type BoundaryHostSetStaticMapOutput struct{ *pulumi.OutputState }

func (BoundaryHostSetStaticMapOutput) ElementType

func (BoundaryHostSetStaticMapOutput) MapIndex

func (BoundaryHostSetStaticMapOutput) ToBoundaryHostSetStaticMapOutput

func (o BoundaryHostSetStaticMapOutput) ToBoundaryHostSetStaticMapOutput() BoundaryHostSetStaticMapOutput

func (BoundaryHostSetStaticMapOutput) ToBoundaryHostSetStaticMapOutputWithContext

func (o BoundaryHostSetStaticMapOutput) ToBoundaryHostSetStaticMapOutputWithContext(ctx context.Context) BoundaryHostSetStaticMapOutput

type BoundaryHostSetStaticOutput

type BoundaryHostSetStaticOutput struct{ *pulumi.OutputState }

func (BoundaryHostSetStaticOutput) Description

The host set description.

func (BoundaryHostSetStaticOutput) ElementType

func (BoundaryHostSetStaticOutput) HostCatalogId

The catalog for the host set.

func (BoundaryHostSetStaticOutput) HostIds

The list of host IDs contained in this set.

func (BoundaryHostSetStaticOutput) Name

The host set name. Defaults to the resource name.

func (BoundaryHostSetStaticOutput) ToBoundaryHostSetStaticOutput

func (o BoundaryHostSetStaticOutput) ToBoundaryHostSetStaticOutput() BoundaryHostSetStaticOutput

func (BoundaryHostSetStaticOutput) ToBoundaryHostSetStaticOutputWithContext

func (o BoundaryHostSetStaticOutput) ToBoundaryHostSetStaticOutputWithContext(ctx context.Context) BoundaryHostSetStaticOutput

func (BoundaryHostSetStaticOutput) Type

The type of host set

type BoundaryHostSetStaticState

type BoundaryHostSetStaticState struct {
	// The host set description.
	Description pulumi.StringPtrInput
	// The catalog for the host set.
	HostCatalogId pulumi.StringPtrInput
	// The list of host IDs contained in this set.
	HostIds pulumi.StringArrayInput
	// The host set name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The type of host set
	Type pulumi.StringPtrInput
}

func (BoundaryHostSetStaticState) ElementType

func (BoundaryHostSetStaticState) ElementType() reflect.Type

type BoundaryHostState

type BoundaryHostState struct {
	// The static address of the host resource as `<IP>` (note: port assignment occurs in the target resource definition, do not add :port here) or a domain name.
	Address pulumi.StringPtrInput
	// The host description.
	Description   pulumi.StringPtrInput
	HostCatalogId pulumi.StringPtrInput
	// The host name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The type of host
	Type pulumi.StringPtrInput
}

func (BoundaryHostState) ElementType

func (BoundaryHostState) ElementType() reflect.Type

type BoundaryHostStatic

type BoundaryHostStatic struct {
	pulumi.CustomResourceState

	// The static address of the host resource as `<IP>` (note: port assignment occurs in the target resource definition, do not add :port here) or a domain name.
	Address pulumi.StringPtrOutput `pulumi:"address"`
	// The host description.
	Description   pulumi.StringPtrOutput `pulumi:"description"`
	HostCatalogId pulumi.StringOutput    `pulumi:"hostCatalogId"`
	// The host name. Defaults to the resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The type of host
	Type pulumi.StringPtrOutput `pulumi:"type"`
}

The static host resource allows you to configure a Boundary static host. Hosts are always part of a project, so a project resource should be used inline or you should have the project ID in hand to successfully configure a host.

func GetBoundaryHostStatic

func GetBoundaryHostStatic(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BoundaryHostStaticState, opts ...pulumi.ResourceOption) (*BoundaryHostStatic, error)

GetBoundaryHostStatic gets an existing BoundaryHostStatic resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBoundaryHostStatic

func NewBoundaryHostStatic(ctx *pulumi.Context,
	name string, args *BoundaryHostStaticArgs, opts ...pulumi.ResourceOption) (*BoundaryHostStatic, error)

NewBoundaryHostStatic registers a new resource with the given unique name, arguments, and options.

func (*BoundaryHostStatic) ElementType

func (*BoundaryHostStatic) ElementType() reflect.Type

func (*BoundaryHostStatic) ToBoundaryHostStaticOutput

func (i *BoundaryHostStatic) ToBoundaryHostStaticOutput() BoundaryHostStaticOutput

func (*BoundaryHostStatic) ToBoundaryHostStaticOutputWithContext

func (i *BoundaryHostStatic) ToBoundaryHostStaticOutputWithContext(ctx context.Context) BoundaryHostStaticOutput

type BoundaryHostStaticArgs

type BoundaryHostStaticArgs struct {
	// The static address of the host resource as `<IP>` (note: port assignment occurs in the target resource definition, do not add :port here) or a domain name.
	Address pulumi.StringPtrInput
	// The host description.
	Description   pulumi.StringPtrInput
	HostCatalogId pulumi.StringInput
	// The host name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The type of host
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a BoundaryHostStatic resource.

func (BoundaryHostStaticArgs) ElementType

func (BoundaryHostStaticArgs) ElementType() reflect.Type

type BoundaryHostStaticArray

type BoundaryHostStaticArray []BoundaryHostStaticInput

func (BoundaryHostStaticArray) ElementType

func (BoundaryHostStaticArray) ElementType() reflect.Type

func (BoundaryHostStaticArray) ToBoundaryHostStaticArrayOutput

func (i BoundaryHostStaticArray) ToBoundaryHostStaticArrayOutput() BoundaryHostStaticArrayOutput

func (BoundaryHostStaticArray) ToBoundaryHostStaticArrayOutputWithContext

func (i BoundaryHostStaticArray) ToBoundaryHostStaticArrayOutputWithContext(ctx context.Context) BoundaryHostStaticArrayOutput

type BoundaryHostStaticArrayInput

type BoundaryHostStaticArrayInput interface {
	pulumi.Input

	ToBoundaryHostStaticArrayOutput() BoundaryHostStaticArrayOutput
	ToBoundaryHostStaticArrayOutputWithContext(context.Context) BoundaryHostStaticArrayOutput
}

BoundaryHostStaticArrayInput is an input type that accepts BoundaryHostStaticArray and BoundaryHostStaticArrayOutput values. You can construct a concrete instance of `BoundaryHostStaticArrayInput` via:

BoundaryHostStaticArray{ BoundaryHostStaticArgs{...} }

type BoundaryHostStaticArrayOutput

type BoundaryHostStaticArrayOutput struct{ *pulumi.OutputState }

func (BoundaryHostStaticArrayOutput) ElementType

func (BoundaryHostStaticArrayOutput) Index

func (BoundaryHostStaticArrayOutput) ToBoundaryHostStaticArrayOutput

func (o BoundaryHostStaticArrayOutput) ToBoundaryHostStaticArrayOutput() BoundaryHostStaticArrayOutput

func (BoundaryHostStaticArrayOutput) ToBoundaryHostStaticArrayOutputWithContext

func (o BoundaryHostStaticArrayOutput) ToBoundaryHostStaticArrayOutputWithContext(ctx context.Context) BoundaryHostStaticArrayOutput

type BoundaryHostStaticInput

type BoundaryHostStaticInput interface {
	pulumi.Input

	ToBoundaryHostStaticOutput() BoundaryHostStaticOutput
	ToBoundaryHostStaticOutputWithContext(ctx context.Context) BoundaryHostStaticOutput
}

type BoundaryHostStaticMap

type BoundaryHostStaticMap map[string]BoundaryHostStaticInput

func (BoundaryHostStaticMap) ElementType

func (BoundaryHostStaticMap) ElementType() reflect.Type

func (BoundaryHostStaticMap) ToBoundaryHostStaticMapOutput

func (i BoundaryHostStaticMap) ToBoundaryHostStaticMapOutput() BoundaryHostStaticMapOutput

func (BoundaryHostStaticMap) ToBoundaryHostStaticMapOutputWithContext

func (i BoundaryHostStaticMap) ToBoundaryHostStaticMapOutputWithContext(ctx context.Context) BoundaryHostStaticMapOutput

type BoundaryHostStaticMapInput

type BoundaryHostStaticMapInput interface {
	pulumi.Input

	ToBoundaryHostStaticMapOutput() BoundaryHostStaticMapOutput
	ToBoundaryHostStaticMapOutputWithContext(context.Context) BoundaryHostStaticMapOutput
}

BoundaryHostStaticMapInput is an input type that accepts BoundaryHostStaticMap and BoundaryHostStaticMapOutput values. You can construct a concrete instance of `BoundaryHostStaticMapInput` via:

BoundaryHostStaticMap{ "key": BoundaryHostStaticArgs{...} }

type BoundaryHostStaticMapOutput

type BoundaryHostStaticMapOutput struct{ *pulumi.OutputState }

func (BoundaryHostStaticMapOutput) ElementType

func (BoundaryHostStaticMapOutput) MapIndex

func (BoundaryHostStaticMapOutput) ToBoundaryHostStaticMapOutput

func (o BoundaryHostStaticMapOutput) ToBoundaryHostStaticMapOutput() BoundaryHostStaticMapOutput

func (BoundaryHostStaticMapOutput) ToBoundaryHostStaticMapOutputWithContext

func (o BoundaryHostStaticMapOutput) ToBoundaryHostStaticMapOutputWithContext(ctx context.Context) BoundaryHostStaticMapOutput

type BoundaryHostStaticOutput

type BoundaryHostStaticOutput struct{ *pulumi.OutputState }

func (BoundaryHostStaticOutput) Address

The static address of the host resource as `<IP>` (note: port assignment occurs in the target resource definition, do not add :port here) or a domain name.

func (BoundaryHostStaticOutput) Description

The host description.

func (BoundaryHostStaticOutput) ElementType

func (BoundaryHostStaticOutput) ElementType() reflect.Type

func (BoundaryHostStaticOutput) HostCatalogId

func (o BoundaryHostStaticOutput) HostCatalogId() pulumi.StringOutput

func (BoundaryHostStaticOutput) Name

The host name. Defaults to the resource name.

func (BoundaryHostStaticOutput) ToBoundaryHostStaticOutput

func (o BoundaryHostStaticOutput) ToBoundaryHostStaticOutput() BoundaryHostStaticOutput

func (BoundaryHostStaticOutput) ToBoundaryHostStaticOutputWithContext

func (o BoundaryHostStaticOutput) ToBoundaryHostStaticOutputWithContext(ctx context.Context) BoundaryHostStaticOutput

func (BoundaryHostStaticOutput) Type

The type of host

type BoundaryHostStaticState

type BoundaryHostStaticState struct {
	// The static address of the host resource as `<IP>` (note: port assignment occurs in the target resource definition, do not add :port here) or a domain name.
	Address pulumi.StringPtrInput
	// The host description.
	Description   pulumi.StringPtrInput
	HostCatalogId pulumi.StringPtrInput
	// The host name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The type of host
	Type pulumi.StringPtrInput
}

func (BoundaryHostStaticState) ElementType

func (BoundaryHostStaticState) ElementType() reflect.Type

type BoundaryManagedGroup

type BoundaryManagedGroup struct {
	pulumi.CustomResourceState

	// The resource ID for the auth method.
	AuthMethodId pulumi.StringOutput `pulumi:"authMethodId"`
	// The managed group description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Boolean expression to filter the workers for this managed group.
	Filter pulumi.StringOutput `pulumi:"filter"`
	// The managed group name. Defaults to the resource name.
	Name pulumi.StringOutput `pulumi:"name"`
}

The managed group resource allows you to configure a Boundary group.

func GetBoundaryManagedGroup

func GetBoundaryManagedGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BoundaryManagedGroupState, opts ...pulumi.ResourceOption) (*BoundaryManagedGroup, error)

GetBoundaryManagedGroup gets an existing BoundaryManagedGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBoundaryManagedGroup

func NewBoundaryManagedGroup(ctx *pulumi.Context,
	name string, args *BoundaryManagedGroupArgs, opts ...pulumi.ResourceOption) (*BoundaryManagedGroup, error)

NewBoundaryManagedGroup registers a new resource with the given unique name, arguments, and options.

func (*BoundaryManagedGroup) ElementType

func (*BoundaryManagedGroup) ElementType() reflect.Type

func (*BoundaryManagedGroup) ToBoundaryManagedGroupOutput

func (i *BoundaryManagedGroup) ToBoundaryManagedGroupOutput() BoundaryManagedGroupOutput

func (*BoundaryManagedGroup) ToBoundaryManagedGroupOutputWithContext

func (i *BoundaryManagedGroup) ToBoundaryManagedGroupOutputWithContext(ctx context.Context) BoundaryManagedGroupOutput

type BoundaryManagedGroupArgs

type BoundaryManagedGroupArgs struct {
	// The resource ID for the auth method.
	AuthMethodId pulumi.StringInput
	// The managed group description.
	Description pulumi.StringPtrInput
	// Boolean expression to filter the workers for this managed group.
	Filter pulumi.StringInput
	// The managed group name. Defaults to the resource name.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a BoundaryManagedGroup resource.

func (BoundaryManagedGroupArgs) ElementType

func (BoundaryManagedGroupArgs) ElementType() reflect.Type

type BoundaryManagedGroupArray

type BoundaryManagedGroupArray []BoundaryManagedGroupInput

func (BoundaryManagedGroupArray) ElementType

func (BoundaryManagedGroupArray) ElementType() reflect.Type

func (BoundaryManagedGroupArray) ToBoundaryManagedGroupArrayOutput

func (i BoundaryManagedGroupArray) ToBoundaryManagedGroupArrayOutput() BoundaryManagedGroupArrayOutput

func (BoundaryManagedGroupArray) ToBoundaryManagedGroupArrayOutputWithContext

func (i BoundaryManagedGroupArray) ToBoundaryManagedGroupArrayOutputWithContext(ctx context.Context) BoundaryManagedGroupArrayOutput

type BoundaryManagedGroupArrayInput

type BoundaryManagedGroupArrayInput interface {
	pulumi.Input

	ToBoundaryManagedGroupArrayOutput() BoundaryManagedGroupArrayOutput
	ToBoundaryManagedGroupArrayOutputWithContext(context.Context) BoundaryManagedGroupArrayOutput
}

BoundaryManagedGroupArrayInput is an input type that accepts BoundaryManagedGroupArray and BoundaryManagedGroupArrayOutput values. You can construct a concrete instance of `BoundaryManagedGroupArrayInput` via:

BoundaryManagedGroupArray{ BoundaryManagedGroupArgs{...} }

type BoundaryManagedGroupArrayOutput

type BoundaryManagedGroupArrayOutput struct{ *pulumi.OutputState }

func (BoundaryManagedGroupArrayOutput) ElementType

func (BoundaryManagedGroupArrayOutput) Index

func (BoundaryManagedGroupArrayOutput) ToBoundaryManagedGroupArrayOutput

func (o BoundaryManagedGroupArrayOutput) ToBoundaryManagedGroupArrayOutput() BoundaryManagedGroupArrayOutput

func (BoundaryManagedGroupArrayOutput) ToBoundaryManagedGroupArrayOutputWithContext

func (o BoundaryManagedGroupArrayOutput) ToBoundaryManagedGroupArrayOutputWithContext(ctx context.Context) BoundaryManagedGroupArrayOutput

type BoundaryManagedGroupInput

type BoundaryManagedGroupInput interface {
	pulumi.Input

	ToBoundaryManagedGroupOutput() BoundaryManagedGroupOutput
	ToBoundaryManagedGroupOutputWithContext(ctx context.Context) BoundaryManagedGroupOutput
}

type BoundaryManagedGroupMap

type BoundaryManagedGroupMap map[string]BoundaryManagedGroupInput

func (BoundaryManagedGroupMap) ElementType

func (BoundaryManagedGroupMap) ElementType() reflect.Type

func (BoundaryManagedGroupMap) ToBoundaryManagedGroupMapOutput

func (i BoundaryManagedGroupMap) ToBoundaryManagedGroupMapOutput() BoundaryManagedGroupMapOutput

func (BoundaryManagedGroupMap) ToBoundaryManagedGroupMapOutputWithContext

func (i BoundaryManagedGroupMap) ToBoundaryManagedGroupMapOutputWithContext(ctx context.Context) BoundaryManagedGroupMapOutput

type BoundaryManagedGroupMapInput

type BoundaryManagedGroupMapInput interface {
	pulumi.Input

	ToBoundaryManagedGroupMapOutput() BoundaryManagedGroupMapOutput
	ToBoundaryManagedGroupMapOutputWithContext(context.Context) BoundaryManagedGroupMapOutput
}

BoundaryManagedGroupMapInput is an input type that accepts BoundaryManagedGroupMap and BoundaryManagedGroupMapOutput values. You can construct a concrete instance of `BoundaryManagedGroupMapInput` via:

BoundaryManagedGroupMap{ "key": BoundaryManagedGroupArgs{...} }

type BoundaryManagedGroupMapOutput

type BoundaryManagedGroupMapOutput struct{ *pulumi.OutputState }

func (BoundaryManagedGroupMapOutput) ElementType

func (BoundaryManagedGroupMapOutput) MapIndex

func (BoundaryManagedGroupMapOutput) ToBoundaryManagedGroupMapOutput

func (o BoundaryManagedGroupMapOutput) ToBoundaryManagedGroupMapOutput() BoundaryManagedGroupMapOutput

func (BoundaryManagedGroupMapOutput) ToBoundaryManagedGroupMapOutputWithContext

func (o BoundaryManagedGroupMapOutput) ToBoundaryManagedGroupMapOutputWithContext(ctx context.Context) BoundaryManagedGroupMapOutput

type BoundaryManagedGroupOutput

type BoundaryManagedGroupOutput struct{ *pulumi.OutputState }

func (BoundaryManagedGroupOutput) AuthMethodId

The resource ID for the auth method.

func (BoundaryManagedGroupOutput) Description

The managed group description.

func (BoundaryManagedGroupOutput) ElementType

func (BoundaryManagedGroupOutput) ElementType() reflect.Type

func (BoundaryManagedGroupOutput) Filter

Boolean expression to filter the workers for this managed group.

func (BoundaryManagedGroupOutput) Name

The managed group name. Defaults to the resource name.

func (BoundaryManagedGroupOutput) ToBoundaryManagedGroupOutput

func (o BoundaryManagedGroupOutput) ToBoundaryManagedGroupOutput() BoundaryManagedGroupOutput

func (BoundaryManagedGroupOutput) ToBoundaryManagedGroupOutputWithContext

func (o BoundaryManagedGroupOutput) ToBoundaryManagedGroupOutputWithContext(ctx context.Context) BoundaryManagedGroupOutput

type BoundaryManagedGroupState

type BoundaryManagedGroupState struct {
	// The resource ID for the auth method.
	AuthMethodId pulumi.StringPtrInput
	// The managed group description.
	Description pulumi.StringPtrInput
	// Boolean expression to filter the workers for this managed group.
	Filter pulumi.StringPtrInput
	// The managed group name. Defaults to the resource name.
	Name pulumi.StringPtrInput
}

func (BoundaryManagedGroupState) ElementType

func (BoundaryManagedGroupState) ElementType() reflect.Type

type BoundaryRole

type BoundaryRole struct {
	pulumi.CustomResourceState

	// The role description.
	Description  pulumi.StringPtrOutput `pulumi:"description"`
	GrantScopeId pulumi.StringOutput    `pulumi:"grantScopeId"`
	// A list of stringified grants for the role.
	GrantStrings pulumi.StringArrayOutput `pulumi:"grantStrings"`
	// The role name. Defaults to the resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// A list of principal (user or group) IDs to add as principals on the role.
	PrincipalIds pulumi.StringArrayOutput `pulumi:"principalIds"`
	// The scope ID in which the resource is created. Defaults to the provider's `defaultScope` if unset.
	ScopeId pulumi.StringOutput `pulumi:"scopeId"`
}

The role resource allows you to configure a Boundary role.

## Example Usage

Basic usage:

```go package main

import (

"github.com/katasec/pulumi-boundary/sdk/go/boundary"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		org, err := boundary.NewBoundaryScope(ctx, "org", &boundary.BoundaryScopeArgs{
			Description:           pulumi.String("My first scope!"),
			ScopeId:               pulumi.String("global"),
			AutoCreateAdminRole:   pulumi.Bool(true),
			AutoCreateDefaultRole: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = boundary.NewBoundaryRole(ctx, "example", &boundary.BoundaryRoleArgs{
			Description: pulumi.String("My first role!"),
			ScopeId:     org.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Usage with a user resource:

```go package main

import (

"github.com/katasec/pulumi-boundary/sdk/go/boundary"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		org, err := boundary.NewBoundaryScope(ctx, "org", &boundary.BoundaryScopeArgs{
			Description:           pulumi.String("My first scope!"),
			ScopeId:               pulumi.String("global"),
			AutoCreateAdminRole:   pulumi.Bool(true),
			AutoCreateDefaultRole: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		foo, err := boundary.NewBoundaryUser(ctx, "foo", &boundary.BoundaryUserArgs{
			ScopeId: org.ID(),
		})
		if err != nil {
			return err
		}
		bar, err := boundary.NewBoundaryUser(ctx, "bar", &boundary.BoundaryUserArgs{
			ScopeId: org.ID(),
		})
		if err != nil {
			return err
		}
		_, err = boundary.NewBoundaryRole(ctx, "example", &boundary.BoundaryRoleArgs{
			Description: pulumi.String("My first role!"),
			PrincipalIds: pulumi.StringArray{
				foo.ID(),
				bar.ID(),
			},
			ScopeId: org.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Usage with user and grants resource:

```go package main

import (

"github.com/katasec/pulumi-boundary/sdk/go/boundary"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		org, err := boundary.NewBoundaryScope(ctx, "org", &boundary.BoundaryScopeArgs{
			Description:           pulumi.String("My first scope!"),
			ScopeId:               pulumi.String("global"),
			AutoCreateAdminRole:   pulumi.Bool(true),
			AutoCreateDefaultRole: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		readonlyBoundaryUser, err := boundary.NewBoundaryUser(ctx, "readonlyBoundaryUser", &boundary.BoundaryUserArgs{
			Description: pulumi.String("A readonly user"),
			ScopeId:     org.ID(),
		})
		if err != nil {
			return err
		}
		_, err = boundary.NewBoundaryRole(ctx, "readonlyBoundaryRole", &boundary.BoundaryRoleArgs{
			Description: pulumi.String("A readonly role"),
			PrincipalIds: pulumi.StringArray{
				readonlyBoundaryUser.ID(),
			},
			GrantStrings: pulumi.StringArray{
				pulumi.String("id=*;type=*;actions=read"),
			},
			ScopeId: org.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Usage for a project-specific role:

```go package main

import (

"github.com/katasec/pulumi-boundary/sdk/go/boundary"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		org, err := boundary.NewBoundaryScope(ctx, "org", &boundary.BoundaryScopeArgs{
			Description:           pulumi.String("My first scope!"),
			ScopeId:               pulumi.String("global"),
			AutoCreateAdminRole:   pulumi.Bool(true),
			AutoCreateDefaultRole: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		project, err := boundary.NewBoundaryScope(ctx, "project", &boundary.BoundaryScopeArgs{
			Description:         pulumi.String("My first scope!"),
			ScopeId:             org.ID(),
			AutoCreateAdminRole: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		readonlyBoundaryUser, err := boundary.NewBoundaryUser(ctx, "readonlyBoundaryUser", &boundary.BoundaryUserArgs{
			Description: pulumi.String("A readonly user"),
			ScopeId:     org.ID(),
		})
		if err != nil {
			return err
		}
		_, err = boundary.NewBoundaryRole(ctx, "readonlyBoundaryRole", &boundary.BoundaryRoleArgs{
			Description: pulumi.String("A readonly role"),
			PrincipalIds: pulumi.StringArray{
				readonlyBoundaryUser.ID(),
			},
			GrantStrings: pulumi.StringArray{
				pulumi.String("id=*;type=*;actions=read"),
			},
			ScopeId: project.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import boundary:index/boundaryRole:BoundaryRole foo <my-id>

```

func GetBoundaryRole

func GetBoundaryRole(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BoundaryRoleState, opts ...pulumi.ResourceOption) (*BoundaryRole, error)

GetBoundaryRole gets an existing BoundaryRole resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBoundaryRole

func NewBoundaryRole(ctx *pulumi.Context,
	name string, args *BoundaryRoleArgs, opts ...pulumi.ResourceOption) (*BoundaryRole, error)

NewBoundaryRole registers a new resource with the given unique name, arguments, and options.

func (*BoundaryRole) ElementType

func (*BoundaryRole) ElementType() reflect.Type

func (*BoundaryRole) ToBoundaryRoleOutput

func (i *BoundaryRole) ToBoundaryRoleOutput() BoundaryRoleOutput

func (*BoundaryRole) ToBoundaryRoleOutputWithContext

func (i *BoundaryRole) ToBoundaryRoleOutputWithContext(ctx context.Context) BoundaryRoleOutput

type BoundaryRoleArgs

type BoundaryRoleArgs struct {
	// The role description.
	Description  pulumi.StringPtrInput
	GrantScopeId pulumi.StringPtrInput
	// A list of stringified grants for the role.
	GrantStrings pulumi.StringArrayInput
	// The role name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// A list of principal (user or group) IDs to add as principals on the role.
	PrincipalIds pulumi.StringArrayInput
	// The scope ID in which the resource is created. Defaults to the provider's `defaultScope` if unset.
	ScopeId pulumi.StringInput
}

The set of arguments for constructing a BoundaryRole resource.

func (BoundaryRoleArgs) ElementType

func (BoundaryRoleArgs) ElementType() reflect.Type

type BoundaryRoleArray

type BoundaryRoleArray []BoundaryRoleInput

func (BoundaryRoleArray) ElementType

func (BoundaryRoleArray) ElementType() reflect.Type

func (BoundaryRoleArray) ToBoundaryRoleArrayOutput

func (i BoundaryRoleArray) ToBoundaryRoleArrayOutput() BoundaryRoleArrayOutput

func (BoundaryRoleArray) ToBoundaryRoleArrayOutputWithContext

func (i BoundaryRoleArray) ToBoundaryRoleArrayOutputWithContext(ctx context.Context) BoundaryRoleArrayOutput

type BoundaryRoleArrayInput

type BoundaryRoleArrayInput interface {
	pulumi.Input

	ToBoundaryRoleArrayOutput() BoundaryRoleArrayOutput
	ToBoundaryRoleArrayOutputWithContext(context.Context) BoundaryRoleArrayOutput
}

BoundaryRoleArrayInput is an input type that accepts BoundaryRoleArray and BoundaryRoleArrayOutput values. You can construct a concrete instance of `BoundaryRoleArrayInput` via:

BoundaryRoleArray{ BoundaryRoleArgs{...} }

type BoundaryRoleArrayOutput

type BoundaryRoleArrayOutput struct{ *pulumi.OutputState }

func (BoundaryRoleArrayOutput) ElementType

func (BoundaryRoleArrayOutput) ElementType() reflect.Type

func (BoundaryRoleArrayOutput) Index

func (BoundaryRoleArrayOutput) ToBoundaryRoleArrayOutput

func (o BoundaryRoleArrayOutput) ToBoundaryRoleArrayOutput() BoundaryRoleArrayOutput

func (BoundaryRoleArrayOutput) ToBoundaryRoleArrayOutputWithContext

func (o BoundaryRoleArrayOutput) ToBoundaryRoleArrayOutputWithContext(ctx context.Context) BoundaryRoleArrayOutput

type BoundaryRoleInput

type BoundaryRoleInput interface {
	pulumi.Input

	ToBoundaryRoleOutput() BoundaryRoleOutput
	ToBoundaryRoleOutputWithContext(ctx context.Context) BoundaryRoleOutput
}

type BoundaryRoleMap

type BoundaryRoleMap map[string]BoundaryRoleInput

func (BoundaryRoleMap) ElementType

func (BoundaryRoleMap) ElementType() reflect.Type

func (BoundaryRoleMap) ToBoundaryRoleMapOutput

func (i BoundaryRoleMap) ToBoundaryRoleMapOutput() BoundaryRoleMapOutput

func (BoundaryRoleMap) ToBoundaryRoleMapOutputWithContext

func (i BoundaryRoleMap) ToBoundaryRoleMapOutputWithContext(ctx context.Context) BoundaryRoleMapOutput

type BoundaryRoleMapInput

type BoundaryRoleMapInput interface {
	pulumi.Input

	ToBoundaryRoleMapOutput() BoundaryRoleMapOutput
	ToBoundaryRoleMapOutputWithContext(context.Context) BoundaryRoleMapOutput
}

BoundaryRoleMapInput is an input type that accepts BoundaryRoleMap and BoundaryRoleMapOutput values. You can construct a concrete instance of `BoundaryRoleMapInput` via:

BoundaryRoleMap{ "key": BoundaryRoleArgs{...} }

type BoundaryRoleMapOutput

type BoundaryRoleMapOutput struct{ *pulumi.OutputState }

func (BoundaryRoleMapOutput) ElementType

func (BoundaryRoleMapOutput) ElementType() reflect.Type

func (BoundaryRoleMapOutput) MapIndex

func (BoundaryRoleMapOutput) ToBoundaryRoleMapOutput

func (o BoundaryRoleMapOutput) ToBoundaryRoleMapOutput() BoundaryRoleMapOutput

func (BoundaryRoleMapOutput) ToBoundaryRoleMapOutputWithContext

func (o BoundaryRoleMapOutput) ToBoundaryRoleMapOutputWithContext(ctx context.Context) BoundaryRoleMapOutput

type BoundaryRoleOutput

type BoundaryRoleOutput struct{ *pulumi.OutputState }

func (BoundaryRoleOutput) Description

func (o BoundaryRoleOutput) Description() pulumi.StringPtrOutput

The role description.

func (BoundaryRoleOutput) ElementType

func (BoundaryRoleOutput) ElementType() reflect.Type

func (BoundaryRoleOutput) GrantScopeId

func (o BoundaryRoleOutput) GrantScopeId() pulumi.StringOutput

func (BoundaryRoleOutput) GrantStrings

func (o BoundaryRoleOutput) GrantStrings() pulumi.StringArrayOutput

A list of stringified grants for the role.

func (BoundaryRoleOutput) Name

The role name. Defaults to the resource name.

func (BoundaryRoleOutput) PrincipalIds

func (o BoundaryRoleOutput) PrincipalIds() pulumi.StringArrayOutput

A list of principal (user or group) IDs to add as principals on the role.

func (BoundaryRoleOutput) ScopeId

The scope ID in which the resource is created. Defaults to the provider's `defaultScope` if unset.

func (BoundaryRoleOutput) ToBoundaryRoleOutput

func (o BoundaryRoleOutput) ToBoundaryRoleOutput() BoundaryRoleOutput

func (BoundaryRoleOutput) ToBoundaryRoleOutputWithContext

func (o BoundaryRoleOutput) ToBoundaryRoleOutputWithContext(ctx context.Context) BoundaryRoleOutput

type BoundaryRoleState

type BoundaryRoleState struct {
	// The role description.
	Description  pulumi.StringPtrInput
	GrantScopeId pulumi.StringPtrInput
	// A list of stringified grants for the role.
	GrantStrings pulumi.StringArrayInput
	// The role name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// A list of principal (user or group) IDs to add as principals on the role.
	PrincipalIds pulumi.StringArrayInput
	// The scope ID in which the resource is created. Defaults to the provider's `defaultScope` if unset.
	ScopeId pulumi.StringPtrInput
}

func (BoundaryRoleState) ElementType

func (BoundaryRoleState) ElementType() reflect.Type

type BoundaryScope

type BoundaryScope struct {
	pulumi.CustomResourceState

	// If set, when a new scope is created, the provider will not disable the functionality that automatically creates a role
	// in the new scope and gives permissions to manage the scope to the provider's user. Marking this true makes for simpler
	// HCL but results in role resources that are unmanaged by Terraform.
	AutoCreateAdminRole pulumi.BoolPtrOutput `pulumi:"autoCreateAdminRole"`
	// Only relevant when creating an org scope. If set, when a new scope is created, the provider will not disable the
	// functionality that automatically creates a role in the new scope and gives listing of scopes and auth methods and the
	// ability to authenticate to the anonymous user. Marking this true makes for simpler HCL but results in role resources
	// that are unmanaged by Terraform.
	AutoCreateDefaultRole pulumi.BoolPtrOutput `pulumi:"autoCreateDefaultRole"`
	// The scope description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Indicates that the scope containing this value is the global scope, which triggers some specialized behavior to allow it to be imported and managed.
	GlobalScope pulumi.BoolPtrOutput `pulumi:"globalScope"`
	// The scope name. Defaults to the resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The scope ID containing the sub scope resource.
	ScopeId pulumi.StringOutput `pulumi:"scopeId"`
}

The scope resource allows you to configure a Boundary scope.

## Example Usage

Creating the global scope:

```go package main

import (

"github.com/katasec/pulumi-boundary/sdk/go/boundary"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := boundary.NewBoundaryScope(ctx, "global", &boundary.BoundaryScopeArgs{
			GlobalScope: pulumi.Bool(true),
			ScopeId:     pulumi.String("global"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Creating an organization scope within global:

```go package main

import (

"github.com/katasec/pulumi-boundary/sdk/go/boundary"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := boundary.NewBoundaryScope(ctx, "org", &boundary.BoundaryScopeArgs{
			Description:           pulumi.String("My first scope!"),
			ScopeId:               pulumi.Any(boundary_scope.Global.Id),
			AutoCreateAdminRole:   pulumi.Bool(true),
			AutoCreateDefaultRole: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Creating an project scope within an organization:

```go package main

import (

"github.com/katasec/pulumi-boundary/sdk/go/boundary"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := boundary.NewBoundaryScope(ctx, "project", &boundary.BoundaryScopeArgs{
			Description:         pulumi.String("My first scope!"),
			ScopeId:             pulumi.Any(boundary_scope.Org.Id),
			AutoCreateAdminRole: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Creating an organization scope with a managed role for administration (auto create role set false):

```go package main

import (

"github.com/katasec/pulumi-boundary/sdk/go/boundary"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		org, err := boundary.NewBoundaryScope(ctx, "org", &boundary.BoundaryScopeArgs{
			Description: pulumi.String("My first scope!"),
			ScopeId:     pulumi.Any(boundary_scope.Global.Id),
		})
		if err != nil {
			return err
		}
		_, err = boundary.NewBoundaryRole(ctx, "orgAdmin", &boundary.BoundaryRoleArgs{
			ScopeId:      pulumi.Any(boundary_scope.Global.Id),
			GrantScopeId: org.ID(),
			GrantStrings: pulumi.StringArray{
				pulumi.String("id=*;type=*;actions=*"),
			},
			PrincipalIds: pulumi.StringArray{
				pulumi.String("u_auth"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import boundary:index/boundaryScope:BoundaryScope foo <my-id>

```

func GetBoundaryScope

func GetBoundaryScope(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BoundaryScopeState, opts ...pulumi.ResourceOption) (*BoundaryScope, error)

GetBoundaryScope gets an existing BoundaryScope resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBoundaryScope

func NewBoundaryScope(ctx *pulumi.Context,
	name string, args *BoundaryScopeArgs, opts ...pulumi.ResourceOption) (*BoundaryScope, error)

NewBoundaryScope registers a new resource with the given unique name, arguments, and options.

func (*BoundaryScope) ElementType

func (*BoundaryScope) ElementType() reflect.Type

func (*BoundaryScope) ToBoundaryScopeOutput

func (i *BoundaryScope) ToBoundaryScopeOutput() BoundaryScopeOutput

func (*BoundaryScope) ToBoundaryScopeOutputWithContext

func (i *BoundaryScope) ToBoundaryScopeOutputWithContext(ctx context.Context) BoundaryScopeOutput

type BoundaryScopeArgs

type BoundaryScopeArgs struct {
	// If set, when a new scope is created, the provider will not disable the functionality that automatically creates a role
	// in the new scope and gives permissions to manage the scope to the provider's user. Marking this true makes for simpler
	// HCL but results in role resources that are unmanaged by Terraform.
	AutoCreateAdminRole pulumi.BoolPtrInput
	// Only relevant when creating an org scope. If set, when a new scope is created, the provider will not disable the
	// functionality that automatically creates a role in the new scope and gives listing of scopes and auth methods and the
	// ability to authenticate to the anonymous user. Marking this true makes for simpler HCL but results in role resources
	// that are unmanaged by Terraform.
	AutoCreateDefaultRole pulumi.BoolPtrInput
	// The scope description.
	Description pulumi.StringPtrInput
	// Indicates that the scope containing this value is the global scope, which triggers some specialized behavior to allow it to be imported and managed.
	GlobalScope pulumi.BoolPtrInput
	// The scope name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The scope ID containing the sub scope resource.
	ScopeId pulumi.StringInput
}

The set of arguments for constructing a BoundaryScope resource.

func (BoundaryScopeArgs) ElementType

func (BoundaryScopeArgs) ElementType() reflect.Type

type BoundaryScopeArray

type BoundaryScopeArray []BoundaryScopeInput

func (BoundaryScopeArray) ElementType

func (BoundaryScopeArray) ElementType() reflect.Type

func (BoundaryScopeArray) ToBoundaryScopeArrayOutput

func (i BoundaryScopeArray) ToBoundaryScopeArrayOutput() BoundaryScopeArrayOutput

func (BoundaryScopeArray) ToBoundaryScopeArrayOutputWithContext

func (i BoundaryScopeArray) ToBoundaryScopeArrayOutputWithContext(ctx context.Context) BoundaryScopeArrayOutput

type BoundaryScopeArrayInput

type BoundaryScopeArrayInput interface {
	pulumi.Input

	ToBoundaryScopeArrayOutput() BoundaryScopeArrayOutput
	ToBoundaryScopeArrayOutputWithContext(context.Context) BoundaryScopeArrayOutput
}

BoundaryScopeArrayInput is an input type that accepts BoundaryScopeArray and BoundaryScopeArrayOutput values. You can construct a concrete instance of `BoundaryScopeArrayInput` via:

BoundaryScopeArray{ BoundaryScopeArgs{...} }

type BoundaryScopeArrayOutput

type BoundaryScopeArrayOutput struct{ *pulumi.OutputState }

func (BoundaryScopeArrayOutput) ElementType

func (BoundaryScopeArrayOutput) ElementType() reflect.Type

func (BoundaryScopeArrayOutput) Index

func (BoundaryScopeArrayOutput) ToBoundaryScopeArrayOutput

func (o BoundaryScopeArrayOutput) ToBoundaryScopeArrayOutput() BoundaryScopeArrayOutput

func (BoundaryScopeArrayOutput) ToBoundaryScopeArrayOutputWithContext

func (o BoundaryScopeArrayOutput) ToBoundaryScopeArrayOutputWithContext(ctx context.Context) BoundaryScopeArrayOutput

type BoundaryScopeInput

type BoundaryScopeInput interface {
	pulumi.Input

	ToBoundaryScopeOutput() BoundaryScopeOutput
	ToBoundaryScopeOutputWithContext(ctx context.Context) BoundaryScopeOutput
}

type BoundaryScopeMap

type BoundaryScopeMap map[string]BoundaryScopeInput

func (BoundaryScopeMap) ElementType

func (BoundaryScopeMap) ElementType() reflect.Type

func (BoundaryScopeMap) ToBoundaryScopeMapOutput

func (i BoundaryScopeMap) ToBoundaryScopeMapOutput() BoundaryScopeMapOutput

func (BoundaryScopeMap) ToBoundaryScopeMapOutputWithContext

func (i BoundaryScopeMap) ToBoundaryScopeMapOutputWithContext(ctx context.Context) BoundaryScopeMapOutput

type BoundaryScopeMapInput

type BoundaryScopeMapInput interface {
	pulumi.Input

	ToBoundaryScopeMapOutput() BoundaryScopeMapOutput
	ToBoundaryScopeMapOutputWithContext(context.Context) BoundaryScopeMapOutput
}

BoundaryScopeMapInput is an input type that accepts BoundaryScopeMap and BoundaryScopeMapOutput values. You can construct a concrete instance of `BoundaryScopeMapInput` via:

BoundaryScopeMap{ "key": BoundaryScopeArgs{...} }

type BoundaryScopeMapOutput

type BoundaryScopeMapOutput struct{ *pulumi.OutputState }

func (BoundaryScopeMapOutput) ElementType

func (BoundaryScopeMapOutput) ElementType() reflect.Type

func (BoundaryScopeMapOutput) MapIndex

func (BoundaryScopeMapOutput) ToBoundaryScopeMapOutput

func (o BoundaryScopeMapOutput) ToBoundaryScopeMapOutput() BoundaryScopeMapOutput

func (BoundaryScopeMapOutput) ToBoundaryScopeMapOutputWithContext

func (o BoundaryScopeMapOutput) ToBoundaryScopeMapOutputWithContext(ctx context.Context) BoundaryScopeMapOutput

type BoundaryScopeOutput

type BoundaryScopeOutput struct{ *pulumi.OutputState }

func (BoundaryScopeOutput) AutoCreateAdminRole

func (o BoundaryScopeOutput) AutoCreateAdminRole() pulumi.BoolPtrOutput

If set, when a new scope is created, the provider will not disable the functionality that automatically creates a role in the new scope and gives permissions to manage the scope to the provider's user. Marking this true makes for simpler HCL but results in role resources that are unmanaged by Terraform.

func (BoundaryScopeOutput) AutoCreateDefaultRole

func (o BoundaryScopeOutput) AutoCreateDefaultRole() pulumi.BoolPtrOutput

Only relevant when creating an org scope. If set, when a new scope is created, the provider will not disable the functionality that automatically creates a role in the new scope and gives listing of scopes and auth methods and the ability to authenticate to the anonymous user. Marking this true makes for simpler HCL but results in role resources that are unmanaged by Terraform.

func (BoundaryScopeOutput) Description

func (o BoundaryScopeOutput) Description() pulumi.StringPtrOutput

The scope description.

func (BoundaryScopeOutput) ElementType

func (BoundaryScopeOutput) ElementType() reflect.Type

func (BoundaryScopeOutput) GlobalScope

func (o BoundaryScopeOutput) GlobalScope() pulumi.BoolPtrOutput

Indicates that the scope containing this value is the global scope, which triggers some specialized behavior to allow it to be imported and managed.

func (BoundaryScopeOutput) Name

The scope name. Defaults to the resource name.

func (BoundaryScopeOutput) ScopeId

The scope ID containing the sub scope resource.

func (BoundaryScopeOutput) ToBoundaryScopeOutput

func (o BoundaryScopeOutput) ToBoundaryScopeOutput() BoundaryScopeOutput

func (BoundaryScopeOutput) ToBoundaryScopeOutputWithContext

func (o BoundaryScopeOutput) ToBoundaryScopeOutputWithContext(ctx context.Context) BoundaryScopeOutput

type BoundaryScopeState

type BoundaryScopeState struct {
	// If set, when a new scope is created, the provider will not disable the functionality that automatically creates a role
	// in the new scope and gives permissions to manage the scope to the provider's user. Marking this true makes for simpler
	// HCL but results in role resources that are unmanaged by Terraform.
	AutoCreateAdminRole pulumi.BoolPtrInput
	// Only relevant when creating an org scope. If set, when a new scope is created, the provider will not disable the
	// functionality that automatically creates a role in the new scope and gives listing of scopes and auth methods and the
	// ability to authenticate to the anonymous user. Marking this true makes for simpler HCL but results in role resources
	// that are unmanaged by Terraform.
	AutoCreateDefaultRole pulumi.BoolPtrInput
	// The scope description.
	Description pulumi.StringPtrInput
	// Indicates that the scope containing this value is the global scope, which triggers some specialized behavior to allow it to be imported and managed.
	GlobalScope pulumi.BoolPtrInput
	// The scope name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The scope ID containing the sub scope resource.
	ScopeId pulumi.StringPtrInput
}

func (BoundaryScopeState) ElementType

func (BoundaryScopeState) ElementType() reflect.Type

type BoundaryTarget

type BoundaryTarget struct {
	pulumi.CustomResourceState

	// A list of brokered credential source ID's.
	BrokeredCredentialSourceIds pulumi.StringArrayOutput `pulumi:"brokeredCredentialSourceIds"`
	// The default port for this target.
	DefaultPort pulumi.IntPtrOutput `pulumi:"defaultPort"`
	// The target description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// A list of host source ID's.
	HostSourceIds pulumi.StringArrayOutput `pulumi:"hostSourceIds"`
	// A list of injected application credential source ID's.
	InjectedApplicationCredentialSourceIds pulumi.StringArrayOutput `pulumi:"injectedApplicationCredentialSourceIds"`
	// The target name. Defaults to the resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The scope ID in which the resource is created. Defaults to the provider's `defaultScope` if unset.
	ScopeId                pulumi.StringOutput `pulumi:"scopeId"`
	SessionConnectionLimit pulumi.IntOutput    `pulumi:"sessionConnectionLimit"`
	SessionMaxSeconds      pulumi.IntOutput    `pulumi:"sessionMaxSeconds"`
	// The target resource type.
	Type pulumi.StringOutput `pulumi:"type"`
	// Boolean expression to filter the workers for this target
	WorkerFilter pulumi.StringPtrOutput `pulumi:"workerFilter"`
}

The target resource allows you to configure a Boundary target.

## Import

```sh

$ pulumi import boundary:index/boundaryTarget:BoundaryTarget foo <my-id>

```

func GetBoundaryTarget

func GetBoundaryTarget(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BoundaryTargetState, opts ...pulumi.ResourceOption) (*BoundaryTarget, error)

GetBoundaryTarget gets an existing BoundaryTarget resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBoundaryTarget

func NewBoundaryTarget(ctx *pulumi.Context,
	name string, args *BoundaryTargetArgs, opts ...pulumi.ResourceOption) (*BoundaryTarget, error)

NewBoundaryTarget registers a new resource with the given unique name, arguments, and options.

func (*BoundaryTarget) ElementType

func (*BoundaryTarget) ElementType() reflect.Type

func (*BoundaryTarget) ToBoundaryTargetOutput

func (i *BoundaryTarget) ToBoundaryTargetOutput() BoundaryTargetOutput

func (*BoundaryTarget) ToBoundaryTargetOutputWithContext

func (i *BoundaryTarget) ToBoundaryTargetOutputWithContext(ctx context.Context) BoundaryTargetOutput

type BoundaryTargetArgs

type BoundaryTargetArgs struct {
	// A list of brokered credential source ID's.
	BrokeredCredentialSourceIds pulumi.StringArrayInput
	// The default port for this target.
	DefaultPort pulumi.IntPtrInput
	// The target description.
	Description pulumi.StringPtrInput
	// A list of host source ID's.
	HostSourceIds pulumi.StringArrayInput
	// A list of injected application credential source ID's.
	InjectedApplicationCredentialSourceIds pulumi.StringArrayInput
	// The target name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The scope ID in which the resource is created. Defaults to the provider's `defaultScope` if unset.
	ScopeId                pulumi.StringInput
	SessionConnectionLimit pulumi.IntPtrInput
	SessionMaxSeconds      pulumi.IntPtrInput
	// The target resource type.
	Type pulumi.StringInput
	// Boolean expression to filter the workers for this target
	WorkerFilter pulumi.StringPtrInput
}

The set of arguments for constructing a BoundaryTarget resource.

func (BoundaryTargetArgs) ElementType

func (BoundaryTargetArgs) ElementType() reflect.Type

type BoundaryTargetArray

type BoundaryTargetArray []BoundaryTargetInput

func (BoundaryTargetArray) ElementType

func (BoundaryTargetArray) ElementType() reflect.Type

func (BoundaryTargetArray) ToBoundaryTargetArrayOutput

func (i BoundaryTargetArray) ToBoundaryTargetArrayOutput() BoundaryTargetArrayOutput

func (BoundaryTargetArray) ToBoundaryTargetArrayOutputWithContext

func (i BoundaryTargetArray) ToBoundaryTargetArrayOutputWithContext(ctx context.Context) BoundaryTargetArrayOutput

type BoundaryTargetArrayInput

type BoundaryTargetArrayInput interface {
	pulumi.Input

	ToBoundaryTargetArrayOutput() BoundaryTargetArrayOutput
	ToBoundaryTargetArrayOutputWithContext(context.Context) BoundaryTargetArrayOutput
}

BoundaryTargetArrayInput is an input type that accepts BoundaryTargetArray and BoundaryTargetArrayOutput values. You can construct a concrete instance of `BoundaryTargetArrayInput` via:

BoundaryTargetArray{ BoundaryTargetArgs{...} }

type BoundaryTargetArrayOutput

type BoundaryTargetArrayOutput struct{ *pulumi.OutputState }

func (BoundaryTargetArrayOutput) ElementType

func (BoundaryTargetArrayOutput) ElementType() reflect.Type

func (BoundaryTargetArrayOutput) Index

func (BoundaryTargetArrayOutput) ToBoundaryTargetArrayOutput

func (o BoundaryTargetArrayOutput) ToBoundaryTargetArrayOutput() BoundaryTargetArrayOutput

func (BoundaryTargetArrayOutput) ToBoundaryTargetArrayOutputWithContext

func (o BoundaryTargetArrayOutput) ToBoundaryTargetArrayOutputWithContext(ctx context.Context) BoundaryTargetArrayOutput

type BoundaryTargetInput

type BoundaryTargetInput interface {
	pulumi.Input

	ToBoundaryTargetOutput() BoundaryTargetOutput
	ToBoundaryTargetOutputWithContext(ctx context.Context) BoundaryTargetOutput
}

type BoundaryTargetMap

type BoundaryTargetMap map[string]BoundaryTargetInput

func (BoundaryTargetMap) ElementType

func (BoundaryTargetMap) ElementType() reflect.Type

func (BoundaryTargetMap) ToBoundaryTargetMapOutput

func (i BoundaryTargetMap) ToBoundaryTargetMapOutput() BoundaryTargetMapOutput

func (BoundaryTargetMap) ToBoundaryTargetMapOutputWithContext

func (i BoundaryTargetMap) ToBoundaryTargetMapOutputWithContext(ctx context.Context) BoundaryTargetMapOutput

type BoundaryTargetMapInput

type BoundaryTargetMapInput interface {
	pulumi.Input

	ToBoundaryTargetMapOutput() BoundaryTargetMapOutput
	ToBoundaryTargetMapOutputWithContext(context.Context) BoundaryTargetMapOutput
}

BoundaryTargetMapInput is an input type that accepts BoundaryTargetMap and BoundaryTargetMapOutput values. You can construct a concrete instance of `BoundaryTargetMapInput` via:

BoundaryTargetMap{ "key": BoundaryTargetArgs{...} }

type BoundaryTargetMapOutput

type BoundaryTargetMapOutput struct{ *pulumi.OutputState }

func (BoundaryTargetMapOutput) ElementType

func (BoundaryTargetMapOutput) ElementType() reflect.Type

func (BoundaryTargetMapOutput) MapIndex

func (BoundaryTargetMapOutput) ToBoundaryTargetMapOutput

func (o BoundaryTargetMapOutput) ToBoundaryTargetMapOutput() BoundaryTargetMapOutput

func (BoundaryTargetMapOutput) ToBoundaryTargetMapOutputWithContext

func (o BoundaryTargetMapOutput) ToBoundaryTargetMapOutputWithContext(ctx context.Context) BoundaryTargetMapOutput

type BoundaryTargetOutput

type BoundaryTargetOutput struct{ *pulumi.OutputState }

func (BoundaryTargetOutput) BrokeredCredentialSourceIds

func (o BoundaryTargetOutput) BrokeredCredentialSourceIds() pulumi.StringArrayOutput

A list of brokered credential source ID's.

func (BoundaryTargetOutput) DefaultPort

func (o BoundaryTargetOutput) DefaultPort() pulumi.IntPtrOutput

The default port for this target.

func (BoundaryTargetOutput) Description

The target description.

func (BoundaryTargetOutput) ElementType

func (BoundaryTargetOutput) ElementType() reflect.Type

func (BoundaryTargetOutput) HostSourceIds

func (o BoundaryTargetOutput) HostSourceIds() pulumi.StringArrayOutput

A list of host source ID's.

func (BoundaryTargetOutput) InjectedApplicationCredentialSourceIds

func (o BoundaryTargetOutput) InjectedApplicationCredentialSourceIds() pulumi.StringArrayOutput

A list of injected application credential source ID's.

func (BoundaryTargetOutput) Name

The target name. Defaults to the resource name.

func (BoundaryTargetOutput) ScopeId

The scope ID in which the resource is created. Defaults to the provider's `defaultScope` if unset.

func (BoundaryTargetOutput) SessionConnectionLimit

func (o BoundaryTargetOutput) SessionConnectionLimit() pulumi.IntOutput

func (BoundaryTargetOutput) SessionMaxSeconds

func (o BoundaryTargetOutput) SessionMaxSeconds() pulumi.IntOutput

func (BoundaryTargetOutput) ToBoundaryTargetOutput

func (o BoundaryTargetOutput) ToBoundaryTargetOutput() BoundaryTargetOutput

func (BoundaryTargetOutput) ToBoundaryTargetOutputWithContext

func (o BoundaryTargetOutput) ToBoundaryTargetOutputWithContext(ctx context.Context) BoundaryTargetOutput

func (BoundaryTargetOutput) Type

The target resource type.

func (BoundaryTargetOutput) WorkerFilter

func (o BoundaryTargetOutput) WorkerFilter() pulumi.StringPtrOutput

Boolean expression to filter the workers for this target

type BoundaryTargetState

type BoundaryTargetState struct {
	// A list of brokered credential source ID's.
	BrokeredCredentialSourceIds pulumi.StringArrayInput
	// The default port for this target.
	DefaultPort pulumi.IntPtrInput
	// The target description.
	Description pulumi.StringPtrInput
	// A list of host source ID's.
	HostSourceIds pulumi.StringArrayInput
	// A list of injected application credential source ID's.
	InjectedApplicationCredentialSourceIds pulumi.StringArrayInput
	// The target name. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The scope ID in which the resource is created. Defaults to the provider's `defaultScope` if unset.
	ScopeId                pulumi.StringPtrInput
	SessionConnectionLimit pulumi.IntPtrInput
	SessionMaxSeconds      pulumi.IntPtrInput
	// The target resource type.
	Type pulumi.StringPtrInput
	// Boolean expression to filter the workers for this target
	WorkerFilter pulumi.StringPtrInput
}

func (BoundaryTargetState) ElementType

func (BoundaryTargetState) ElementType() reflect.Type

type BoundaryUser

type BoundaryUser struct {
	pulumi.CustomResourceState

	// Account ID's to associate with this user resource.
	AccountIds pulumi.StringArrayOutput `pulumi:"accountIds"`
	// The user description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The username. Defaults to the resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The scope ID in which the resource is created. Defaults to the provider's `defaultScope` if unset.
	ScopeId pulumi.StringOutput `pulumi:"scopeId"`
}

The user resource allows you to configure a Boundary user.

## Example Usage

```go package main

import (

"fmt"

"github.com/katasec/pulumi-boundary/sdk/go/boundary"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		org, err := boundary.NewBoundaryScope(ctx, "org", &boundary.BoundaryScopeArgs{
			Description:           pulumi.String("My first scope!"),
			ScopeId:               pulumi.String("global"),
			AutoCreateAdminRole:   pulumi.Bool(true),
			AutoCreateDefaultRole: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		password, err := boundary.NewBoundaryAuthMethod(ctx, "password", &boundary.BoundaryAuthMethodArgs{
			ScopeId: org.ID(),
			Type:    pulumi.String("password"),
		})
		if err != nil {
			return err
		}
		jeffBoundaryAccountPassword, err := boundary.NewBoundaryAccountPassword(ctx, "jeffBoundaryAccountPassword", &boundary.BoundaryAccountPasswordArgs{
			AuthMethodId: password.ID(),
			Type:         pulumi.String("password"),
			LoginName:    pulumi.String("jeff"),
			Password:     pulumi.String(fmt.Sprintf("$uper$ecure")),
		})
		if err != nil {
			return err
		}
		_, err = boundary.NewBoundaryUser(ctx, "jeffBoundaryUser", &boundary.BoundaryUserArgs{
			Description: pulumi.String("Jeff's user resource"),
			AccountIds: pulumi.StringArray{
				jeffBoundaryAccountPassword.ID(),
			},
			ScopeId: org.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import boundary:index/boundaryUser:BoundaryUser foo <my-id>

```

func GetBoundaryUser

func GetBoundaryUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BoundaryUserState, opts ...pulumi.ResourceOption) (*BoundaryUser, error)

GetBoundaryUser gets an existing BoundaryUser resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBoundaryUser

func NewBoundaryUser(ctx *pulumi.Context,
	name string, args *BoundaryUserArgs, opts ...pulumi.ResourceOption) (*BoundaryUser, error)

NewBoundaryUser registers a new resource with the given unique name, arguments, and options.

func (*BoundaryUser) ElementType

func (*BoundaryUser) ElementType() reflect.Type

func (*BoundaryUser) ToBoundaryUserOutput

func (i *BoundaryUser) ToBoundaryUserOutput() BoundaryUserOutput

func (*BoundaryUser) ToBoundaryUserOutputWithContext

func (i *BoundaryUser) ToBoundaryUserOutputWithContext(ctx context.Context) BoundaryUserOutput

type BoundaryUserArgs

type BoundaryUserArgs struct {
	// Account ID's to associate with this user resource.
	AccountIds pulumi.StringArrayInput
	// The user description.
	Description pulumi.StringPtrInput
	// The username. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The scope ID in which the resource is created. Defaults to the provider's `defaultScope` if unset.
	ScopeId pulumi.StringInput
}

The set of arguments for constructing a BoundaryUser resource.

func (BoundaryUserArgs) ElementType

func (BoundaryUserArgs) ElementType() reflect.Type

type BoundaryUserArray

type BoundaryUserArray []BoundaryUserInput

func (BoundaryUserArray) ElementType

func (BoundaryUserArray) ElementType() reflect.Type

func (BoundaryUserArray) ToBoundaryUserArrayOutput

func (i BoundaryUserArray) ToBoundaryUserArrayOutput() BoundaryUserArrayOutput

func (BoundaryUserArray) ToBoundaryUserArrayOutputWithContext

func (i BoundaryUserArray) ToBoundaryUserArrayOutputWithContext(ctx context.Context) BoundaryUserArrayOutput

type BoundaryUserArrayInput

type BoundaryUserArrayInput interface {
	pulumi.Input

	ToBoundaryUserArrayOutput() BoundaryUserArrayOutput
	ToBoundaryUserArrayOutputWithContext(context.Context) BoundaryUserArrayOutput
}

BoundaryUserArrayInput is an input type that accepts BoundaryUserArray and BoundaryUserArrayOutput values. You can construct a concrete instance of `BoundaryUserArrayInput` via:

BoundaryUserArray{ BoundaryUserArgs{...} }

type BoundaryUserArrayOutput

type BoundaryUserArrayOutput struct{ *pulumi.OutputState }

func (BoundaryUserArrayOutput) ElementType

func (BoundaryUserArrayOutput) ElementType() reflect.Type

func (BoundaryUserArrayOutput) Index

func (BoundaryUserArrayOutput) ToBoundaryUserArrayOutput

func (o BoundaryUserArrayOutput) ToBoundaryUserArrayOutput() BoundaryUserArrayOutput

func (BoundaryUserArrayOutput) ToBoundaryUserArrayOutputWithContext

func (o BoundaryUserArrayOutput) ToBoundaryUserArrayOutputWithContext(ctx context.Context) BoundaryUserArrayOutput

type BoundaryUserInput

type BoundaryUserInput interface {
	pulumi.Input

	ToBoundaryUserOutput() BoundaryUserOutput
	ToBoundaryUserOutputWithContext(ctx context.Context) BoundaryUserOutput
}

type BoundaryUserMap

type BoundaryUserMap map[string]BoundaryUserInput

func (BoundaryUserMap) ElementType

func (BoundaryUserMap) ElementType() reflect.Type

func (BoundaryUserMap) ToBoundaryUserMapOutput

func (i BoundaryUserMap) ToBoundaryUserMapOutput() BoundaryUserMapOutput

func (BoundaryUserMap) ToBoundaryUserMapOutputWithContext

func (i BoundaryUserMap) ToBoundaryUserMapOutputWithContext(ctx context.Context) BoundaryUserMapOutput

type BoundaryUserMapInput

type BoundaryUserMapInput interface {
	pulumi.Input

	ToBoundaryUserMapOutput() BoundaryUserMapOutput
	ToBoundaryUserMapOutputWithContext(context.Context) BoundaryUserMapOutput
}

BoundaryUserMapInput is an input type that accepts BoundaryUserMap and BoundaryUserMapOutput values. You can construct a concrete instance of `BoundaryUserMapInput` via:

BoundaryUserMap{ "key": BoundaryUserArgs{...} }

type BoundaryUserMapOutput

type BoundaryUserMapOutput struct{ *pulumi.OutputState }

func (BoundaryUserMapOutput) ElementType

func (BoundaryUserMapOutput) ElementType() reflect.Type

func (BoundaryUserMapOutput) MapIndex

func (BoundaryUserMapOutput) ToBoundaryUserMapOutput

func (o BoundaryUserMapOutput) ToBoundaryUserMapOutput() BoundaryUserMapOutput

func (BoundaryUserMapOutput) ToBoundaryUserMapOutputWithContext

func (o BoundaryUserMapOutput) ToBoundaryUserMapOutputWithContext(ctx context.Context) BoundaryUserMapOutput

type BoundaryUserOutput

type BoundaryUserOutput struct{ *pulumi.OutputState }

func (BoundaryUserOutput) AccountIds

Account ID's to associate with this user resource.

func (BoundaryUserOutput) Description

func (o BoundaryUserOutput) Description() pulumi.StringPtrOutput

The user description.

func (BoundaryUserOutput) ElementType

func (BoundaryUserOutput) ElementType() reflect.Type

func (BoundaryUserOutput) Name

The username. Defaults to the resource name.

func (BoundaryUserOutput) ScopeId

The scope ID in which the resource is created. Defaults to the provider's `defaultScope` if unset.

func (BoundaryUserOutput) ToBoundaryUserOutput

func (o BoundaryUserOutput) ToBoundaryUserOutput() BoundaryUserOutput

func (BoundaryUserOutput) ToBoundaryUserOutputWithContext

func (o BoundaryUserOutput) ToBoundaryUserOutputWithContext(ctx context.Context) BoundaryUserOutput

type BoundaryUserState

type BoundaryUserState struct {
	// Account ID's to associate with this user resource.
	AccountIds pulumi.StringArrayInput
	// The user description.
	Description pulumi.StringPtrInput
	// The username. Defaults to the resource name.
	Name pulumi.StringPtrInput
	// The scope ID in which the resource is created. Defaults to the provider's `defaultScope` if unset.
	ScopeId pulumi.StringPtrInput
}

func (BoundaryUserState) ElementType

func (BoundaryUserState) ElementType() reflect.Type

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	// The base url of the Boundary API, e.g. "http://127.0.0.1:9200". If not set, it will be read from the "BOUNDARY_ADDR" env
	// var.
	Addr pulumi.StringOutput `pulumi:"addr"`
	// The auth method ID e.g. ampw_1234567890
	AuthMethodId pulumi.StringPtrOutput `pulumi:"authMethodId"`
	// The auth method login name for password-style auth methods
	PasswordAuthMethodLoginName pulumi.StringPtrOutput `pulumi:"passwordAuthMethodLoginName"`
	// The auth method password for password-style auth methods
	PasswordAuthMethodPassword pulumi.StringPtrOutput `pulumi:"passwordAuthMethodPassword"`
	// Can be a heredoc string or a path on disk. If set, the string/file will be parsed as HCL and used with the recovery KMS
	// mechanism. While this is set, it will override any other authentication information; the KMS mechanism will always be
	// used. See Boundary's KMS docs for examples: https://boundaryproject.io/docs/configuration/kms
	RecoveryKmsHcl pulumi.StringPtrOutput `pulumi:"recoveryKmsHcl"`
	// The Boundary token to use, as a string or path on disk containing just the string. If set, the token read here will be
	// used in place of authenticating with the auth method specified in "auth_method_id", although the recovery KMS mechanism
	// will still override this. Can also be set with the BOUNDARY_TOKEN environment variable.
	Token pulumi.StringPtrOutput `pulumi:"token"`
}

The provider type for the boundary package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

NewProvider registers a new resource with the given unique name, arguments, and options.

func (*Provider) ElementType

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ProviderArgs

type ProviderArgs struct {
	// The base url of the Boundary API, e.g. "http://127.0.0.1:9200". If not set, it will be read from the "BOUNDARY_ADDR" env
	// var.
	Addr pulumi.StringInput
	// The auth method ID e.g. ampw_1234567890
	AuthMethodId pulumi.StringPtrInput
	// The auth method login name for password-style auth methods
	PasswordAuthMethodLoginName pulumi.StringPtrInput
	// The auth method password for password-style auth methods
	PasswordAuthMethodPassword pulumi.StringPtrInput
	// Can be a heredoc string or a path on disk. If set, the string/file will be parsed as HCL and used with the recovery KMS
	// mechanism. While this is set, it will override any other authentication information; the KMS mechanism will always be
	// used. See Boundary's KMS docs for examples: https://boundaryproject.io/docs/configuration/kms
	RecoveryKmsHcl pulumi.StringPtrInput
	// When set to true, does not validate the Boundary API endpoint certificate
	TlsInsecure pulumi.BoolPtrInput
	// The Boundary token to use, as a string or path on disk containing just the string. If set, the token read here will be
	// used in place of authenticating with the auth method specified in "auth_method_id", although the recovery KMS mechanism
	// will still override this. Can also be set with the BOUNDARY_TOKEN environment variable.
	Token pulumi.StringPtrInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) Addr

The base url of the Boundary API, e.g. "http://127.0.0.1:9200". If not set, it will be read from the "BOUNDARY_ADDR" env var.

func (ProviderOutput) AuthMethodId

func (o ProviderOutput) AuthMethodId() pulumi.StringPtrOutput

The auth method ID e.g. ampw_1234567890

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) PasswordAuthMethodLoginName

func (o ProviderOutput) PasswordAuthMethodLoginName() pulumi.StringPtrOutput

The auth method login name for password-style auth methods

func (ProviderOutput) PasswordAuthMethodPassword

func (o ProviderOutput) PasswordAuthMethodPassword() pulumi.StringPtrOutput

The auth method password for password-style auth methods

func (ProviderOutput) RecoveryKmsHcl

func (o ProviderOutput) RecoveryKmsHcl() pulumi.StringPtrOutput

Can be a heredoc string or a path on disk. If set, the string/file will be parsed as HCL and used with the recovery KMS mechanism. While this is set, it will override any other authentication information; the KMS mechanism will always be used. See Boundary's KMS docs for examples: https://boundaryproject.io/docs/configuration/kms

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

func (ProviderOutput) Token

The Boundary token to use, as a string or path on disk containing just the string. If set, the token read here will be used in place of authenticating with the auth method specified in "auth_method_id", although the recovery KMS mechanism will still override this. Can also be set with the BOUNDARY_TOKEN environment variable.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL