rabbitmq

package
v6.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretBackend

type SecretBackend struct {
	pulumi.CustomResourceState

	// Specifies the RabbitMQ connection URI.
	ConnectionUri pulumi.StringOutput `pulumi:"connectionUri"`
	// The default TTL for credentials
	// issued by this backend.
	DefaultLeaseTtlSeconds pulumi.IntOutput `pulumi:"defaultLeaseTtlSeconds"`
	// A human-friendly description for this backend.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// If set, opts out of mount migration on path updates.
	// See here for more info on [Mount Migration](https://www.vaultproject.io/docs/concepts/mount-migration)
	DisableRemount pulumi.BoolPtrOutput `pulumi:"disableRemount"`
	// The maximum TTL that can be requested
	// for credentials issued by this backend.
	MaxLeaseTtlSeconds pulumi.IntOutput `pulumi:"maxLeaseTtlSeconds"`
	// The namespace to provision the resource in.
	// The value should not contain leading or trailing forward slashes.
	// The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
	// *Available only for Vault Enterprise*.
	Namespace pulumi.StringPtrOutput `pulumi:"namespace"`
	// Specifies the RabbitMQ management administrator password.
	Password pulumi.StringOutput `pulumi:"password"`
	// Specifies a password policy to use when creating dynamic credentials. Defaults to generating an alphanumeric password if not set.
	PasswordPolicy pulumi.StringPtrOutput `pulumi:"passwordPolicy"`
	// The unique path this backend should be mounted at. Must
	// not begin or end with a `/`. Defaults to `rabbitmq`.
	Path pulumi.StringPtrOutput `pulumi:"path"`
	// Specifies the RabbitMQ management administrator username.
	Username pulumi.StringOutput `pulumi:"username"`
	// Template describing how dynamic usernames are generated.
	UsernameTemplate pulumi.StringPtrOutput `pulumi:"usernameTemplate"`
	// Specifies whether to verify connection URI, username, and password.
	// Defaults to `true`.
	VerifyConnection pulumi.BoolPtrOutput `pulumi:"verifyConnection"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-vault/sdk/v6/go/vault/rabbitmq"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := rabbitmq.NewSecretBackend(ctx, "rabbitmq", &rabbitmq.SecretBackendArgs{
			ConnectionUri: pulumi.String("https://....."),
			Username:      pulumi.String("user"),
			Password:      pulumi.String("password"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

RabbitMQ secret backends can be imported using the `path`, e.g.

```sh $ pulumi import vault:rabbitMq/secretBackend:SecretBackend rabbitmq rabbitmq ```

func GetSecretBackend

func GetSecretBackend(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SecretBackendState, opts ...pulumi.ResourceOption) (*SecretBackend, error)

GetSecretBackend gets an existing SecretBackend 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 NewSecretBackend

func NewSecretBackend(ctx *pulumi.Context,
	name string, args *SecretBackendArgs, opts ...pulumi.ResourceOption) (*SecretBackend, error)

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

func (*SecretBackend) ElementType

func (*SecretBackend) ElementType() reflect.Type

func (*SecretBackend) ToSecretBackendOutput

func (i *SecretBackend) ToSecretBackendOutput() SecretBackendOutput

func (*SecretBackend) ToSecretBackendOutputWithContext

func (i *SecretBackend) ToSecretBackendOutputWithContext(ctx context.Context) SecretBackendOutput

type SecretBackendArgs

type SecretBackendArgs struct {
	// Specifies the RabbitMQ connection URI.
	ConnectionUri pulumi.StringInput
	// The default TTL for credentials
	// issued by this backend.
	DefaultLeaseTtlSeconds pulumi.IntPtrInput
	// A human-friendly description for this backend.
	Description pulumi.StringPtrInput
	// If set, opts out of mount migration on path updates.
	// See here for more info on [Mount Migration](https://www.vaultproject.io/docs/concepts/mount-migration)
	DisableRemount pulumi.BoolPtrInput
	// The maximum TTL that can be requested
	// for credentials issued by this backend.
	MaxLeaseTtlSeconds pulumi.IntPtrInput
	// The namespace to provision the resource in.
	// The value should not contain leading or trailing forward slashes.
	// The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
	// *Available only for Vault Enterprise*.
	Namespace pulumi.StringPtrInput
	// Specifies the RabbitMQ management administrator password.
	Password pulumi.StringInput
	// Specifies a password policy to use when creating dynamic credentials. Defaults to generating an alphanumeric password if not set.
	PasswordPolicy pulumi.StringPtrInput
	// The unique path this backend should be mounted at. Must
	// not begin or end with a `/`. Defaults to `rabbitmq`.
	Path pulumi.StringPtrInput
	// Specifies the RabbitMQ management administrator username.
	Username pulumi.StringInput
	// Template describing how dynamic usernames are generated.
	UsernameTemplate pulumi.StringPtrInput
	// Specifies whether to verify connection URI, username, and password.
	// Defaults to `true`.
	VerifyConnection pulumi.BoolPtrInput
}

The set of arguments for constructing a SecretBackend resource.

func (SecretBackendArgs) ElementType

func (SecretBackendArgs) ElementType() reflect.Type

type SecretBackendArray

type SecretBackendArray []SecretBackendInput

func (SecretBackendArray) ElementType

func (SecretBackendArray) ElementType() reflect.Type

func (SecretBackendArray) ToSecretBackendArrayOutput

func (i SecretBackendArray) ToSecretBackendArrayOutput() SecretBackendArrayOutput

func (SecretBackendArray) ToSecretBackendArrayOutputWithContext

func (i SecretBackendArray) ToSecretBackendArrayOutputWithContext(ctx context.Context) SecretBackendArrayOutput

type SecretBackendArrayInput

type SecretBackendArrayInput interface {
	pulumi.Input

	ToSecretBackendArrayOutput() SecretBackendArrayOutput
	ToSecretBackendArrayOutputWithContext(context.Context) SecretBackendArrayOutput
}

SecretBackendArrayInput is an input type that accepts SecretBackendArray and SecretBackendArrayOutput values. You can construct a concrete instance of `SecretBackendArrayInput` via:

SecretBackendArray{ SecretBackendArgs{...} }

type SecretBackendArrayOutput

type SecretBackendArrayOutput struct{ *pulumi.OutputState }

func (SecretBackendArrayOutput) ElementType

func (SecretBackendArrayOutput) ElementType() reflect.Type

func (SecretBackendArrayOutput) Index

func (SecretBackendArrayOutput) ToSecretBackendArrayOutput

func (o SecretBackendArrayOutput) ToSecretBackendArrayOutput() SecretBackendArrayOutput

func (SecretBackendArrayOutput) ToSecretBackendArrayOutputWithContext

func (o SecretBackendArrayOutput) ToSecretBackendArrayOutputWithContext(ctx context.Context) SecretBackendArrayOutput

type SecretBackendInput

type SecretBackendInput interface {
	pulumi.Input

	ToSecretBackendOutput() SecretBackendOutput
	ToSecretBackendOutputWithContext(ctx context.Context) SecretBackendOutput
}

type SecretBackendMap

type SecretBackendMap map[string]SecretBackendInput

func (SecretBackendMap) ElementType

func (SecretBackendMap) ElementType() reflect.Type

func (SecretBackendMap) ToSecretBackendMapOutput

func (i SecretBackendMap) ToSecretBackendMapOutput() SecretBackendMapOutput

func (SecretBackendMap) ToSecretBackendMapOutputWithContext

func (i SecretBackendMap) ToSecretBackendMapOutputWithContext(ctx context.Context) SecretBackendMapOutput

type SecretBackendMapInput

type SecretBackendMapInput interface {
	pulumi.Input

	ToSecretBackendMapOutput() SecretBackendMapOutput
	ToSecretBackendMapOutputWithContext(context.Context) SecretBackendMapOutput
}

SecretBackendMapInput is an input type that accepts SecretBackendMap and SecretBackendMapOutput values. You can construct a concrete instance of `SecretBackendMapInput` via:

SecretBackendMap{ "key": SecretBackendArgs{...} }

type SecretBackendMapOutput

type SecretBackendMapOutput struct{ *pulumi.OutputState }

func (SecretBackendMapOutput) ElementType

func (SecretBackendMapOutput) ElementType() reflect.Type

func (SecretBackendMapOutput) MapIndex

func (SecretBackendMapOutput) ToSecretBackendMapOutput

func (o SecretBackendMapOutput) ToSecretBackendMapOutput() SecretBackendMapOutput

func (SecretBackendMapOutput) ToSecretBackendMapOutputWithContext

func (o SecretBackendMapOutput) ToSecretBackendMapOutputWithContext(ctx context.Context) SecretBackendMapOutput

type SecretBackendOutput

type SecretBackendOutput struct{ *pulumi.OutputState }

func (SecretBackendOutput) ConnectionUri

func (o SecretBackendOutput) ConnectionUri() pulumi.StringOutput

Specifies the RabbitMQ connection URI.

func (SecretBackendOutput) DefaultLeaseTtlSeconds

func (o SecretBackendOutput) DefaultLeaseTtlSeconds() pulumi.IntOutput

The default TTL for credentials issued by this backend.

func (SecretBackendOutput) Description

func (o SecretBackendOutput) Description() pulumi.StringPtrOutput

A human-friendly description for this backend.

func (SecretBackendOutput) DisableRemount

func (o SecretBackendOutput) DisableRemount() pulumi.BoolPtrOutput

If set, opts out of mount migration on path updates. See here for more info on [Mount Migration](https://www.vaultproject.io/docs/concepts/mount-migration)

func (SecretBackendOutput) ElementType

func (SecretBackendOutput) ElementType() reflect.Type

func (SecretBackendOutput) MaxLeaseTtlSeconds

func (o SecretBackendOutput) MaxLeaseTtlSeconds() pulumi.IntOutput

The maximum TTL that can be requested for credentials issued by this backend.

func (SecretBackendOutput) Namespace

The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). *Available only for Vault Enterprise*.

func (SecretBackendOutput) Password

Specifies the RabbitMQ management administrator password.

func (SecretBackendOutput) PasswordPolicy

func (o SecretBackendOutput) PasswordPolicy() pulumi.StringPtrOutput

Specifies a password policy to use when creating dynamic credentials. Defaults to generating an alphanumeric password if not set.

func (SecretBackendOutput) Path

The unique path this backend should be mounted at. Must not begin or end with a `/`. Defaults to `rabbitmq`.

func (SecretBackendOutput) ToSecretBackendOutput

func (o SecretBackendOutput) ToSecretBackendOutput() SecretBackendOutput

func (SecretBackendOutput) ToSecretBackendOutputWithContext

func (o SecretBackendOutput) ToSecretBackendOutputWithContext(ctx context.Context) SecretBackendOutput

func (SecretBackendOutput) Username

Specifies the RabbitMQ management administrator username.

func (SecretBackendOutput) UsernameTemplate

func (o SecretBackendOutput) UsernameTemplate() pulumi.StringPtrOutput

Template describing how dynamic usernames are generated.

func (SecretBackendOutput) VerifyConnection

func (o SecretBackendOutput) VerifyConnection() pulumi.BoolPtrOutput

Specifies whether to verify connection URI, username, and password. Defaults to `true`.

type SecretBackendRole

type SecretBackendRole struct {
	pulumi.CustomResourceState

	// The path the RabbitMQ secret backend is mounted at,
	// with no leading or trailing `/`s.
	Backend pulumi.StringOutput `pulumi:"backend"`
	// The name to identify this role within the backend.
	// Must be unique within the backend.
	Name pulumi.StringOutput `pulumi:"name"`
	// The namespace to provision the resource in.
	// The value should not contain leading or trailing forward slashes.
	// The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
	// *Available only for Vault Enterprise*.
	Namespace pulumi.StringPtrOutput `pulumi:"namespace"`
	// Specifies a comma-separated RabbitMQ management tags.
	Tags pulumi.StringPtrOutput `pulumi:"tags"`
	// Specifies a map of virtual hosts and exchanges to topic permissions. This option requires RabbitMQ 3.7.0 or later.
	VhostTopics SecretBackendRoleVhostTopicArrayOutput `pulumi:"vhostTopics"`
	// Specifies a map of virtual hosts to permissions.
	Vhosts SecretBackendRoleVhostArrayOutput `pulumi:"vhosts"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-vault/sdk/v6/go/vault/rabbitmq"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		rabbitmq, err := rabbitmq.NewSecretBackend(ctx, "rabbitmq", &rabbitmq.SecretBackendArgs{
			ConnectionUri: pulumi.String("https://....."),
			Username:      pulumi.String("user"),
			Password:      pulumi.String("password"),
		})
		if err != nil {
			return err
		}
		_, err = rabbitmq.NewSecretBackendRole(ctx, "role", &rabbitmq.SecretBackendRoleArgs{
			Backend: rabbitmq.Path,
			Name:    pulumi.String("deploy"),
			Tags:    pulumi.String("tag1,tag2"),
			Vhosts: rabbitmq.SecretBackendRoleVhostArray{
				&rabbitmq.SecretBackendRoleVhostArgs{
					Host:      pulumi.String("/"),
					Configure: pulumi.String(""),
					Read:      pulumi.String(".*"),
					Write:     pulumi.String(""),
				},
			},
			VhostTopics: rabbitmq.SecretBackendRoleVhostTopicArray{
				&rabbitmq.SecretBackendRoleVhostTopicArgs{
					Vhosts: rabbitmq.SecretBackendRoleVhostTopicVhostArray{
						&rabbitmq.SecretBackendRoleVhostTopicVhostArgs{
							Topic: pulumi.String("amq.topic"),
							Read:  pulumi.String(".*"),
							Write: pulumi.String(""),
						},
					},
					Host: pulumi.String("/"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

RabbitMQ secret backend roles can be imported using the `path`, e.g.

```sh $ pulumi import vault:rabbitMq/secretBackendRole:SecretBackendRole role rabbitmq/roles/deploy ```

func GetSecretBackendRole

func GetSecretBackendRole(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SecretBackendRoleState, opts ...pulumi.ResourceOption) (*SecretBackendRole, error)

GetSecretBackendRole gets an existing SecretBackendRole 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 NewSecretBackendRole

func NewSecretBackendRole(ctx *pulumi.Context,
	name string, args *SecretBackendRoleArgs, opts ...pulumi.ResourceOption) (*SecretBackendRole, error)

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

func (*SecretBackendRole) ElementType

func (*SecretBackendRole) ElementType() reflect.Type

func (*SecretBackendRole) ToSecretBackendRoleOutput

func (i *SecretBackendRole) ToSecretBackendRoleOutput() SecretBackendRoleOutput

func (*SecretBackendRole) ToSecretBackendRoleOutputWithContext

func (i *SecretBackendRole) ToSecretBackendRoleOutputWithContext(ctx context.Context) SecretBackendRoleOutput

type SecretBackendRoleArgs

type SecretBackendRoleArgs struct {
	// The path the RabbitMQ secret backend is mounted at,
	// with no leading or trailing `/`s.
	Backend pulumi.StringInput
	// The name to identify this role within the backend.
	// Must be unique within the backend.
	Name pulumi.StringPtrInput
	// The namespace to provision the resource in.
	// The value should not contain leading or trailing forward slashes.
	// The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
	// *Available only for Vault Enterprise*.
	Namespace pulumi.StringPtrInput
	// Specifies a comma-separated RabbitMQ management tags.
	Tags pulumi.StringPtrInput
	// Specifies a map of virtual hosts and exchanges to topic permissions. This option requires RabbitMQ 3.7.0 or later.
	VhostTopics SecretBackendRoleVhostTopicArrayInput
	// Specifies a map of virtual hosts to permissions.
	Vhosts SecretBackendRoleVhostArrayInput
}

The set of arguments for constructing a SecretBackendRole resource.

func (SecretBackendRoleArgs) ElementType

func (SecretBackendRoleArgs) ElementType() reflect.Type

type SecretBackendRoleArray

type SecretBackendRoleArray []SecretBackendRoleInput

func (SecretBackendRoleArray) ElementType

func (SecretBackendRoleArray) ElementType() reflect.Type

func (SecretBackendRoleArray) ToSecretBackendRoleArrayOutput

func (i SecretBackendRoleArray) ToSecretBackendRoleArrayOutput() SecretBackendRoleArrayOutput

func (SecretBackendRoleArray) ToSecretBackendRoleArrayOutputWithContext

func (i SecretBackendRoleArray) ToSecretBackendRoleArrayOutputWithContext(ctx context.Context) SecretBackendRoleArrayOutput

type SecretBackendRoleArrayInput

type SecretBackendRoleArrayInput interface {
	pulumi.Input

	ToSecretBackendRoleArrayOutput() SecretBackendRoleArrayOutput
	ToSecretBackendRoleArrayOutputWithContext(context.Context) SecretBackendRoleArrayOutput
}

SecretBackendRoleArrayInput is an input type that accepts SecretBackendRoleArray and SecretBackendRoleArrayOutput values. You can construct a concrete instance of `SecretBackendRoleArrayInput` via:

SecretBackendRoleArray{ SecretBackendRoleArgs{...} }

type SecretBackendRoleArrayOutput

type SecretBackendRoleArrayOutput struct{ *pulumi.OutputState }

func (SecretBackendRoleArrayOutput) ElementType

func (SecretBackendRoleArrayOutput) Index

func (SecretBackendRoleArrayOutput) ToSecretBackendRoleArrayOutput

func (o SecretBackendRoleArrayOutput) ToSecretBackendRoleArrayOutput() SecretBackendRoleArrayOutput

func (SecretBackendRoleArrayOutput) ToSecretBackendRoleArrayOutputWithContext

func (o SecretBackendRoleArrayOutput) ToSecretBackendRoleArrayOutputWithContext(ctx context.Context) SecretBackendRoleArrayOutput

type SecretBackendRoleInput

type SecretBackendRoleInput interface {
	pulumi.Input

	ToSecretBackendRoleOutput() SecretBackendRoleOutput
	ToSecretBackendRoleOutputWithContext(ctx context.Context) SecretBackendRoleOutput
}

type SecretBackendRoleMap

type SecretBackendRoleMap map[string]SecretBackendRoleInput

func (SecretBackendRoleMap) ElementType

func (SecretBackendRoleMap) ElementType() reflect.Type

func (SecretBackendRoleMap) ToSecretBackendRoleMapOutput

func (i SecretBackendRoleMap) ToSecretBackendRoleMapOutput() SecretBackendRoleMapOutput

func (SecretBackendRoleMap) ToSecretBackendRoleMapOutputWithContext

func (i SecretBackendRoleMap) ToSecretBackendRoleMapOutputWithContext(ctx context.Context) SecretBackendRoleMapOutput

type SecretBackendRoleMapInput

type SecretBackendRoleMapInput interface {
	pulumi.Input

	ToSecretBackendRoleMapOutput() SecretBackendRoleMapOutput
	ToSecretBackendRoleMapOutputWithContext(context.Context) SecretBackendRoleMapOutput
}

SecretBackendRoleMapInput is an input type that accepts SecretBackendRoleMap and SecretBackendRoleMapOutput values. You can construct a concrete instance of `SecretBackendRoleMapInput` via:

SecretBackendRoleMap{ "key": SecretBackendRoleArgs{...} }

type SecretBackendRoleMapOutput

type SecretBackendRoleMapOutput struct{ *pulumi.OutputState }

func (SecretBackendRoleMapOutput) ElementType

func (SecretBackendRoleMapOutput) ElementType() reflect.Type

func (SecretBackendRoleMapOutput) MapIndex

func (SecretBackendRoleMapOutput) ToSecretBackendRoleMapOutput

func (o SecretBackendRoleMapOutput) ToSecretBackendRoleMapOutput() SecretBackendRoleMapOutput

func (SecretBackendRoleMapOutput) ToSecretBackendRoleMapOutputWithContext

func (o SecretBackendRoleMapOutput) ToSecretBackendRoleMapOutputWithContext(ctx context.Context) SecretBackendRoleMapOutput

type SecretBackendRoleOutput

type SecretBackendRoleOutput struct{ *pulumi.OutputState }

func (SecretBackendRoleOutput) Backend

The path the RabbitMQ secret backend is mounted at, with no leading or trailing `/`s.

func (SecretBackendRoleOutput) ElementType

func (SecretBackendRoleOutput) ElementType() reflect.Type

func (SecretBackendRoleOutput) Name

The name to identify this role within the backend. Must be unique within the backend.

func (SecretBackendRoleOutput) Namespace

The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). *Available only for Vault Enterprise*.

func (SecretBackendRoleOutput) Tags

Specifies a comma-separated RabbitMQ management tags.

func (SecretBackendRoleOutput) ToSecretBackendRoleOutput

func (o SecretBackendRoleOutput) ToSecretBackendRoleOutput() SecretBackendRoleOutput

func (SecretBackendRoleOutput) ToSecretBackendRoleOutputWithContext

func (o SecretBackendRoleOutput) ToSecretBackendRoleOutputWithContext(ctx context.Context) SecretBackendRoleOutput

func (SecretBackendRoleOutput) VhostTopics

Specifies a map of virtual hosts and exchanges to topic permissions. This option requires RabbitMQ 3.7.0 or later.

func (SecretBackendRoleOutput) Vhosts

Specifies a map of virtual hosts to permissions.

type SecretBackendRoleState

type SecretBackendRoleState struct {
	// The path the RabbitMQ secret backend is mounted at,
	// with no leading or trailing `/`s.
	Backend pulumi.StringPtrInput
	// The name to identify this role within the backend.
	// Must be unique within the backend.
	Name pulumi.StringPtrInput
	// The namespace to provision the resource in.
	// The value should not contain leading or trailing forward slashes.
	// The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
	// *Available only for Vault Enterprise*.
	Namespace pulumi.StringPtrInput
	// Specifies a comma-separated RabbitMQ management tags.
	Tags pulumi.StringPtrInput
	// Specifies a map of virtual hosts and exchanges to topic permissions. This option requires RabbitMQ 3.7.0 or later.
	VhostTopics SecretBackendRoleVhostTopicArrayInput
	// Specifies a map of virtual hosts to permissions.
	Vhosts SecretBackendRoleVhostArrayInput
}

func (SecretBackendRoleState) ElementType

func (SecretBackendRoleState) ElementType() reflect.Type

type SecretBackendRoleVhost

type SecretBackendRoleVhost struct {
	// The configure permissions for this vhost.
	Configure string `pulumi:"configure"`
	// The vhost to set permissions for.
	Host string `pulumi:"host"`
	// The read permissions for this vhost.
	Read string `pulumi:"read"`
	// The write permissions for this vhost.
	Write string `pulumi:"write"`
}

type SecretBackendRoleVhostArgs

type SecretBackendRoleVhostArgs struct {
	// The configure permissions for this vhost.
	Configure pulumi.StringInput `pulumi:"configure"`
	// The vhost to set permissions for.
	Host pulumi.StringInput `pulumi:"host"`
	// The read permissions for this vhost.
	Read pulumi.StringInput `pulumi:"read"`
	// The write permissions for this vhost.
	Write pulumi.StringInput `pulumi:"write"`
}

func (SecretBackendRoleVhostArgs) ElementType

func (SecretBackendRoleVhostArgs) ElementType() reflect.Type

func (SecretBackendRoleVhostArgs) ToSecretBackendRoleVhostOutput

func (i SecretBackendRoleVhostArgs) ToSecretBackendRoleVhostOutput() SecretBackendRoleVhostOutput

func (SecretBackendRoleVhostArgs) ToSecretBackendRoleVhostOutputWithContext

func (i SecretBackendRoleVhostArgs) ToSecretBackendRoleVhostOutputWithContext(ctx context.Context) SecretBackendRoleVhostOutput

type SecretBackendRoleVhostArray

type SecretBackendRoleVhostArray []SecretBackendRoleVhostInput

func (SecretBackendRoleVhostArray) ElementType

func (SecretBackendRoleVhostArray) ToSecretBackendRoleVhostArrayOutput

func (i SecretBackendRoleVhostArray) ToSecretBackendRoleVhostArrayOutput() SecretBackendRoleVhostArrayOutput

func (SecretBackendRoleVhostArray) ToSecretBackendRoleVhostArrayOutputWithContext

func (i SecretBackendRoleVhostArray) ToSecretBackendRoleVhostArrayOutputWithContext(ctx context.Context) SecretBackendRoleVhostArrayOutput

type SecretBackendRoleVhostArrayInput

type SecretBackendRoleVhostArrayInput interface {
	pulumi.Input

	ToSecretBackendRoleVhostArrayOutput() SecretBackendRoleVhostArrayOutput
	ToSecretBackendRoleVhostArrayOutputWithContext(context.Context) SecretBackendRoleVhostArrayOutput
}

SecretBackendRoleVhostArrayInput is an input type that accepts SecretBackendRoleVhostArray and SecretBackendRoleVhostArrayOutput values. You can construct a concrete instance of `SecretBackendRoleVhostArrayInput` via:

SecretBackendRoleVhostArray{ SecretBackendRoleVhostArgs{...} }

type SecretBackendRoleVhostArrayOutput

type SecretBackendRoleVhostArrayOutput struct{ *pulumi.OutputState }

func (SecretBackendRoleVhostArrayOutput) ElementType

func (SecretBackendRoleVhostArrayOutput) Index

func (SecretBackendRoleVhostArrayOutput) ToSecretBackendRoleVhostArrayOutput

func (o SecretBackendRoleVhostArrayOutput) ToSecretBackendRoleVhostArrayOutput() SecretBackendRoleVhostArrayOutput

func (SecretBackendRoleVhostArrayOutput) ToSecretBackendRoleVhostArrayOutputWithContext

func (o SecretBackendRoleVhostArrayOutput) ToSecretBackendRoleVhostArrayOutputWithContext(ctx context.Context) SecretBackendRoleVhostArrayOutput

type SecretBackendRoleVhostInput

type SecretBackendRoleVhostInput interface {
	pulumi.Input

	ToSecretBackendRoleVhostOutput() SecretBackendRoleVhostOutput
	ToSecretBackendRoleVhostOutputWithContext(context.Context) SecretBackendRoleVhostOutput
}

SecretBackendRoleVhostInput is an input type that accepts SecretBackendRoleVhostArgs and SecretBackendRoleVhostOutput values. You can construct a concrete instance of `SecretBackendRoleVhostInput` via:

SecretBackendRoleVhostArgs{...}

type SecretBackendRoleVhostOutput

type SecretBackendRoleVhostOutput struct{ *pulumi.OutputState }

func (SecretBackendRoleVhostOutput) Configure

The configure permissions for this vhost.

func (SecretBackendRoleVhostOutput) ElementType

func (SecretBackendRoleVhostOutput) Host

The vhost to set permissions for.

func (SecretBackendRoleVhostOutput) Read

The read permissions for this vhost.

func (SecretBackendRoleVhostOutput) ToSecretBackendRoleVhostOutput

func (o SecretBackendRoleVhostOutput) ToSecretBackendRoleVhostOutput() SecretBackendRoleVhostOutput

func (SecretBackendRoleVhostOutput) ToSecretBackendRoleVhostOutputWithContext

func (o SecretBackendRoleVhostOutput) ToSecretBackendRoleVhostOutputWithContext(ctx context.Context) SecretBackendRoleVhostOutput

func (SecretBackendRoleVhostOutput) Write

The write permissions for this vhost.

type SecretBackendRoleVhostTopic

type SecretBackendRoleVhostTopic struct {
	// The vhost to set permissions for.
	Host string `pulumi:"host"`
	// Specifies a map of virtual hosts to permissions.
	Vhosts []SecretBackendRoleVhostTopicVhost `pulumi:"vhosts"`
}

type SecretBackendRoleVhostTopicArgs

type SecretBackendRoleVhostTopicArgs struct {
	// The vhost to set permissions for.
	Host pulumi.StringInput `pulumi:"host"`
	// Specifies a map of virtual hosts to permissions.
	Vhosts SecretBackendRoleVhostTopicVhostArrayInput `pulumi:"vhosts"`
}

func (SecretBackendRoleVhostTopicArgs) ElementType

func (SecretBackendRoleVhostTopicArgs) ToSecretBackendRoleVhostTopicOutput

func (i SecretBackendRoleVhostTopicArgs) ToSecretBackendRoleVhostTopicOutput() SecretBackendRoleVhostTopicOutput

func (SecretBackendRoleVhostTopicArgs) ToSecretBackendRoleVhostTopicOutputWithContext

func (i SecretBackendRoleVhostTopicArgs) ToSecretBackendRoleVhostTopicOutputWithContext(ctx context.Context) SecretBackendRoleVhostTopicOutput

type SecretBackendRoleVhostTopicArray

type SecretBackendRoleVhostTopicArray []SecretBackendRoleVhostTopicInput

func (SecretBackendRoleVhostTopicArray) ElementType

func (SecretBackendRoleVhostTopicArray) ToSecretBackendRoleVhostTopicArrayOutput

func (i SecretBackendRoleVhostTopicArray) ToSecretBackendRoleVhostTopicArrayOutput() SecretBackendRoleVhostTopicArrayOutput

func (SecretBackendRoleVhostTopicArray) ToSecretBackendRoleVhostTopicArrayOutputWithContext

func (i SecretBackendRoleVhostTopicArray) ToSecretBackendRoleVhostTopicArrayOutputWithContext(ctx context.Context) SecretBackendRoleVhostTopicArrayOutput

type SecretBackendRoleVhostTopicArrayInput

type SecretBackendRoleVhostTopicArrayInput interface {
	pulumi.Input

	ToSecretBackendRoleVhostTopicArrayOutput() SecretBackendRoleVhostTopicArrayOutput
	ToSecretBackendRoleVhostTopicArrayOutputWithContext(context.Context) SecretBackendRoleVhostTopicArrayOutput
}

SecretBackendRoleVhostTopicArrayInput is an input type that accepts SecretBackendRoleVhostTopicArray and SecretBackendRoleVhostTopicArrayOutput values. You can construct a concrete instance of `SecretBackendRoleVhostTopicArrayInput` via:

SecretBackendRoleVhostTopicArray{ SecretBackendRoleVhostTopicArgs{...} }

type SecretBackendRoleVhostTopicArrayOutput

type SecretBackendRoleVhostTopicArrayOutput struct{ *pulumi.OutputState }

func (SecretBackendRoleVhostTopicArrayOutput) ElementType

func (SecretBackendRoleVhostTopicArrayOutput) Index

func (SecretBackendRoleVhostTopicArrayOutput) ToSecretBackendRoleVhostTopicArrayOutput

func (o SecretBackendRoleVhostTopicArrayOutput) ToSecretBackendRoleVhostTopicArrayOutput() SecretBackendRoleVhostTopicArrayOutput

func (SecretBackendRoleVhostTopicArrayOutput) ToSecretBackendRoleVhostTopicArrayOutputWithContext

func (o SecretBackendRoleVhostTopicArrayOutput) ToSecretBackendRoleVhostTopicArrayOutputWithContext(ctx context.Context) SecretBackendRoleVhostTopicArrayOutput

type SecretBackendRoleVhostTopicInput

type SecretBackendRoleVhostTopicInput interface {
	pulumi.Input

	ToSecretBackendRoleVhostTopicOutput() SecretBackendRoleVhostTopicOutput
	ToSecretBackendRoleVhostTopicOutputWithContext(context.Context) SecretBackendRoleVhostTopicOutput
}

SecretBackendRoleVhostTopicInput is an input type that accepts SecretBackendRoleVhostTopicArgs and SecretBackendRoleVhostTopicOutput values. You can construct a concrete instance of `SecretBackendRoleVhostTopicInput` via:

SecretBackendRoleVhostTopicArgs{...}

type SecretBackendRoleVhostTopicOutput

type SecretBackendRoleVhostTopicOutput struct{ *pulumi.OutputState }

func (SecretBackendRoleVhostTopicOutput) ElementType

func (SecretBackendRoleVhostTopicOutput) Host

The vhost to set permissions for.

func (SecretBackendRoleVhostTopicOutput) ToSecretBackendRoleVhostTopicOutput

func (o SecretBackendRoleVhostTopicOutput) ToSecretBackendRoleVhostTopicOutput() SecretBackendRoleVhostTopicOutput

func (SecretBackendRoleVhostTopicOutput) ToSecretBackendRoleVhostTopicOutputWithContext

func (o SecretBackendRoleVhostTopicOutput) ToSecretBackendRoleVhostTopicOutputWithContext(ctx context.Context) SecretBackendRoleVhostTopicOutput

func (SecretBackendRoleVhostTopicOutput) Vhosts

Specifies a map of virtual hosts to permissions.

type SecretBackendRoleVhostTopicVhost

type SecretBackendRoleVhostTopicVhost struct {
	// The read permissions for this vhost.
	Read string `pulumi:"read"`
	// The vhost to set permissions for.
	Topic string `pulumi:"topic"`
	// The write permissions for this vhost.
	Write string `pulumi:"write"`
}

type SecretBackendRoleVhostTopicVhostArgs

type SecretBackendRoleVhostTopicVhostArgs struct {
	// The read permissions for this vhost.
	Read pulumi.StringInput `pulumi:"read"`
	// The vhost to set permissions for.
	Topic pulumi.StringInput `pulumi:"topic"`
	// The write permissions for this vhost.
	Write pulumi.StringInput `pulumi:"write"`
}

func (SecretBackendRoleVhostTopicVhostArgs) ElementType

func (SecretBackendRoleVhostTopicVhostArgs) ToSecretBackendRoleVhostTopicVhostOutput

func (i SecretBackendRoleVhostTopicVhostArgs) ToSecretBackendRoleVhostTopicVhostOutput() SecretBackendRoleVhostTopicVhostOutput

func (SecretBackendRoleVhostTopicVhostArgs) ToSecretBackendRoleVhostTopicVhostOutputWithContext

func (i SecretBackendRoleVhostTopicVhostArgs) ToSecretBackendRoleVhostTopicVhostOutputWithContext(ctx context.Context) SecretBackendRoleVhostTopicVhostOutput

type SecretBackendRoleVhostTopicVhostArray

type SecretBackendRoleVhostTopicVhostArray []SecretBackendRoleVhostTopicVhostInput

func (SecretBackendRoleVhostTopicVhostArray) ElementType

func (SecretBackendRoleVhostTopicVhostArray) ToSecretBackendRoleVhostTopicVhostArrayOutput

func (i SecretBackendRoleVhostTopicVhostArray) ToSecretBackendRoleVhostTopicVhostArrayOutput() SecretBackendRoleVhostTopicVhostArrayOutput

func (SecretBackendRoleVhostTopicVhostArray) ToSecretBackendRoleVhostTopicVhostArrayOutputWithContext

func (i SecretBackendRoleVhostTopicVhostArray) ToSecretBackendRoleVhostTopicVhostArrayOutputWithContext(ctx context.Context) SecretBackendRoleVhostTopicVhostArrayOutput

type SecretBackendRoleVhostTopicVhostArrayInput

type SecretBackendRoleVhostTopicVhostArrayInput interface {
	pulumi.Input

	ToSecretBackendRoleVhostTopicVhostArrayOutput() SecretBackendRoleVhostTopicVhostArrayOutput
	ToSecretBackendRoleVhostTopicVhostArrayOutputWithContext(context.Context) SecretBackendRoleVhostTopicVhostArrayOutput
}

SecretBackendRoleVhostTopicVhostArrayInput is an input type that accepts SecretBackendRoleVhostTopicVhostArray and SecretBackendRoleVhostTopicVhostArrayOutput values. You can construct a concrete instance of `SecretBackendRoleVhostTopicVhostArrayInput` via:

SecretBackendRoleVhostTopicVhostArray{ SecretBackendRoleVhostTopicVhostArgs{...} }

type SecretBackendRoleVhostTopicVhostArrayOutput

type SecretBackendRoleVhostTopicVhostArrayOutput struct{ *pulumi.OutputState }

func (SecretBackendRoleVhostTopicVhostArrayOutput) ElementType

func (SecretBackendRoleVhostTopicVhostArrayOutput) Index

func (SecretBackendRoleVhostTopicVhostArrayOutput) ToSecretBackendRoleVhostTopicVhostArrayOutput

func (o SecretBackendRoleVhostTopicVhostArrayOutput) ToSecretBackendRoleVhostTopicVhostArrayOutput() SecretBackendRoleVhostTopicVhostArrayOutput

func (SecretBackendRoleVhostTopicVhostArrayOutput) ToSecretBackendRoleVhostTopicVhostArrayOutputWithContext

func (o SecretBackendRoleVhostTopicVhostArrayOutput) ToSecretBackendRoleVhostTopicVhostArrayOutputWithContext(ctx context.Context) SecretBackendRoleVhostTopicVhostArrayOutput

type SecretBackendRoleVhostTopicVhostInput

type SecretBackendRoleVhostTopicVhostInput interface {
	pulumi.Input

	ToSecretBackendRoleVhostTopicVhostOutput() SecretBackendRoleVhostTopicVhostOutput
	ToSecretBackendRoleVhostTopicVhostOutputWithContext(context.Context) SecretBackendRoleVhostTopicVhostOutput
}

SecretBackendRoleVhostTopicVhostInput is an input type that accepts SecretBackendRoleVhostTopicVhostArgs and SecretBackendRoleVhostTopicVhostOutput values. You can construct a concrete instance of `SecretBackendRoleVhostTopicVhostInput` via:

SecretBackendRoleVhostTopicVhostArgs{...}

type SecretBackendRoleVhostTopicVhostOutput

type SecretBackendRoleVhostTopicVhostOutput struct{ *pulumi.OutputState }

func (SecretBackendRoleVhostTopicVhostOutput) ElementType

func (SecretBackendRoleVhostTopicVhostOutput) Read

The read permissions for this vhost.

func (SecretBackendRoleVhostTopicVhostOutput) ToSecretBackendRoleVhostTopicVhostOutput

func (o SecretBackendRoleVhostTopicVhostOutput) ToSecretBackendRoleVhostTopicVhostOutput() SecretBackendRoleVhostTopicVhostOutput

func (SecretBackendRoleVhostTopicVhostOutput) ToSecretBackendRoleVhostTopicVhostOutputWithContext

func (o SecretBackendRoleVhostTopicVhostOutput) ToSecretBackendRoleVhostTopicVhostOutputWithContext(ctx context.Context) SecretBackendRoleVhostTopicVhostOutput

func (SecretBackendRoleVhostTopicVhostOutput) Topic

The vhost to set permissions for.

func (SecretBackendRoleVhostTopicVhostOutput) Write

The write permissions for this vhost.

type SecretBackendState

type SecretBackendState struct {
	// Specifies the RabbitMQ connection URI.
	ConnectionUri pulumi.StringPtrInput
	// The default TTL for credentials
	// issued by this backend.
	DefaultLeaseTtlSeconds pulumi.IntPtrInput
	// A human-friendly description for this backend.
	Description pulumi.StringPtrInput
	// If set, opts out of mount migration on path updates.
	// See here for more info on [Mount Migration](https://www.vaultproject.io/docs/concepts/mount-migration)
	DisableRemount pulumi.BoolPtrInput
	// The maximum TTL that can be requested
	// for credentials issued by this backend.
	MaxLeaseTtlSeconds pulumi.IntPtrInput
	// The namespace to provision the resource in.
	// The value should not contain leading or trailing forward slashes.
	// The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
	// *Available only for Vault Enterprise*.
	Namespace pulumi.StringPtrInput
	// Specifies the RabbitMQ management administrator password.
	Password pulumi.StringPtrInput
	// Specifies a password policy to use when creating dynamic credentials. Defaults to generating an alphanumeric password if not set.
	PasswordPolicy pulumi.StringPtrInput
	// The unique path this backend should be mounted at. Must
	// not begin or end with a `/`. Defaults to `rabbitmq`.
	Path pulumi.StringPtrInput
	// Specifies the RabbitMQ management administrator username.
	Username pulumi.StringPtrInput
	// Template describing how dynamic usernames are generated.
	UsernameTemplate pulumi.StringPtrInput
	// Specifies whether to verify connection URI, username, and password.
	// Defaults to `true`.
	VerifyConnection pulumi.BoolPtrInput
}

func (SecretBackendState) ElementType

func (SecretBackendState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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