SecretBackendRole

Import

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

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

Create a SecretBackendRole Resource

new SecretBackendRole(name: string, args: SecretBackendRoleArgs, opts?: CustomResourceOptions);
@overload
def SecretBackendRole(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      backend: Optional[str] = None,
                      name: Optional[str] = None,
                      tags: Optional[str] = None,
                      vhosts: Optional[Sequence[_rabbitmq.SecretBackendRoleVhostArgs]] = None)
@overload
def SecretBackendRole(resource_name: str,
                      args: SecretBackendRoleArgs,
                      opts: Optional[ResourceOptions] = None)
func NewSecretBackendRole(ctx *Context, name string, args SecretBackendRoleArgs, opts ...ResourceOption) (*SecretBackendRole, error)
public SecretBackendRole(string name, SecretBackendRoleArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args SecretBackendRoleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args SecretBackendRoleArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args SecretBackendRoleArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SecretBackendRoleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

SecretBackendRole Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The SecretBackendRole resource accepts the following input properties:

Backend string
The path the RabbitMQ secret backend is mounted at, with no leading or trailing /s.
Name string
The name to identify this role within the backend. Must be unique within the backend.
Tags string
Specifies a comma-separated RabbitMQ management tags.
Vhosts List<SecretBackendRoleVhostArgs>
Specifies a map of virtual hosts to permissions.
Backend string
The path the RabbitMQ secret backend is mounted at, with no leading or trailing /s.
Name string
The name to identify this role within the backend. Must be unique within the backend.
Tags string
Specifies a comma-separated RabbitMQ management tags.
Vhosts []SecretBackendRoleVhostArgs
Specifies a map of virtual hosts to permissions.
backend string
The path the RabbitMQ secret backend is mounted at, with no leading or trailing /s.
name string
The name to identify this role within the backend. Must be unique within the backend.
tags string
Specifies a comma-separated RabbitMQ management tags.
vhosts SecretBackendRoleVhostArgs[]
Specifies a map of virtual hosts to permissions.
backend str
The path the RabbitMQ secret backend is mounted at, with no leading or trailing /s.
name str
The name to identify this role within the backend. Must be unique within the backend.
tags str
Specifies a comma-separated RabbitMQ management tags.
vhosts SecretBackendRoleVhostArgs]
Specifies a map of virtual hosts to permissions.

Outputs

All input properties are implicitly available as output properties. Additionally, the SecretBackendRole resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing SecretBackendRole Resource

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

public static get(name: string, id: Input<ID>, state?: SecretBackendRoleState, opts?: CustomResourceOptions): SecretBackendRole
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        backend: Optional[str] = None,
        name: Optional[str] = None,
        tags: Optional[str] = None,
        vhosts: Optional[Sequence[_rabbitmq.SecretBackendRoleVhostArgs]] = None) -> SecretBackendRole
func GetSecretBackendRole(ctx *Context, name string, id IDInput, state *SecretBackendRoleState, opts ...ResourceOption) (*SecretBackendRole, error)
public static SecretBackendRole Get(string name, Input<string> id, SecretBackendRoleState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Backend string
The path the RabbitMQ secret backend is mounted at, with no leading or trailing /s.
Name string
The name to identify this role within the backend. Must be unique within the backend.
Tags string
Specifies a comma-separated RabbitMQ management tags.
Vhosts List<SecretBackendRoleVhostArgs>
Specifies a map of virtual hosts to permissions.
Backend string
The path the RabbitMQ secret backend is mounted at, with no leading or trailing /s.
Name string
The name to identify this role within the backend. Must be unique within the backend.
Tags string
Specifies a comma-separated RabbitMQ management tags.
Vhosts []SecretBackendRoleVhostArgs
Specifies a map of virtual hosts to permissions.
backend string
The path the RabbitMQ secret backend is mounted at, with no leading or trailing /s.
name string
The name to identify this role within the backend. Must be unique within the backend.
tags string
Specifies a comma-separated RabbitMQ management tags.
vhosts SecretBackendRoleVhostArgs[]
Specifies a map of virtual hosts to permissions.
backend str
The path the RabbitMQ secret backend is mounted at, with no leading or trailing /s.
name str
The name to identify this role within the backend. Must be unique within the backend.
tags str
Specifies a comma-separated RabbitMQ management tags.
vhosts SecretBackendRoleVhostArgs]
Specifies a map of virtual hosts to permissions.

Supporting Types

SecretBackendRoleVhost

Configure string
Host string
Read string
Write string
Configure string
Host string
Read string
Write string
configure string
host string
read string
write string
configure str
host str
read str
write str

Package Details

Repository
https://github.com/pulumi/pulumi-vault
License
Apache-2.0
Notes
This Pulumi package is based on the vault Terraform Provider.