1. Packages
  2. Packages
  3. Akeyless Provider
  4. API Docs
  5. DynamicSecretPostgresql
Viewing docs for akeyless 2.0.1
published on Monday, Apr 27, 2026 by akeyless-community
Viewing docs for akeyless 2.0.1
published on Monday, Apr 27, 2026 by akeyless-community

    PostgreSQL dynamic secret resource

    Create DynamicSecretPostgresql Resource

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

    Constructor syntax

    new DynamicSecretPostgresql(name: string, args?: DynamicSecretPostgresqlArgs, opts?: CustomResourceOptions);
    @overload
    def DynamicSecretPostgresql(resource_name: str,
                                args: Optional[DynamicSecretPostgresqlArgs] = None,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def DynamicSecretPostgresql(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                creation_statements: Optional[str] = None,
                                custom_username_template: Optional[str] = None,
                                delete_protection: Optional[str] = None,
                                description: Optional[str] = None,
                                dynamic_secret_postgresql_id: Optional[str] = None,
                                encryption_key_name: Optional[str] = None,
                                item_custom_fields: Optional[Mapping[str, str]] = None,
                                name: Optional[str] = None,
                                password_length: Optional[str] = None,
                                postgresql_db_name: Optional[str] = None,
                                postgresql_host: Optional[str] = None,
                                postgresql_password: Optional[str] = None,
                                postgresql_port: Optional[str] = None,
                                postgresql_username: Optional[str] = None,
                                revocation_statements: Optional[str] = None,
                                secure_access_bastion_issuer: Optional[str] = None,
                                secure_access_certificate_issuer: Optional[str] = None,
                                secure_access_db_name: Optional[str] = None,
                                secure_access_db_schema: Optional[str] = None,
                                secure_access_delay: Optional[float] = None,
                                secure_access_enable: Optional[str] = None,
                                secure_access_hosts: Optional[Sequence[str]] = None,
                                secure_access_web: Optional[bool] = None,
                                ssl: Optional[bool] = None,
                                tags: Optional[Sequence[str]] = None,
                                target_name: Optional[str] = None,
                                user_ttl: Optional[str] = None)
    func NewDynamicSecretPostgresql(ctx *Context, name string, args *DynamicSecretPostgresqlArgs, opts ...ResourceOption) (*DynamicSecretPostgresql, error)
    public DynamicSecretPostgresql(string name, DynamicSecretPostgresqlArgs? args = null, CustomResourceOptions? opts = null)
    public DynamicSecretPostgresql(String name, DynamicSecretPostgresqlArgs args)
    public DynamicSecretPostgresql(String name, DynamicSecretPostgresqlArgs args, CustomResourceOptions options)
    
    type: akeyless:DynamicSecretPostgresql
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DynamicSecretPostgresqlArgs
    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 DynamicSecretPostgresqlArgs
    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 DynamicSecretPostgresqlArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DynamicSecretPostgresqlArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DynamicSecretPostgresqlArgs
    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 dynamicSecretPostgresqlResource = new Akeyless.DynamicSecretPostgresql("dynamicSecretPostgresqlResource", new()
    {
        CreationStatements = "string",
        CustomUsernameTemplate = "string",
        DeleteProtection = "string",
        Description = "string",
        DynamicSecretPostgresqlId = "string",
        EncryptionKeyName = "string",
        ItemCustomFields = 
        {
            { "string", "string" },
        },
        Name = "string",
        PasswordLength = "string",
        PostgresqlDbName = "string",
        PostgresqlHost = "string",
        PostgresqlPassword = "string",
        PostgresqlPort = "string",
        PostgresqlUsername = "string",
        RevocationStatements = "string",
        SecureAccessCertificateIssuer = "string",
        SecureAccessDbName = "string",
        SecureAccessDbSchema = "string",
        SecureAccessDelay = 0,
        SecureAccessEnable = "string",
        SecureAccessHosts = new[]
        {
            "string",
        },
        SecureAccessWeb = false,
        Ssl = false,
        Tags = new[]
        {
            "string",
        },
        TargetName = "string",
        UserTtl = "string",
    });
    
    example, err := akeyless.NewDynamicSecretPostgresql(ctx, "dynamicSecretPostgresqlResource", &akeyless.DynamicSecretPostgresqlArgs{
    	CreationStatements:        pulumi.String("string"),
    	CustomUsernameTemplate:    pulumi.String("string"),
    	DeleteProtection:          pulumi.String("string"),
    	Description:               pulumi.String("string"),
    	DynamicSecretPostgresqlId: pulumi.String("string"),
    	EncryptionKeyName:         pulumi.String("string"),
    	ItemCustomFields: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name:                          pulumi.String("string"),
    	PasswordLength:                pulumi.String("string"),
    	PostgresqlDbName:              pulumi.String("string"),
    	PostgresqlHost:                pulumi.String("string"),
    	PostgresqlPassword:            pulumi.String("string"),
    	PostgresqlPort:                pulumi.String("string"),
    	PostgresqlUsername:            pulumi.String("string"),
    	RevocationStatements:          pulumi.String("string"),
    	SecureAccessCertificateIssuer: pulumi.String("string"),
    	SecureAccessDbName:            pulumi.String("string"),
    	SecureAccessDbSchema:          pulumi.String("string"),
    	SecureAccessDelay:             pulumi.Float64(0),
    	SecureAccessEnable:            pulumi.String("string"),
    	SecureAccessHosts: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	SecureAccessWeb: pulumi.Bool(false),
    	Ssl:             pulumi.Bool(false),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	TargetName: pulumi.String("string"),
    	UserTtl:    pulumi.String("string"),
    })
    
    var dynamicSecretPostgresqlResource = new DynamicSecretPostgresql("dynamicSecretPostgresqlResource", DynamicSecretPostgresqlArgs.builder()
        .creationStatements("string")
        .customUsernameTemplate("string")
        .deleteProtection("string")
        .description("string")
        .dynamicSecretPostgresqlId("string")
        .encryptionKeyName("string")
        .itemCustomFields(Map.of("string", "string"))
        .name("string")
        .passwordLength("string")
        .postgresqlDbName("string")
        .postgresqlHost("string")
        .postgresqlPassword("string")
        .postgresqlPort("string")
        .postgresqlUsername("string")
        .revocationStatements("string")
        .secureAccessCertificateIssuer("string")
        .secureAccessDbName("string")
        .secureAccessDbSchema("string")
        .secureAccessDelay(0.0)
        .secureAccessEnable("string")
        .secureAccessHosts("string")
        .secureAccessWeb(false)
        .ssl(false)
        .tags("string")
        .targetName("string")
        .userTtl("string")
        .build());
    
    dynamic_secret_postgresql_resource = akeyless.DynamicSecretPostgresql("dynamicSecretPostgresqlResource",
        creation_statements="string",
        custom_username_template="string",
        delete_protection="string",
        description="string",
        dynamic_secret_postgresql_id="string",
        encryption_key_name="string",
        item_custom_fields={
            "string": "string",
        },
        name="string",
        password_length="string",
        postgresql_db_name="string",
        postgresql_host="string",
        postgresql_password="string",
        postgresql_port="string",
        postgresql_username="string",
        revocation_statements="string",
        secure_access_certificate_issuer="string",
        secure_access_db_name="string",
        secure_access_db_schema="string",
        secure_access_delay=float(0),
        secure_access_enable="string",
        secure_access_hosts=["string"],
        secure_access_web=False,
        ssl=False,
        tags=["string"],
        target_name="string",
        user_ttl="string")
    
    const dynamicSecretPostgresqlResource = new akeyless.DynamicSecretPostgresql("dynamicSecretPostgresqlResource", {
        creationStatements: "string",
        customUsernameTemplate: "string",
        deleteProtection: "string",
        description: "string",
        dynamicSecretPostgresqlId: "string",
        encryptionKeyName: "string",
        itemCustomFields: {
            string: "string",
        },
        name: "string",
        passwordLength: "string",
        postgresqlDbName: "string",
        postgresqlHost: "string",
        postgresqlPassword: "string",
        postgresqlPort: "string",
        postgresqlUsername: "string",
        revocationStatements: "string",
        secureAccessCertificateIssuer: "string",
        secureAccessDbName: "string",
        secureAccessDbSchema: "string",
        secureAccessDelay: 0,
        secureAccessEnable: "string",
        secureAccessHosts: ["string"],
        secureAccessWeb: false,
        ssl: false,
        tags: ["string"],
        targetName: "string",
        userTtl: "string",
    });
    
    type: akeyless:DynamicSecretPostgresql
    properties:
        creationStatements: string
        customUsernameTemplate: string
        deleteProtection: string
        description: string
        dynamicSecretPostgresqlId: string
        encryptionKeyName: string
        itemCustomFields:
            string: string
        name: string
        passwordLength: string
        postgresqlDbName: string
        postgresqlHost: string
        postgresqlPassword: string
        postgresqlPort: string
        postgresqlUsername: string
        revocationStatements: string
        secureAccessCertificateIssuer: string
        secureAccessDbName: string
        secureAccessDbSchema: string
        secureAccessDelay: 0
        secureAccessEnable: string
        secureAccessHosts:
            - string
        secureAccessWeb: false
        ssl: false
        tags:
            - string
        targetName: string
        userTtl: string
    

    DynamicSecretPostgresql 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 DynamicSecretPostgresql resource accepts the following input properties:

    CreationStatements string
    PostgreSQL Creation statements
    CustomUsernameTemplate string
    Customize how temporary usernames are generated using go template
    DeleteProtection string
    Protection from accidental deletion of this object [true/false]
    Description string
    Description of the object
    DynamicSecretPostgresqlId string
    The ID of this resource.
    EncryptionKeyName string
    Dynamic producer encryption key
    ItemCustomFields Dictionary<string, string>
    Additional custom fields to associate with the item
    Name string
    Dynamic secret name
    PasswordLength string
    The length of the password to be generated
    PostgresqlDbName string
    PostgreSQL DB Name
    PostgresqlHost string
    PostgreSQL Host
    PostgresqlPassword string
    PostgreSQL Password
    PostgresqlPort string
    PostgreSQL Port
    PostgresqlUsername string
    PostgreSQL Username
    RevocationStatements string
    PostgreSQL Revocation statements
    SecureAccessBastionIssuer string
    Path to the SSH Certificate Issuer for your Akeyless Bastion

    Deprecated: Deprecated

    SecureAccessCertificateIssuer string
    Path to the SSH Certificate Issuer for your Akeyless Secure Access
    SecureAccessDbName string
    The DB Name
    SecureAccessDbSchema string
    The db schema
    SecureAccessDelay double
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    SecureAccessEnable string
    Enable/Disable secure remote access, [true/false]
    SecureAccessHosts List<string>
    Target DB servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts)
    SecureAccessWeb bool
    Enable Web Secure Remote Access
    Ssl bool
    Enable/Disable SSL [true/false]
    Tags List<string>
    Add tags attached to this object
    TargetName string
    Target name
    UserTtl string
    User TTL
    CreationStatements string
    PostgreSQL Creation statements
    CustomUsernameTemplate string
    Customize how temporary usernames are generated using go template
    DeleteProtection string
    Protection from accidental deletion of this object [true/false]
    Description string
    Description of the object
    DynamicSecretPostgresqlId string
    The ID of this resource.
    EncryptionKeyName string
    Dynamic producer encryption key
    ItemCustomFields map[string]string
    Additional custom fields to associate with the item
    Name string
    Dynamic secret name
    PasswordLength string
    The length of the password to be generated
    PostgresqlDbName string
    PostgreSQL DB Name
    PostgresqlHost string
    PostgreSQL Host
    PostgresqlPassword string
    PostgreSQL Password
    PostgresqlPort string
    PostgreSQL Port
    PostgresqlUsername string
    PostgreSQL Username
    RevocationStatements string
    PostgreSQL Revocation statements
    SecureAccessBastionIssuer string
    Path to the SSH Certificate Issuer for your Akeyless Bastion

    Deprecated: Deprecated

    SecureAccessCertificateIssuer string
    Path to the SSH Certificate Issuer for your Akeyless Secure Access
    SecureAccessDbName string
    The DB Name
    SecureAccessDbSchema string
    The db schema
    SecureAccessDelay float64
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    SecureAccessEnable string
    Enable/Disable secure remote access, [true/false]
    SecureAccessHosts []string
    Target DB servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts)
    SecureAccessWeb bool
    Enable Web Secure Remote Access
    Ssl bool
    Enable/Disable SSL [true/false]
    Tags []string
    Add tags attached to this object
    TargetName string
    Target name
    UserTtl string
    User TTL
    creationStatements String
    PostgreSQL Creation statements
    customUsernameTemplate String
    Customize how temporary usernames are generated using go template
    deleteProtection String
    Protection from accidental deletion of this object [true/false]
    description String
    Description of the object
    dynamicSecretPostgresqlId String
    The ID of this resource.
    encryptionKeyName String
    Dynamic producer encryption key
    itemCustomFields Map<String,String>
    Additional custom fields to associate with the item
    name String
    Dynamic secret name
    passwordLength String
    The length of the password to be generated
    postgresqlDbName String
    PostgreSQL DB Name
    postgresqlHost String
    PostgreSQL Host
    postgresqlPassword String
    PostgreSQL Password
    postgresqlPort String
    PostgreSQL Port
    postgresqlUsername String
    PostgreSQL Username
    revocationStatements String
    PostgreSQL Revocation statements
    secureAccessBastionIssuer String
    Path to the SSH Certificate Issuer for your Akeyless Bastion

    Deprecated: Deprecated

    secureAccessCertificateIssuer String
    Path to the SSH Certificate Issuer for your Akeyless Secure Access
    secureAccessDbName String
    The DB Name
    secureAccessDbSchema String
    The db schema
    secureAccessDelay Double
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    secureAccessEnable String
    Enable/Disable secure remote access, [true/false]
    secureAccessHosts List<String>
    Target DB servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts)
    secureAccessWeb Boolean
    Enable Web Secure Remote Access
    ssl Boolean
    Enable/Disable SSL [true/false]
    tags List<String>
    Add tags attached to this object
    targetName String
    Target name
    userTtl String
    User TTL
    creationStatements string
    PostgreSQL Creation statements
    customUsernameTemplate string
    Customize how temporary usernames are generated using go template
    deleteProtection string
    Protection from accidental deletion of this object [true/false]
    description string
    Description of the object
    dynamicSecretPostgresqlId string
    The ID of this resource.
    encryptionKeyName string
    Dynamic producer encryption key
    itemCustomFields {[key: string]: string}
    Additional custom fields to associate with the item
    name string
    Dynamic secret name
    passwordLength string
    The length of the password to be generated
    postgresqlDbName string
    PostgreSQL DB Name
    postgresqlHost string
    PostgreSQL Host
    postgresqlPassword string
    PostgreSQL Password
    postgresqlPort string
    PostgreSQL Port
    postgresqlUsername string
    PostgreSQL Username
    revocationStatements string
    PostgreSQL Revocation statements
    secureAccessBastionIssuer string
    Path to the SSH Certificate Issuer for your Akeyless Bastion

    Deprecated: Deprecated

    secureAccessCertificateIssuer string
    Path to the SSH Certificate Issuer for your Akeyless Secure Access
    secureAccessDbName string
    The DB Name
    secureAccessDbSchema string
    The db schema
    secureAccessDelay number
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    secureAccessEnable string
    Enable/Disable secure remote access, [true/false]
    secureAccessHosts string[]
    Target DB servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts)
    secureAccessWeb boolean
    Enable Web Secure Remote Access
    ssl boolean
    Enable/Disable SSL [true/false]
    tags string[]
    Add tags attached to this object
    targetName string
    Target name
    userTtl string
    User TTL
    creation_statements str
    PostgreSQL Creation statements
    custom_username_template str
    Customize how temporary usernames are generated using go template
    delete_protection str
    Protection from accidental deletion of this object [true/false]
    description str
    Description of the object
    dynamic_secret_postgresql_id str
    The ID of this resource.
    encryption_key_name str
    Dynamic producer encryption key
    item_custom_fields Mapping[str, str]
    Additional custom fields to associate with the item
    name str
    Dynamic secret name
    password_length str
    The length of the password to be generated
    postgresql_db_name str
    PostgreSQL DB Name
    postgresql_host str
    PostgreSQL Host
    postgresql_password str
    PostgreSQL Password
    postgresql_port str
    PostgreSQL Port
    postgresql_username str
    PostgreSQL Username
    revocation_statements str
    PostgreSQL Revocation statements
    secure_access_bastion_issuer str
    Path to the SSH Certificate Issuer for your Akeyless Bastion

    Deprecated: Deprecated

    secure_access_certificate_issuer str
    Path to the SSH Certificate Issuer for your Akeyless Secure Access
    secure_access_db_name str
    The DB Name
    secure_access_db_schema str
    The db schema
    secure_access_delay float
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    secure_access_enable str
    Enable/Disable secure remote access, [true/false]
    secure_access_hosts Sequence[str]
    Target DB servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts)
    secure_access_web bool
    Enable Web Secure Remote Access
    ssl bool
    Enable/Disable SSL [true/false]
    tags Sequence[str]
    Add tags attached to this object
    target_name str
    Target name
    user_ttl str
    User TTL
    creationStatements String
    PostgreSQL Creation statements
    customUsernameTemplate String
    Customize how temporary usernames are generated using go template
    deleteProtection String
    Protection from accidental deletion of this object [true/false]
    description String
    Description of the object
    dynamicSecretPostgresqlId String
    The ID of this resource.
    encryptionKeyName String
    Dynamic producer encryption key
    itemCustomFields Map<String>
    Additional custom fields to associate with the item
    name String
    Dynamic secret name
    passwordLength String
    The length of the password to be generated
    postgresqlDbName String
    PostgreSQL DB Name
    postgresqlHost String
    PostgreSQL Host
    postgresqlPassword String
    PostgreSQL Password
    postgresqlPort String
    PostgreSQL Port
    postgresqlUsername String
    PostgreSQL Username
    revocationStatements String
    PostgreSQL Revocation statements
    secureAccessBastionIssuer String
    Path to the SSH Certificate Issuer for your Akeyless Bastion

    Deprecated: Deprecated

    secureAccessCertificateIssuer String
    Path to the SSH Certificate Issuer for your Akeyless Secure Access
    secureAccessDbName String
    The DB Name
    secureAccessDbSchema String
    The db schema
    secureAccessDelay Number
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    secureAccessEnable String
    Enable/Disable secure remote access, [true/false]
    secureAccessHosts List<String>
    Target DB servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts)
    secureAccessWeb Boolean
    Enable Web Secure Remote Access
    ssl Boolean
    Enable/Disable SSL [true/false]
    tags List<String>
    Add tags attached to this object
    targetName String
    Target name
    userTtl String
    User TTL

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DynamicSecretPostgresql 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 DynamicSecretPostgresql Resource

    Get an existing DynamicSecretPostgresql 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?: DynamicSecretPostgresqlState, opts?: CustomResourceOptions): DynamicSecretPostgresql
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            creation_statements: Optional[str] = None,
            custom_username_template: Optional[str] = None,
            delete_protection: Optional[str] = None,
            description: Optional[str] = None,
            dynamic_secret_postgresql_id: Optional[str] = None,
            encryption_key_name: Optional[str] = None,
            item_custom_fields: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            password_length: Optional[str] = None,
            postgresql_db_name: Optional[str] = None,
            postgresql_host: Optional[str] = None,
            postgresql_password: Optional[str] = None,
            postgresql_port: Optional[str] = None,
            postgresql_username: Optional[str] = None,
            revocation_statements: Optional[str] = None,
            secure_access_bastion_issuer: Optional[str] = None,
            secure_access_certificate_issuer: Optional[str] = None,
            secure_access_db_name: Optional[str] = None,
            secure_access_db_schema: Optional[str] = None,
            secure_access_delay: Optional[float] = None,
            secure_access_enable: Optional[str] = None,
            secure_access_hosts: Optional[Sequence[str]] = None,
            secure_access_web: Optional[bool] = None,
            ssl: Optional[bool] = None,
            tags: Optional[Sequence[str]] = None,
            target_name: Optional[str] = None,
            user_ttl: Optional[str] = None) -> DynamicSecretPostgresql
    func GetDynamicSecretPostgresql(ctx *Context, name string, id IDInput, state *DynamicSecretPostgresqlState, opts ...ResourceOption) (*DynamicSecretPostgresql, error)
    public static DynamicSecretPostgresql Get(string name, Input<string> id, DynamicSecretPostgresqlState? state, CustomResourceOptions? opts = null)
    public static DynamicSecretPostgresql get(String name, Output<String> id, DynamicSecretPostgresqlState state, CustomResourceOptions options)
    resources:  _:    type: akeyless:DynamicSecretPostgresql    get:      id: ${id}
    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.
    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:
    CreationStatements string
    PostgreSQL Creation statements
    CustomUsernameTemplate string
    Customize how temporary usernames are generated using go template
    DeleteProtection string
    Protection from accidental deletion of this object [true/false]
    Description string
    Description of the object
    DynamicSecretPostgresqlId string
    The ID of this resource.
    EncryptionKeyName string
    Dynamic producer encryption key
    ItemCustomFields Dictionary<string, string>
    Additional custom fields to associate with the item
    Name string
    Dynamic secret name
    PasswordLength string
    The length of the password to be generated
    PostgresqlDbName string
    PostgreSQL DB Name
    PostgresqlHost string
    PostgreSQL Host
    PostgresqlPassword string
    PostgreSQL Password
    PostgresqlPort string
    PostgreSQL Port
    PostgresqlUsername string
    PostgreSQL Username
    RevocationStatements string
    PostgreSQL Revocation statements
    SecureAccessBastionIssuer string
    Path to the SSH Certificate Issuer for your Akeyless Bastion

    Deprecated: Deprecated

    SecureAccessCertificateIssuer string
    Path to the SSH Certificate Issuer for your Akeyless Secure Access
    SecureAccessDbName string
    The DB Name
    SecureAccessDbSchema string
    The db schema
    SecureAccessDelay double
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    SecureAccessEnable string
    Enable/Disable secure remote access, [true/false]
    SecureAccessHosts List<string>
    Target DB servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts)
    SecureAccessWeb bool
    Enable Web Secure Remote Access
    Ssl bool
    Enable/Disable SSL [true/false]
    Tags List<string>
    Add tags attached to this object
    TargetName string
    Target name
    UserTtl string
    User TTL
    CreationStatements string
    PostgreSQL Creation statements
    CustomUsernameTemplate string
    Customize how temporary usernames are generated using go template
    DeleteProtection string
    Protection from accidental deletion of this object [true/false]
    Description string
    Description of the object
    DynamicSecretPostgresqlId string
    The ID of this resource.
    EncryptionKeyName string
    Dynamic producer encryption key
    ItemCustomFields map[string]string
    Additional custom fields to associate with the item
    Name string
    Dynamic secret name
    PasswordLength string
    The length of the password to be generated
    PostgresqlDbName string
    PostgreSQL DB Name
    PostgresqlHost string
    PostgreSQL Host
    PostgresqlPassword string
    PostgreSQL Password
    PostgresqlPort string
    PostgreSQL Port
    PostgresqlUsername string
    PostgreSQL Username
    RevocationStatements string
    PostgreSQL Revocation statements
    SecureAccessBastionIssuer string
    Path to the SSH Certificate Issuer for your Akeyless Bastion

    Deprecated: Deprecated

    SecureAccessCertificateIssuer string
    Path to the SSH Certificate Issuer for your Akeyless Secure Access
    SecureAccessDbName string
    The DB Name
    SecureAccessDbSchema string
    The db schema
    SecureAccessDelay float64
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    SecureAccessEnable string
    Enable/Disable secure remote access, [true/false]
    SecureAccessHosts []string
    Target DB servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts)
    SecureAccessWeb bool
    Enable Web Secure Remote Access
    Ssl bool
    Enable/Disable SSL [true/false]
    Tags []string
    Add tags attached to this object
    TargetName string
    Target name
    UserTtl string
    User TTL
    creationStatements String
    PostgreSQL Creation statements
    customUsernameTemplate String
    Customize how temporary usernames are generated using go template
    deleteProtection String
    Protection from accidental deletion of this object [true/false]
    description String
    Description of the object
    dynamicSecretPostgresqlId String
    The ID of this resource.
    encryptionKeyName String
    Dynamic producer encryption key
    itemCustomFields Map<String,String>
    Additional custom fields to associate with the item
    name String
    Dynamic secret name
    passwordLength String
    The length of the password to be generated
    postgresqlDbName String
    PostgreSQL DB Name
    postgresqlHost String
    PostgreSQL Host
    postgresqlPassword String
    PostgreSQL Password
    postgresqlPort String
    PostgreSQL Port
    postgresqlUsername String
    PostgreSQL Username
    revocationStatements String
    PostgreSQL Revocation statements
    secureAccessBastionIssuer String
    Path to the SSH Certificate Issuer for your Akeyless Bastion

    Deprecated: Deprecated

    secureAccessCertificateIssuer String
    Path to the SSH Certificate Issuer for your Akeyless Secure Access
    secureAccessDbName String
    The DB Name
    secureAccessDbSchema String
    The db schema
    secureAccessDelay Double
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    secureAccessEnable String
    Enable/Disable secure remote access, [true/false]
    secureAccessHosts List<String>
    Target DB servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts)
    secureAccessWeb Boolean
    Enable Web Secure Remote Access
    ssl Boolean
    Enable/Disable SSL [true/false]
    tags List<String>
    Add tags attached to this object
    targetName String
    Target name
    userTtl String
    User TTL
    creationStatements string
    PostgreSQL Creation statements
    customUsernameTemplate string
    Customize how temporary usernames are generated using go template
    deleteProtection string
    Protection from accidental deletion of this object [true/false]
    description string
    Description of the object
    dynamicSecretPostgresqlId string
    The ID of this resource.
    encryptionKeyName string
    Dynamic producer encryption key
    itemCustomFields {[key: string]: string}
    Additional custom fields to associate with the item
    name string
    Dynamic secret name
    passwordLength string
    The length of the password to be generated
    postgresqlDbName string
    PostgreSQL DB Name
    postgresqlHost string
    PostgreSQL Host
    postgresqlPassword string
    PostgreSQL Password
    postgresqlPort string
    PostgreSQL Port
    postgresqlUsername string
    PostgreSQL Username
    revocationStatements string
    PostgreSQL Revocation statements
    secureAccessBastionIssuer string
    Path to the SSH Certificate Issuer for your Akeyless Bastion

    Deprecated: Deprecated

    secureAccessCertificateIssuer string
    Path to the SSH Certificate Issuer for your Akeyless Secure Access
    secureAccessDbName string
    The DB Name
    secureAccessDbSchema string
    The db schema
    secureAccessDelay number
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    secureAccessEnable string
    Enable/Disable secure remote access, [true/false]
    secureAccessHosts string[]
    Target DB servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts)
    secureAccessWeb boolean
    Enable Web Secure Remote Access
    ssl boolean
    Enable/Disable SSL [true/false]
    tags string[]
    Add tags attached to this object
    targetName string
    Target name
    userTtl string
    User TTL
    creation_statements str
    PostgreSQL Creation statements
    custom_username_template str
    Customize how temporary usernames are generated using go template
    delete_protection str
    Protection from accidental deletion of this object [true/false]
    description str
    Description of the object
    dynamic_secret_postgresql_id str
    The ID of this resource.
    encryption_key_name str
    Dynamic producer encryption key
    item_custom_fields Mapping[str, str]
    Additional custom fields to associate with the item
    name str
    Dynamic secret name
    password_length str
    The length of the password to be generated
    postgresql_db_name str
    PostgreSQL DB Name
    postgresql_host str
    PostgreSQL Host
    postgresql_password str
    PostgreSQL Password
    postgresql_port str
    PostgreSQL Port
    postgresql_username str
    PostgreSQL Username
    revocation_statements str
    PostgreSQL Revocation statements
    secure_access_bastion_issuer str
    Path to the SSH Certificate Issuer for your Akeyless Bastion

    Deprecated: Deprecated

    secure_access_certificate_issuer str
    Path to the SSH Certificate Issuer for your Akeyless Secure Access
    secure_access_db_name str
    The DB Name
    secure_access_db_schema str
    The db schema
    secure_access_delay float
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    secure_access_enable str
    Enable/Disable secure remote access, [true/false]
    secure_access_hosts Sequence[str]
    Target DB servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts)
    secure_access_web bool
    Enable Web Secure Remote Access
    ssl bool
    Enable/Disable SSL [true/false]
    tags Sequence[str]
    Add tags attached to this object
    target_name str
    Target name
    user_ttl str
    User TTL
    creationStatements String
    PostgreSQL Creation statements
    customUsernameTemplate String
    Customize how temporary usernames are generated using go template
    deleteProtection String
    Protection from accidental deletion of this object [true/false]
    description String
    Description of the object
    dynamicSecretPostgresqlId String
    The ID of this resource.
    encryptionKeyName String
    Dynamic producer encryption key
    itemCustomFields Map<String>
    Additional custom fields to associate with the item
    name String
    Dynamic secret name
    passwordLength String
    The length of the password to be generated
    postgresqlDbName String
    PostgreSQL DB Name
    postgresqlHost String
    PostgreSQL Host
    postgresqlPassword String
    PostgreSQL Password
    postgresqlPort String
    PostgreSQL Port
    postgresqlUsername String
    PostgreSQL Username
    revocationStatements String
    PostgreSQL Revocation statements
    secureAccessBastionIssuer String
    Path to the SSH Certificate Issuer for your Akeyless Bastion

    Deprecated: Deprecated

    secureAccessCertificateIssuer String
    Path to the SSH Certificate Issuer for your Akeyless Secure Access
    secureAccessDbName String
    The DB Name
    secureAccessDbSchema String
    The db schema
    secureAccessDelay Number
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    secureAccessEnable String
    Enable/Disable secure remote access, [true/false]
    secureAccessHosts List<String>
    Target DB servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts)
    secureAccessWeb Boolean
    Enable Web Secure Remote Access
    ssl Boolean
    Enable/Disable SSL [true/false]
    tags List<String>
    Add tags attached to this object
    targetName String
    Target name
    userTtl String
    User TTL

    Package Details

    Repository
    akeyless akeyless-community/terraform-provider-akeyless
    License
    Notes
    This Pulumi package is based on the akeyless Terraform Provider.
    Viewing docs for akeyless 2.0.1
    published on Monday, Apr 27, 2026 by akeyless-community
      Try Pulumi Cloud free. Your team will thank you.