Class SecretBackendConnection
Inherited Members
Namespace: Pulumi.Vault.Database
Assembly: Pulumi.Vault.dll
Syntax
public class SecretBackendConnection : CustomResource
Constructors
View SourceSecretBackendConnection(String, SecretBackendConnectionArgs, CustomResourceOptions)
Create a SecretBackendConnection resource with the given unique name, arguments, and options.
Declaration
public SecretBackendConnection(string name, SecretBackendConnectionArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| SecretBackendConnectionArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAllowedRoles
A list of roles that are allowed to use this connection.
Declaration
public Output<ImmutableArray<string>> AllowedRoles { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Backend
The unique name of the Vault mount to configure.
Declaration
public Output<string> Backend { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Cassandra
A nested block containing configuration options for Cassandra connections.
Declaration
public Output<SecretBackendConnectionCassandra> Cassandra { get; }
Property Value
| Type | Description |
|---|---|
| Output<SecretBackendConnectionCassandra> |
Data
A map of sensitive data to pass to the endpoint. Useful for templated connection strings.
Declaration
public Output<ImmutableDictionary<string, object>> Data { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>> |
Elasticsearch
A nested block containing configuration options for Elasticsearch connections.
Declaration
public Output<SecretBackendConnectionElasticsearch> Elasticsearch { get; }
Property Value
| Type | Description |
|---|---|
| Output<SecretBackendConnectionElasticsearch> |
Hana
A nested block containing configuration options for SAP HanaDB connections.
Declaration
public Output<SecretBackendConnectionHana> Hana { get; }
Property Value
| Type | Description |
|---|---|
| Output<SecretBackendConnectionHana> |
Mongodb
A nested block containing configuration options for MongoDB connections.
Declaration
public Output<SecretBackendConnectionMongodb> Mongodb { get; }
Property Value
| Type | Description |
|---|---|
| Output<SecretBackendConnectionMongodb> |
Mssql
A nested block containing configuration options for MSSQL connections.
Declaration
public Output<SecretBackendConnectionMssql> Mssql { get; }
Property Value
| Type | Description |
|---|---|
| Output<SecretBackendConnectionMssql> |
Mysql
A nested block containing configuration options for MySQL connections.
Declaration
public Output<SecretBackendConnectionMysql> Mysql { get; }
Property Value
| Type | Description |
|---|---|
| Output<SecretBackendConnectionMysql> |
MysqlAurora
A nested block containing configuration options for Aurora MySQL connections.
Declaration
public Output<SecretBackendConnectionMysqlAurora> MysqlAurora { get; }
Property Value
| Type | Description |
|---|---|
| Output<SecretBackendConnectionMysqlAurora> |
MysqlLegacy
A nested block containing configuration options for legacy MySQL connections.
Declaration
public Output<SecretBackendConnectionMysqlLegacy> MysqlLegacy { get; }
Property Value
| Type | Description |
|---|---|
| Output<SecretBackendConnectionMysqlLegacy> |
MysqlRds
A nested block containing configuration options for RDS MySQL connections.
Declaration
public Output<SecretBackendConnectionMysqlRds> MysqlRds { get; }
Property Value
| Type | Description |
|---|---|
| Output<SecretBackendConnectionMysqlRds> |
Name
A unique name to give the database connection.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Oracle
A nested block containing configuration options for Oracle connections.
Declaration
public Output<SecretBackendConnectionOracle> Oracle { get; }
Property Value
| Type | Description |
|---|---|
| Output<SecretBackendConnectionOracle> |
Postgresql
A nested block containing configuration options for PostgreSQL connections.
Declaration
public Output<SecretBackendConnectionPostgresql> Postgresql { get; }
Property Value
| Type | Description |
|---|---|
| Output<SecretBackendConnectionPostgresql> |
RootRotationStatements
A list of database statements to be executed to rotate the root user's credentials.
Declaration
public Output<ImmutableArray<string>> RootRotationStatements { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
VerifyConnection
Whether the connection should be verified on initial configuration or not.
Declaration
public Output<bool?> VerifyConnection { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Methods
View SourceGet(String, Input<String>, SecretBackendConnectionState, CustomResourceOptions)
Get an existing SecretBackendConnection resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static SecretBackendConnection Get(string name, Input<string> id, SecretBackendConnectionState 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. |
| SecretBackendConnectionState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| SecretBackendConnection |