Show / Hide Table of Contents

Class SecretBackendRole

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

Constructors

View Source

SecretBackendRole(String, SecretBackendRoleArgs, CustomResourceOptions)

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

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

The unique name of the resource

SecretBackendRoleArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Backend

The unique name of the Vault mount to configure.

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

CreationStatements

The database statements to execute when creating a user.

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

DbName

The unique name of the database connection to use for the role.

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

DefaultTtl

The default number of seconds for leases for this role.

Declaration
public Output<int?> DefaultTtl { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

MaxTtl

The maximum number of seconds for leases for this role.

Declaration
public Output<int?> MaxTtl { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

Name

A unique name to give the role.

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

RenewStatements

The database statements to execute when renewing a user.

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

RevocationStatements

The database statements to execute when revoking a user.

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

RollbackStatements

The database statements to execute when rolling back creation due to an error.

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

Methods

View Source

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

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

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

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

SecretBackendRoleState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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