1. Packages
  2. Akeyless Provider
  3. API Docs
  4. TargetDb
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community

akeyless.TargetDb

Explore with Pulumi AI

DB Target resource

Create TargetDb Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new TargetDb(name: string, args: TargetDbArgs, opts?: CustomResourceOptions);
@overload
def TargetDb(resource_name: str,
             args: TargetDbArgs,
             opts: Optional[ResourceOptions] = None)

@overload
def TargetDb(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             db_type: Optional[str] = None,
             mongodb_atlas_project_id: Optional[str] = None,
             mongodb_uri_options: Optional[str] = None,
             db_server_certificates: Optional[str] = None,
             description: Optional[str] = None,
             host: Optional[str] = None,
             key: Optional[str] = None,
             mongodb_atlas: Optional[bool] = None,
             mongodb_atlas_api_private_key: Optional[str] = None,
             mongodb_atlas_api_public_key: Optional[str] = None,
             db_name: Optional[str] = None,
             db_server_name: Optional[str] = None,
             name: Optional[str] = None,
             mongodb_default_auth_db: Optional[str] = None,
             oracle_service_name: Optional[str] = None,
             port: Optional[str] = None,
             pwd: Optional[str] = None,
             snowflake_account: Optional[str] = None,
             ssl: Optional[bool] = None,
             ssl_certificate: Optional[str] = None,
             target_db_id: Optional[str] = None,
             user_name: Optional[str] = None)
func NewTargetDb(ctx *Context, name string, args TargetDbArgs, opts ...ResourceOption) (*TargetDb, error)
public TargetDb(string name, TargetDbArgs args, CustomResourceOptions? opts = null)
public TargetDb(String name, TargetDbArgs args)
public TargetDb(String name, TargetDbArgs args, CustomResourceOptions options)
type: akeyless:TargetDb
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. TargetDbArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. TargetDbArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. TargetDbArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. TargetDbArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. TargetDbArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var targetDbResource = new Akeyless.TargetDb("targetDbResource", new()
{
    DbType = "string",
    MongodbAtlasProjectId = "string",
    MongodbUriOptions = "string",
    DbServerCertificates = "string",
    Description = "string",
    Host = "string",
    Key = "string",
    MongodbAtlas = false,
    MongodbAtlasApiPrivateKey = "string",
    MongodbAtlasApiPublicKey = "string",
    DbName = "string",
    DbServerName = "string",
    Name = "string",
    MongodbDefaultAuthDb = "string",
    OracleServiceName = "string",
    Port = "string",
    Pwd = "string",
    SnowflakeAccount = "string",
    Ssl = false,
    SslCertificate = "string",
    TargetDbId = "string",
    UserName = "string",
});
Copy
example, err := akeyless.NewTargetDb(ctx, "targetDbResource", &akeyless.TargetDbArgs{
	DbType:                    pulumi.String("string"),
	MongodbAtlasProjectId:     pulumi.String("string"),
	MongodbUriOptions:         pulumi.String("string"),
	DbServerCertificates:      pulumi.String("string"),
	Description:               pulumi.String("string"),
	Host:                      pulumi.String("string"),
	Key:                       pulumi.String("string"),
	MongodbAtlas:              pulumi.Bool(false),
	MongodbAtlasApiPrivateKey: pulumi.String("string"),
	MongodbAtlasApiPublicKey:  pulumi.String("string"),
	DbName:                    pulumi.String("string"),
	DbServerName:              pulumi.String("string"),
	Name:                      pulumi.String("string"),
	MongodbDefaultAuthDb:      pulumi.String("string"),
	OracleServiceName:         pulumi.String("string"),
	Port:                      pulumi.String("string"),
	Pwd:                       pulumi.String("string"),
	SnowflakeAccount:          pulumi.String("string"),
	Ssl:                       pulumi.Bool(false),
	SslCertificate:            pulumi.String("string"),
	TargetDbId:                pulumi.String("string"),
	UserName:                  pulumi.String("string"),
})
Copy
var targetDbResource = new TargetDb("targetDbResource", TargetDbArgs.builder()
    .dbType("string")
    .mongodbAtlasProjectId("string")
    .mongodbUriOptions("string")
    .dbServerCertificates("string")
    .description("string")
    .host("string")
    .key("string")
    .mongodbAtlas(false)
    .mongodbAtlasApiPrivateKey("string")
    .mongodbAtlasApiPublicKey("string")
    .dbName("string")
    .dbServerName("string")
    .name("string")
    .mongodbDefaultAuthDb("string")
    .oracleServiceName("string")
    .port("string")
    .pwd("string")
    .snowflakeAccount("string")
    .ssl(false)
    .sslCertificate("string")
    .targetDbId("string")
    .userName("string")
    .build());
Copy
target_db_resource = akeyless.TargetDb("targetDbResource",
    db_type="string",
    mongodb_atlas_project_id="string",
    mongodb_uri_options="string",
    db_server_certificates="string",
    description="string",
    host="string",
    key="string",
    mongodb_atlas=False,
    mongodb_atlas_api_private_key="string",
    mongodb_atlas_api_public_key="string",
    db_name="string",
    db_server_name="string",
    name="string",
    mongodb_default_auth_db="string",
    oracle_service_name="string",
    port="string",
    pwd="string",
    snowflake_account="string",
    ssl=False,
    ssl_certificate="string",
    target_db_id="string",
    user_name="string")
Copy
const targetDbResource = new akeyless.TargetDb("targetDbResource", {
    dbType: "string",
    mongodbAtlasProjectId: "string",
    mongodbUriOptions: "string",
    dbServerCertificates: "string",
    description: "string",
    host: "string",
    key: "string",
    mongodbAtlas: false,
    mongodbAtlasApiPrivateKey: "string",
    mongodbAtlasApiPublicKey: "string",
    dbName: "string",
    dbServerName: "string",
    name: "string",
    mongodbDefaultAuthDb: "string",
    oracleServiceName: "string",
    port: "string",
    pwd: "string",
    snowflakeAccount: "string",
    ssl: false,
    sslCertificate: "string",
    targetDbId: "string",
    userName: "string",
});
Copy
type: akeyless:TargetDb
properties:
    dbName: string
    dbServerCertificates: string
    dbServerName: string
    dbType: string
    description: string
    host: string
    key: string
    mongodbAtlas: false
    mongodbAtlasApiPrivateKey: string
    mongodbAtlasApiPublicKey: string
    mongodbAtlasProjectId: string
    mongodbDefaultAuthDb: string
    mongodbUriOptions: string
    name: string
    oracleServiceName: string
    port: string
    pwd: string
    snowflakeAccount: string
    ssl: false
    sslCertificate: string
    targetDbId: string
    userName: string
Copy

TargetDb Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The TargetDb resource accepts the following input properties:

DbType This property is required. string
Database type: mysql/mssql/postgres/mongodb/snowflake/oracle/cassandra/redshift
DbName string
Database name
DbServerCertificates string
Set of root certificate authorities in base64 encoding used by clients to verify server certificates
DbServerName string
Server name is used to verify the hostname on the returned certificates unless InsecureSkipVerify is provided. It is also included in the client's handshake to support virtual hosting unless it is an IP address
Description string
Description of the object
Host string
Database host
Key string
Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
MongodbAtlas bool
Flag, set database type to mongodb and the flag to true to create Mongo Atlas target
MongodbAtlasApiPrivateKey string
MongoDB Atlas private key
MongodbAtlasApiPublicKey string
MongoDB Atlas public key
MongodbAtlasProjectId string
MongoDB Atlas project ID
MongodbDefaultAuthDb string
MongoDB server default authentication database
MongodbUriOptions string
MongoDB server URI options (e.g. replicaSet=mySet&authSource=authDB)
Name string
Target name
OracleServiceName string
oracle db service name
Port string
Database port
Pwd string
Database password
SnowflakeAccount string
Snowflake account name
Ssl bool
Enable/Disable SSL [true/false]
SslCertificate string
SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
TargetDbId string
The ID of this resource.
UserName string
Database user name
DbType This property is required. string
Database type: mysql/mssql/postgres/mongodb/snowflake/oracle/cassandra/redshift
DbName string
Database name
DbServerCertificates string
Set of root certificate authorities in base64 encoding used by clients to verify server certificates
DbServerName string
Server name is used to verify the hostname on the returned certificates unless InsecureSkipVerify is provided. It is also included in the client's handshake to support virtual hosting unless it is an IP address
Description string
Description of the object
Host string
Database host
Key string
Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
MongodbAtlas bool
Flag, set database type to mongodb and the flag to true to create Mongo Atlas target
MongodbAtlasApiPrivateKey string
MongoDB Atlas private key
MongodbAtlasApiPublicKey string
MongoDB Atlas public key
MongodbAtlasProjectId string
MongoDB Atlas project ID
MongodbDefaultAuthDb string
MongoDB server default authentication database
MongodbUriOptions string
MongoDB server URI options (e.g. replicaSet=mySet&authSource=authDB)
Name string
Target name
OracleServiceName string
oracle db service name
Port string
Database port
Pwd string
Database password
SnowflakeAccount string
Snowflake account name
Ssl bool
Enable/Disable SSL [true/false]
SslCertificate string
SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
TargetDbId string
The ID of this resource.
UserName string
Database user name
dbType This property is required. String
Database type: mysql/mssql/postgres/mongodb/snowflake/oracle/cassandra/redshift
dbName String
Database name
dbServerCertificates String
Set of root certificate authorities in base64 encoding used by clients to verify server certificates
dbServerName String
Server name is used to verify the hostname on the returned certificates unless InsecureSkipVerify is provided. It is also included in the client's handshake to support virtual hosting unless it is an IP address
description String
Description of the object
host String
Database host
key String
Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
mongodbAtlas Boolean
Flag, set database type to mongodb and the flag to true to create Mongo Atlas target
mongodbAtlasApiPrivateKey String
MongoDB Atlas private key
mongodbAtlasApiPublicKey String
MongoDB Atlas public key
mongodbAtlasProjectId String
MongoDB Atlas project ID
mongodbDefaultAuthDb String
MongoDB server default authentication database
mongodbUriOptions String
MongoDB server URI options (e.g. replicaSet=mySet&authSource=authDB)
name String
Target name
oracleServiceName String
oracle db service name
port String
Database port
pwd String
Database password
snowflakeAccount String
Snowflake account name
ssl Boolean
Enable/Disable SSL [true/false]
sslCertificate String
SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
targetDbId String
The ID of this resource.
userName String
Database user name
dbType This property is required. string
Database type: mysql/mssql/postgres/mongodb/snowflake/oracle/cassandra/redshift
dbName string
Database name
dbServerCertificates string
Set of root certificate authorities in base64 encoding used by clients to verify server certificates
dbServerName string
Server name is used to verify the hostname on the returned certificates unless InsecureSkipVerify is provided. It is also included in the client's handshake to support virtual hosting unless it is an IP address
description string
Description of the object
host string
Database host
key string
Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
mongodbAtlas boolean
Flag, set database type to mongodb and the flag to true to create Mongo Atlas target
mongodbAtlasApiPrivateKey string
MongoDB Atlas private key
mongodbAtlasApiPublicKey string
MongoDB Atlas public key
mongodbAtlasProjectId string
MongoDB Atlas project ID
mongodbDefaultAuthDb string
MongoDB server default authentication database
mongodbUriOptions string
MongoDB server URI options (e.g. replicaSet=mySet&authSource=authDB)
name string
Target name
oracleServiceName string
oracle db service name
port string
Database port
pwd string
Database password
snowflakeAccount string
Snowflake account name
ssl boolean
Enable/Disable SSL [true/false]
sslCertificate string
SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
targetDbId string
The ID of this resource.
userName string
Database user name
db_type This property is required. str
Database type: mysql/mssql/postgres/mongodb/snowflake/oracle/cassandra/redshift
db_name str
Database name
db_server_certificates str
Set of root certificate authorities in base64 encoding used by clients to verify server certificates
db_server_name str
Server name is used to verify the hostname on the returned certificates unless InsecureSkipVerify is provided. It is also included in the client's handshake to support virtual hosting unless it is an IP address
description str
Description of the object
host str
Database host
key str
Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
mongodb_atlas bool
Flag, set database type to mongodb and the flag to true to create Mongo Atlas target
mongodb_atlas_api_private_key str
MongoDB Atlas private key
mongodb_atlas_api_public_key str
MongoDB Atlas public key
mongodb_atlas_project_id str
MongoDB Atlas project ID
mongodb_default_auth_db str
MongoDB server default authentication database
mongodb_uri_options str
MongoDB server URI options (e.g. replicaSet=mySet&authSource=authDB)
name str
Target name
oracle_service_name str
oracle db service name
port str
Database port
pwd str
Database password
snowflake_account str
Snowflake account name
ssl bool
Enable/Disable SSL [true/false]
ssl_certificate str
SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
target_db_id str
The ID of this resource.
user_name str
Database user name
dbType This property is required. String
Database type: mysql/mssql/postgres/mongodb/snowflake/oracle/cassandra/redshift
dbName String
Database name
dbServerCertificates String
Set of root certificate authorities in base64 encoding used by clients to verify server certificates
dbServerName String
Server name is used to verify the hostname on the returned certificates unless InsecureSkipVerify is provided. It is also included in the client's handshake to support virtual hosting unless it is an IP address
description String
Description of the object
host String
Database host
key String
Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
mongodbAtlas Boolean
Flag, set database type to mongodb and the flag to true to create Mongo Atlas target
mongodbAtlasApiPrivateKey String
MongoDB Atlas private key
mongodbAtlasApiPublicKey String
MongoDB Atlas public key
mongodbAtlasProjectId String
MongoDB Atlas project ID
mongodbDefaultAuthDb String
MongoDB server default authentication database
mongodbUriOptions String
MongoDB server URI options (e.g. replicaSet=mySet&authSource=authDB)
name String
Target name
oracleServiceName String
oracle db service name
port String
Database port
pwd String
Database password
snowflakeAccount String
Snowflake account name
ssl Boolean
Enable/Disable SSL [true/false]
sslCertificate String
SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
targetDbId String
The ID of this resource.
userName String
Database user name

Outputs

All input properties are implicitly available as output properties. Additionally, the TargetDb 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 string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing TargetDb Resource

Get an existing TargetDb 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?: TargetDbState, opts?: CustomResourceOptions): TargetDb
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        db_name: Optional[str] = None,
        db_server_certificates: Optional[str] = None,
        db_server_name: Optional[str] = None,
        db_type: Optional[str] = None,
        description: Optional[str] = None,
        host: Optional[str] = None,
        key: Optional[str] = None,
        mongodb_atlas: Optional[bool] = None,
        mongodb_atlas_api_private_key: Optional[str] = None,
        mongodb_atlas_api_public_key: Optional[str] = None,
        mongodb_atlas_project_id: Optional[str] = None,
        mongodb_default_auth_db: Optional[str] = None,
        mongodb_uri_options: Optional[str] = None,
        name: Optional[str] = None,
        oracle_service_name: Optional[str] = None,
        port: Optional[str] = None,
        pwd: Optional[str] = None,
        snowflake_account: Optional[str] = None,
        ssl: Optional[bool] = None,
        ssl_certificate: Optional[str] = None,
        target_db_id: Optional[str] = None,
        user_name: Optional[str] = None) -> TargetDb
func GetTargetDb(ctx *Context, name string, id IDInput, state *TargetDbState, opts ...ResourceOption) (*TargetDb, error)
public static TargetDb Get(string name, Input<string> id, TargetDbState? state, CustomResourceOptions? opts = null)
public static TargetDb get(String name, Output<String> id, TargetDbState state, CustomResourceOptions options)
resources:  _:    type: akeyless:TargetDb    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
DbName string
Database name
DbServerCertificates string
Set of root certificate authorities in base64 encoding used by clients to verify server certificates
DbServerName string
Server name is used to verify the hostname on the returned certificates unless InsecureSkipVerify is provided. It is also included in the client's handshake to support virtual hosting unless it is an IP address
DbType string
Database type: mysql/mssql/postgres/mongodb/snowflake/oracle/cassandra/redshift
Description string
Description of the object
Host string
Database host
Key string
Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
MongodbAtlas bool
Flag, set database type to mongodb and the flag to true to create Mongo Atlas target
MongodbAtlasApiPrivateKey string
MongoDB Atlas private key
MongodbAtlasApiPublicKey string
MongoDB Atlas public key
MongodbAtlasProjectId string
MongoDB Atlas project ID
MongodbDefaultAuthDb string
MongoDB server default authentication database
MongodbUriOptions string
MongoDB server URI options (e.g. replicaSet=mySet&authSource=authDB)
Name string
Target name
OracleServiceName string
oracle db service name
Port string
Database port
Pwd string
Database password
SnowflakeAccount string
Snowflake account name
Ssl bool
Enable/Disable SSL [true/false]
SslCertificate string
SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
TargetDbId string
The ID of this resource.
UserName string
Database user name
DbName string
Database name
DbServerCertificates string
Set of root certificate authorities in base64 encoding used by clients to verify server certificates
DbServerName string
Server name is used to verify the hostname on the returned certificates unless InsecureSkipVerify is provided. It is also included in the client's handshake to support virtual hosting unless it is an IP address
DbType string
Database type: mysql/mssql/postgres/mongodb/snowflake/oracle/cassandra/redshift
Description string
Description of the object
Host string
Database host
Key string
Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
MongodbAtlas bool
Flag, set database type to mongodb and the flag to true to create Mongo Atlas target
MongodbAtlasApiPrivateKey string
MongoDB Atlas private key
MongodbAtlasApiPublicKey string
MongoDB Atlas public key
MongodbAtlasProjectId string
MongoDB Atlas project ID
MongodbDefaultAuthDb string
MongoDB server default authentication database
MongodbUriOptions string
MongoDB server URI options (e.g. replicaSet=mySet&authSource=authDB)
Name string
Target name
OracleServiceName string
oracle db service name
Port string
Database port
Pwd string
Database password
SnowflakeAccount string
Snowflake account name
Ssl bool
Enable/Disable SSL [true/false]
SslCertificate string
SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
TargetDbId string
The ID of this resource.
UserName string
Database user name
dbName String
Database name
dbServerCertificates String
Set of root certificate authorities in base64 encoding used by clients to verify server certificates
dbServerName String
Server name is used to verify the hostname on the returned certificates unless InsecureSkipVerify is provided. It is also included in the client's handshake to support virtual hosting unless it is an IP address
dbType String
Database type: mysql/mssql/postgres/mongodb/snowflake/oracle/cassandra/redshift
description String
Description of the object
host String
Database host
key String
Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
mongodbAtlas Boolean
Flag, set database type to mongodb and the flag to true to create Mongo Atlas target
mongodbAtlasApiPrivateKey String
MongoDB Atlas private key
mongodbAtlasApiPublicKey String
MongoDB Atlas public key
mongodbAtlasProjectId String
MongoDB Atlas project ID
mongodbDefaultAuthDb String
MongoDB server default authentication database
mongodbUriOptions String
MongoDB server URI options (e.g. replicaSet=mySet&authSource=authDB)
name String
Target name
oracleServiceName String
oracle db service name
port String
Database port
pwd String
Database password
snowflakeAccount String
Snowflake account name
ssl Boolean
Enable/Disable SSL [true/false]
sslCertificate String
SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
targetDbId String
The ID of this resource.
userName String
Database user name
dbName string
Database name
dbServerCertificates string
Set of root certificate authorities in base64 encoding used by clients to verify server certificates
dbServerName string
Server name is used to verify the hostname on the returned certificates unless InsecureSkipVerify is provided. It is also included in the client's handshake to support virtual hosting unless it is an IP address
dbType string
Database type: mysql/mssql/postgres/mongodb/snowflake/oracle/cassandra/redshift
description string
Description of the object
host string
Database host
key string
Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
mongodbAtlas boolean
Flag, set database type to mongodb and the flag to true to create Mongo Atlas target
mongodbAtlasApiPrivateKey string
MongoDB Atlas private key
mongodbAtlasApiPublicKey string
MongoDB Atlas public key
mongodbAtlasProjectId string
MongoDB Atlas project ID
mongodbDefaultAuthDb string
MongoDB server default authentication database
mongodbUriOptions string
MongoDB server URI options (e.g. replicaSet=mySet&authSource=authDB)
name string
Target name
oracleServiceName string
oracle db service name
port string
Database port
pwd string
Database password
snowflakeAccount string
Snowflake account name
ssl boolean
Enable/Disable SSL [true/false]
sslCertificate string
SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
targetDbId string
The ID of this resource.
userName string
Database user name
db_name str
Database name
db_server_certificates str
Set of root certificate authorities in base64 encoding used by clients to verify server certificates
db_server_name str
Server name is used to verify the hostname on the returned certificates unless InsecureSkipVerify is provided. It is also included in the client's handshake to support virtual hosting unless it is an IP address
db_type str
Database type: mysql/mssql/postgres/mongodb/snowflake/oracle/cassandra/redshift
description str
Description of the object
host str
Database host
key str
Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
mongodb_atlas bool
Flag, set database type to mongodb and the flag to true to create Mongo Atlas target
mongodb_atlas_api_private_key str
MongoDB Atlas private key
mongodb_atlas_api_public_key str
MongoDB Atlas public key
mongodb_atlas_project_id str
MongoDB Atlas project ID
mongodb_default_auth_db str
MongoDB server default authentication database
mongodb_uri_options str
MongoDB server URI options (e.g. replicaSet=mySet&authSource=authDB)
name str
Target name
oracle_service_name str
oracle db service name
port str
Database port
pwd str
Database password
snowflake_account str
Snowflake account name
ssl bool
Enable/Disable SSL [true/false]
ssl_certificate str
SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
target_db_id str
The ID of this resource.
user_name str
Database user name
dbName String
Database name
dbServerCertificates String
Set of root certificate authorities in base64 encoding used by clients to verify server certificates
dbServerName String
Server name is used to verify the hostname on the returned certificates unless InsecureSkipVerify is provided. It is also included in the client's handshake to support virtual hosting unless it is an IP address
dbType String
Database type: mysql/mssql/postgres/mongodb/snowflake/oracle/cassandra/redshift
description String
Description of the object
host String
Database host
key String
Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
mongodbAtlas Boolean
Flag, set database type to mongodb and the flag to true to create Mongo Atlas target
mongodbAtlasApiPrivateKey String
MongoDB Atlas private key
mongodbAtlasApiPublicKey String
MongoDB Atlas public key
mongodbAtlasProjectId String
MongoDB Atlas project ID
mongodbDefaultAuthDb String
MongoDB server default authentication database
mongodbUriOptions String
MongoDB server URI options (e.g. replicaSet=mySet&authSource=authDB)
name String
Target name
oracleServiceName String
oracle db service name
port String
Database port
pwd String
Database password
snowflakeAccount String
Snowflake account name
ssl Boolean
Enable/Disable SSL [true/false]
sslCertificate String
SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
targetDbId String
The ID of this resource.
userName String
Database user name

Package Details

Repository
akeyless akeyless-community/terraform-provider-akeyless
License
Notes
This Pulumi package is based on the akeyless Terraform Provider.