1. Registry
  2. Packages
  3. Akeyless Provider
  4. API Docs
  5. DynamicSecretPostgresql
Viewing docs for akeyless 2.1.0
published on Thursday, Nov 19, 2026 by akeyless-community
akeyless
Viewing docs for akeyless 2.1.0
published on Thursday, Nov 19, 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,
                                ara_enabled: Optional[bool] = 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,
                                enable_agentic_runtime_authority: Optional[bool] = None,
                                enable_ai_quorum: Optional[bool] = None,
                                encryption_key_name: Optional[str] = None,
                                input_rules: Optional[Sequence[str]] = None,
                                item_custom_fields: Optional[Mapping[str, str]] = None,
                                name: Optional[str] = None,
                                output_rules: Optional[Sequence[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,
                                retry: Optional[DynamicSecretPostgresqlRetryArgs] = 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,
                                skip_dry_run: 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.
    
    
    resource "akeyless_dynamic_secret_postgresql" "name" {
        # resource properties
    }

    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()
    {
        AraEnabled = false,
        CreationStatements = "string",
        CustomUsernameTemplate = "string",
        DeleteProtection = "string",
        Description = "string",
        DynamicSecretPostgresqlId = "string",
        EnableAgenticRuntimeAuthority = false,
        EnableAiQuorum = false,
        EncryptionKeyName = "string",
        InputRules = new[]
        {
            "string",
        },
        ItemCustomFields = 
        {
            { "string", "string" },
        },
        Name = "string",
        OutputRules = new[]
        {
            "string",
        },
        PasswordLength = "string",
        PostgresqlDbName = "string",
        PostgresqlHost = "string",
        PostgresqlPassword = "string",
        PostgresqlPort = "string",
        PostgresqlUsername = "string",
        Retry = new Akeyless.Inputs.DynamicSecretPostgresqlRetryArgs
        {
            ErrorMessageRegexes = new[]
            {
                "string",
            },
            IntervalSeconds = 0.0,
            MaxIntervalSeconds = 0.0,
            MaxRetries = 0.0,
            RetryOnStatusCodes = new[]
            {
                0.0,
            },
        },
        RevocationStatements = "string",
        SecureAccessCertificateIssuer = "string",
        SecureAccessDbName = "string",
        SecureAccessDbSchema = "string",
        SecureAccessDelay = 0.0,
        SecureAccessEnable = "string",
        SecureAccessHosts = new[]
        {
            "string",
        },
        SecureAccessWeb = false,
        SkipDryRun = false,
        Ssl = false,
        Tags = new[]
        {
            "string",
        },
        TargetName = "string",
        UserTtl = "string",
    });
    
    example, err := akeyless.NewDynamicSecretPostgresql(ctx, "dynamicSecretPostgresqlResource", &akeyless.DynamicSecretPostgresqlArgs{
    	AraEnabled:                    pulumi.Bool(false),
    	CreationStatements:            pulumi.String("string"),
    	CustomUsernameTemplate:        pulumi.String("string"),
    	DeleteProtection:              pulumi.String("string"),
    	Description:                   pulumi.String("string"),
    	DynamicSecretPostgresqlId:     pulumi.String("string"),
    	EnableAgenticRuntimeAuthority: pulumi.Bool(false),
    	EnableAiQuorum:                pulumi.Bool(false),
    	EncryptionKeyName:             pulumi.String("string"),
    	InputRules: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ItemCustomFields: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    	OutputRules: pulumi.StringArray{
    		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"),
    	Retry: &akeyless.DynamicSecretPostgresqlRetryArgs{
    		ErrorMessageRegexes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		IntervalSeconds:    pulumi.Float64(0),
    		MaxIntervalSeconds: pulumi.Float64(0),
    		MaxRetries:         pulumi.Float64(0),
    		RetryOnStatusCodes: pulumi.Float64Array{
    			pulumi.Float64(0),
    		},
    	},
    	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),
    	SkipDryRun:      pulumi.Bool(false),
    	Ssl:             pulumi.Bool(false),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	TargetName: pulumi.String("string"),
    	UserTtl:    pulumi.String("string"),
    })
    
    resource "akeyless_dynamic_secret_postgresql" "dynamicSecretPostgresqlResource" {
      lifecycle {
        create_before_destroy = true
      }
      ara_enabled                      = false
      creation_statements              = "string"
      custom_username_template         = "string"
      delete_protection                = "string"
      description                      = "string"
      dynamic_secret_postgresql_id     = "string"
      enable_agentic_runtime_authority = false
      enable_ai_quorum                 = false
      encryption_key_name              = "string"
      input_rules                      = ["string"]
      item_custom_fields = {
        "string" = "string"
      }
      name                = "string"
      output_rules        = ["string"]
      password_length     = "string"
      postgresql_db_name  = "string"
      postgresql_host     = "string"
      postgresql_password = "string"
      postgresql_port     = "string"
      postgresql_username = "string"
      retry = {
        error_message_regexes = ["string"]
        interval_seconds      = 0
        max_interval_seconds  = 0
        max_retries           = 0
        retry_on_status_codes = [0]
      }
      revocation_statements            = "string"
      secure_access_certificate_issuer = "string"
      secure_access_db_name            = "string"
      secure_access_db_schema          = "string"
      secure_access_delay              = 0
      secure_access_enable             = "string"
      secure_access_hosts              = ["string"]
      secure_access_web                = false
      skip_dry_run                     = false
      ssl                              = false
      tags                             = ["string"]
      target_name                      = "string"
      user_ttl                         = "string"
    }
    
    var dynamicSecretPostgresqlResource = new DynamicSecretPostgresql("dynamicSecretPostgresqlResource", DynamicSecretPostgresqlArgs.builder()
        .araEnabled(false)
        .creationStatements("string")
        .customUsernameTemplate("string")
        .deleteProtection("string")
        .description("string")
        .dynamicSecretPostgresqlId("string")
        .enableAgenticRuntimeAuthority(false)
        .enableAiQuorum(false)
        .encryptionKeyName("string")
        .inputRules("string")
        .itemCustomFields(Map.of("string", "string"))
        .name("string")
        .outputRules("string")
        .passwordLength("string")
        .postgresqlDbName("string")
        .postgresqlHost("string")
        .postgresqlPassword("string")
        .postgresqlPort("string")
        .postgresqlUsername("string")
        .retry(DynamicSecretPostgresqlRetryArgs.builder()
            .errorMessageRegexes("string")
            .intervalSeconds(0.0)
            .maxIntervalSeconds(0.0)
            .maxRetries(0.0)
            .retryOnStatusCodes(0.0)
            .build())
        .revocationStatements("string")
        .secureAccessCertificateIssuer("string")
        .secureAccessDbName("string")
        .secureAccessDbSchema("string")
        .secureAccessDelay(0.0)
        .secureAccessEnable("string")
        .secureAccessHosts("string")
        .secureAccessWeb(false)
        .skipDryRun(false)
        .ssl(false)
        .tags("string")
        .targetName("string")
        .userTtl("string")
        .build());
    
    dynamic_secret_postgresql_resource = akeyless.DynamicSecretPostgresql("dynamicSecretPostgresqlResource",
        ara_enabled=False,
        creation_statements="string",
        custom_username_template="string",
        delete_protection="string",
        description="string",
        dynamic_secret_postgresql_id="string",
        enable_agentic_runtime_authority=False,
        enable_ai_quorum=False,
        encryption_key_name="string",
        input_rules=["string"],
        item_custom_fields={
            "string": "string",
        },
        name="string",
        output_rules=["string"],
        password_length="string",
        postgresql_db_name="string",
        postgresql_host="string",
        postgresql_password="string",
        postgresql_port="string",
        postgresql_username="string",
        retry={
            "error_message_regexes": ["string"],
            "interval_seconds": float(0),
            "max_interval_seconds": float(0),
            "max_retries": float(0),
            "retry_on_status_codes": [float(0)],
        },
        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,
        skip_dry_run=False,
        ssl=False,
        tags=["string"],
        target_name="string",
        user_ttl="string")
    
    const dynamicSecretPostgresqlResource = new akeyless.DynamicSecretPostgresql("dynamicSecretPostgresqlResource", {
        araEnabled: false,
        creationStatements: "string",
        customUsernameTemplate: "string",
        deleteProtection: "string",
        description: "string",
        dynamicSecretPostgresqlId: "string",
        enableAgenticRuntimeAuthority: false,
        enableAiQuorum: false,
        encryptionKeyName: "string",
        inputRules: ["string"],
        itemCustomFields: {
            string: "string",
        },
        name: "string",
        outputRules: ["string"],
        passwordLength: "string",
        postgresqlDbName: "string",
        postgresqlHost: "string",
        postgresqlPassword: "string",
        postgresqlPort: "string",
        postgresqlUsername: "string",
        retry: {
            errorMessageRegexes: ["string"],
            intervalSeconds: 0,
            maxIntervalSeconds: 0,
            maxRetries: 0,
            retryOnStatusCodes: [0],
        },
        revocationStatements: "string",
        secureAccessCertificateIssuer: "string",
        secureAccessDbName: "string",
        secureAccessDbSchema: "string",
        secureAccessDelay: 0,
        secureAccessEnable: "string",
        secureAccessHosts: ["string"],
        secureAccessWeb: false,
        skipDryRun: false,
        ssl: false,
        tags: ["string"],
        targetName: "string",
        userTtl: "string",
    });
    
    type: akeyless:DynamicSecretPostgresql
    properties:
        araEnabled: false
        creationStatements: string
        customUsernameTemplate: string
        deleteProtection: string
        description: string
        dynamicSecretPostgresqlId: string
        enableAgenticRuntimeAuthority: false
        enableAiQuorum: false
        encryptionKeyName: string
        inputRules:
            - string
        itemCustomFields:
            string: string
        name: string
        outputRules:
            - string
        passwordLength: string
        postgresqlDbName: string
        postgresqlHost: string
        postgresqlPassword: string
        postgresqlPort: string
        postgresqlUsername: string
        retry:
            errorMessageRegexes:
                - string
            intervalSeconds: 0
            maxIntervalSeconds: 0
            maxRetries: 0
            retryOnStatusCodes:
                - 0
        revocationStatements: string
        secureAccessCertificateIssuer: string
        secureAccessDbName: string
        secureAccessDbSchema: string
        secureAccessDelay: 0
        secureAccessEnable: string
        secureAccessHosts:
            - string
        secureAccessWeb: false
        skipDryRun: 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:

    AraEnabled bool
    Enable Agentic Runtime Authority
    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.
    EnableAgenticRuntimeAuthority bool
    Enable Agentic Runtime Authority
    EnableAiQuorum bool
    Enable AI Quorum
    EncryptionKeyName string
    Dynamic producer encryption key
    InputRules List<string>
    Password input rule definitions
    ItemCustomFields Dictionary<string, string>
    Additional custom fields to associate with the item
    Name string
    Dynamic secret name
    OutputRules List<string>
    Password output rule definitions
    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
    Retry DynamicSecretPostgresqlRetry
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    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
    SkipDryRun bool
    Skip dry run
    Ssl bool
    Enable/Disable SSL [true/false]
    Tags List<string>
    Add tags attached to this object
    TargetName string
    Target name
    UserTtl string
    User TTL
    AraEnabled bool
    Enable Agentic Runtime Authority
    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.
    EnableAgenticRuntimeAuthority bool
    Enable Agentic Runtime Authority
    EnableAiQuorum bool
    Enable AI Quorum
    EncryptionKeyName string
    Dynamic producer encryption key
    InputRules []string
    Password input rule definitions
    ItemCustomFields map[string]string
    Additional custom fields to associate with the item
    Name string
    Dynamic secret name
    OutputRules []string
    Password output rule definitions
    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
    Retry DynamicSecretPostgresqlRetryArgs
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    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
    SkipDryRun bool
    Skip dry run
    Ssl bool
    Enable/Disable SSL [true/false]
    Tags []string
    Add tags attached to this object
    TargetName string
    Target name
    UserTtl string
    User TTL
    ara_enabled bool
    Enable Agentic Runtime Authority
    creation_statements string
    PostgreSQL Creation statements
    custom_username_template string
    Customize how temporary usernames are generated using go template
    delete_protection string
    Protection from accidental deletion of this object [true/false]
    description string
    Description of the object
    dynamic_secret_postgresql_id string
    The ID of this resource.
    enable_agentic_runtime_authority bool
    Enable Agentic Runtime Authority
    enable_ai_quorum bool
    Enable AI Quorum
    encryption_key_name string
    Dynamic producer encryption key
    input_rules list(string)
    Password input rule definitions
    item_custom_fields map(string)
    Additional custom fields to associate with the item
    name string
    Dynamic secret name
    output_rules list(string)
    Password output rule definitions
    password_length string
    The length of the password to be generated
    postgresql_db_name string
    PostgreSQL DB Name
    postgresql_host string
    PostgreSQL Host
    postgresql_password string
    PostgreSQL Password
    postgresql_port string
    PostgreSQL Port
    postgresql_username string
    PostgreSQL Username
    retry object
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    revocation_statements string
    PostgreSQL Revocation statements
    secure_access_bastion_issuer string
    Path to the SSH Certificate Issuer for your Akeyless Bastion

    Deprecated: Deprecated

    secure_access_certificate_issuer string
    Path to the SSH Certificate Issuer for your Akeyless Secure Access
    secure_access_db_name string
    The DB Name
    secure_access_db_schema string
    The db schema
    secure_access_delay number
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    secure_access_enable string
    Enable/Disable secure remote access, [true/false]
    secure_access_hosts list(string)
    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
    skip_dry_run bool
    Skip dry run
    ssl bool
    Enable/Disable SSL [true/false]
    tags list(string)
    Add tags attached to this object
    target_name string
    Target name
    user_ttl string
    User TTL
    araEnabled Boolean
    Enable Agentic Runtime Authority
    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.
    enableAgenticRuntimeAuthority Boolean
    Enable Agentic Runtime Authority
    enableAiQuorum Boolean
    Enable AI Quorum
    encryptionKeyName String
    Dynamic producer encryption key
    inputRules List<String>
    Password input rule definitions
    itemCustomFields Map<String,String>
    Additional custom fields to associate with the item
    name String
    Dynamic secret name
    outputRules List<String>
    Password output rule definitions
    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
    retry DynamicSecretPostgresqlRetry
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    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
    skipDryRun Boolean
    Skip dry run
    ssl Boolean
    Enable/Disable SSL [true/false]
    tags List<String>
    Add tags attached to this object
    targetName String
    Target name
    userTtl String
    User TTL
    araEnabled boolean
    Enable Agentic Runtime Authority
    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.
    enableAgenticRuntimeAuthority boolean
    Enable Agentic Runtime Authority
    enableAiQuorum boolean
    Enable AI Quorum
    encryptionKeyName string
    Dynamic producer encryption key
    inputRules string[]
    Password input rule definitions
    itemCustomFields {[key: string]: string}
    Additional custom fields to associate with the item
    name string
    Dynamic secret name
    outputRules string[]
    Password output rule definitions
    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
    retry DynamicSecretPostgresqlRetry
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    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
    skipDryRun boolean
    Skip dry run
    ssl boolean
    Enable/Disable SSL [true/false]
    tags string[]
    Add tags attached to this object
    targetName string
    Target name
    userTtl string
    User TTL
    ara_enabled bool
    Enable Agentic Runtime Authority
    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.
    enable_agentic_runtime_authority bool
    Enable Agentic Runtime Authority
    enable_ai_quorum bool
    Enable AI Quorum
    encryption_key_name str
    Dynamic producer encryption key
    input_rules Sequence[str]
    Password input rule definitions
    item_custom_fields Mapping[str, str]
    Additional custom fields to associate with the item
    name str
    Dynamic secret name
    output_rules Sequence[str]
    Password output rule definitions
    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
    retry DynamicSecretPostgresqlRetryArgs
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    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
    skip_dry_run bool
    Skip dry run
    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
    araEnabled Boolean
    Enable Agentic Runtime Authority
    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.
    enableAgenticRuntimeAuthority Boolean
    Enable Agentic Runtime Authority
    enableAiQuorum Boolean
    Enable AI Quorum
    encryptionKeyName String
    Dynamic producer encryption key
    inputRules List<String>
    Password input rule definitions
    itemCustomFields Map<String>
    Additional custom fields to associate with the item
    name String
    Dynamic secret name
    outputRules List<String>
    Password output rule definitions
    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
    retry Property Map
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    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
    skipDryRun Boolean
    Skip dry run
    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 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,
            ara_enabled: Optional[bool] = 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,
            enable_agentic_runtime_authority: Optional[bool] = None,
            enable_ai_quorum: Optional[bool] = None,
            encryption_key_name: Optional[str] = None,
            input_rules: Optional[Sequence[str]] = None,
            item_custom_fields: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            output_rules: Optional[Sequence[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,
            retry: Optional[DynamicSecretPostgresqlRetryArgs] = 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,
            skip_dry_run: 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:  existingDynamicSecretPostgresql:    type: akeyless:DynamicSecretPostgresql    get:      id: ${id}
    import {
      to = akeyless_dynamic_secret_postgresql.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    state DynamicSecretPostgresqlState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state DynamicSecretPostgresqlState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    state DynamicSecretPostgresqlState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    state DynamicSecretPostgresqlState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control resource's behavior.
    The following state arguments are supported:
    AraEnabled bool
    Enable Agentic Runtime Authority
    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.
    EnableAgenticRuntimeAuthority bool
    Enable Agentic Runtime Authority
    EnableAiQuorum bool
    Enable AI Quorum
    EncryptionKeyName string
    Dynamic producer encryption key
    InputRules List<string>
    Password input rule definitions
    ItemCustomFields Dictionary<string, string>
    Additional custom fields to associate with the item
    Name string
    Dynamic secret name
    OutputRules List<string>
    Password output rule definitions
    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
    Retry DynamicSecretPostgresqlRetry
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    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
    SkipDryRun bool
    Skip dry run
    Ssl bool
    Enable/Disable SSL [true/false]
    Tags List<string>
    Add tags attached to this object
    TargetName string
    Target name
    UserTtl string
    User TTL
    AraEnabled bool
    Enable Agentic Runtime Authority
    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.
    EnableAgenticRuntimeAuthority bool
    Enable Agentic Runtime Authority
    EnableAiQuorum bool
    Enable AI Quorum
    EncryptionKeyName string
    Dynamic producer encryption key
    InputRules []string
    Password input rule definitions
    ItemCustomFields map[string]string
    Additional custom fields to associate with the item
    Name string
    Dynamic secret name
    OutputRules []string
    Password output rule definitions
    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
    Retry DynamicSecretPostgresqlRetryArgs
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    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
    SkipDryRun bool
    Skip dry run
    Ssl bool
    Enable/Disable SSL [true/false]
    Tags []string
    Add tags attached to this object
    TargetName string
    Target name
    UserTtl string
    User TTL
    ara_enabled bool
    Enable Agentic Runtime Authority
    creation_statements string
    PostgreSQL Creation statements
    custom_username_template string
    Customize how temporary usernames are generated using go template
    delete_protection string
    Protection from accidental deletion of this object [true/false]
    description string
    Description of the object
    dynamic_secret_postgresql_id string
    The ID of this resource.
    enable_agentic_runtime_authority bool
    Enable Agentic Runtime Authority
    enable_ai_quorum bool
    Enable AI Quorum
    encryption_key_name string
    Dynamic producer encryption key
    input_rules list(string)
    Password input rule definitions
    item_custom_fields map(string)
    Additional custom fields to associate with the item
    name string
    Dynamic secret name
    output_rules list(string)
    Password output rule definitions
    password_length string
    The length of the password to be generated
    postgresql_db_name string
    PostgreSQL DB Name
    postgresql_host string
    PostgreSQL Host
    postgresql_password string
    PostgreSQL Password
    postgresql_port string
    PostgreSQL Port
    postgresql_username string
    PostgreSQL Username
    retry object
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    revocation_statements string
    PostgreSQL Revocation statements
    secure_access_bastion_issuer string
    Path to the SSH Certificate Issuer for your Akeyless Bastion

    Deprecated: Deprecated

    secure_access_certificate_issuer string
    Path to the SSH Certificate Issuer for your Akeyless Secure Access
    secure_access_db_name string
    The DB Name
    secure_access_db_schema string
    The db schema
    secure_access_delay number
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    secure_access_enable string
    Enable/Disable secure remote access, [true/false]
    secure_access_hosts list(string)
    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
    skip_dry_run bool
    Skip dry run
    ssl bool
    Enable/Disable SSL [true/false]
    tags list(string)
    Add tags attached to this object
    target_name string
    Target name
    user_ttl string
    User TTL
    araEnabled Boolean
    Enable Agentic Runtime Authority
    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.
    enableAgenticRuntimeAuthority Boolean
    Enable Agentic Runtime Authority
    enableAiQuorum Boolean
    Enable AI Quorum
    encryptionKeyName String
    Dynamic producer encryption key
    inputRules List<String>
    Password input rule definitions
    itemCustomFields Map<String,String>
    Additional custom fields to associate with the item
    name String
    Dynamic secret name
    outputRules List<String>
    Password output rule definitions
    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
    retry DynamicSecretPostgresqlRetry
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    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
    skipDryRun Boolean
    Skip dry run
    ssl Boolean
    Enable/Disable SSL [true/false]
    tags List<String>
    Add tags attached to this object
    targetName String
    Target name
    userTtl String
    User TTL
    araEnabled boolean
    Enable Agentic Runtime Authority
    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.
    enableAgenticRuntimeAuthority boolean
    Enable Agentic Runtime Authority
    enableAiQuorum boolean
    Enable AI Quorum
    encryptionKeyName string
    Dynamic producer encryption key
    inputRules string[]
    Password input rule definitions
    itemCustomFields {[key: string]: string}
    Additional custom fields to associate with the item
    name string
    Dynamic secret name
    outputRules string[]
    Password output rule definitions
    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
    retry DynamicSecretPostgresqlRetry
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    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
    skipDryRun boolean
    Skip dry run
    ssl boolean
    Enable/Disable SSL [true/false]
    tags string[]
    Add tags attached to this object
    targetName string
    Target name
    userTtl string
    User TTL
    ara_enabled bool
    Enable Agentic Runtime Authority
    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.
    enable_agentic_runtime_authority bool
    Enable Agentic Runtime Authority
    enable_ai_quorum bool
    Enable AI Quorum
    encryption_key_name str
    Dynamic producer encryption key
    input_rules Sequence[str]
    Password input rule definitions
    item_custom_fields Mapping[str, str]
    Additional custom fields to associate with the item
    name str
    Dynamic secret name
    output_rules Sequence[str]
    Password output rule definitions
    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
    retry DynamicSecretPostgresqlRetryArgs
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    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
    skip_dry_run bool
    Skip dry run
    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
    araEnabled Boolean
    Enable Agentic Runtime Authority
    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.
    enableAgenticRuntimeAuthority Boolean
    Enable Agentic Runtime Authority
    enableAiQuorum Boolean
    Enable AI Quorum
    encryptionKeyName String
    Dynamic producer encryption key
    inputRules List<String>
    Password input rule definitions
    itemCustomFields Map<String>
    Additional custom fields to associate with the item
    name String
    Dynamic secret name
    outputRules List<String>
    Password output rule definitions
    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
    retry Property Map
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    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
    skipDryRun Boolean
    Skip dry run
    ssl Boolean
    Enable/Disable SSL [true/false]
    tags List<String>
    Add tags attached to this object
    targetName String
    Target name
    userTtl String
    User TTL

    Supporting Types

    DynamicSecretPostgresqlRetry, DynamicSecretPostgresqlRetryArgs

    ErrorMessageRegexes List<string>
    Regular expressions matched against the error message. If any matches, the operation is retried.
    IntervalSeconds double
    Wait before the first retry, in seconds. The wait doubles on each retry.
    MaxIntervalSeconds double
    Maximum wait between retries, in seconds.
    MaxRetries double
    Maximum number of retries after the first attempt.
    RetryOnStatusCodes List<double>
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
    ErrorMessageRegexes []string
    Regular expressions matched against the error message. If any matches, the operation is retried.
    IntervalSeconds float64
    Wait before the first retry, in seconds. The wait doubles on each retry.
    MaxIntervalSeconds float64
    Maximum wait between retries, in seconds.
    MaxRetries float64
    Maximum number of retries after the first attempt.
    RetryOnStatusCodes []float64
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
    error_message_regexes list(string)
    Regular expressions matched against the error message. If any matches, the operation is retried.
    interval_seconds number
    Wait before the first retry, in seconds. The wait doubles on each retry.
    max_interval_seconds number
    Maximum wait between retries, in seconds.
    max_retries number
    Maximum number of retries after the first attempt.
    retry_on_status_codes list(number)
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
    errorMessageRegexes List<String>
    Regular expressions matched against the error message. If any matches, the operation is retried.
    intervalSeconds Double
    Wait before the first retry, in seconds. The wait doubles on each retry.
    maxIntervalSeconds Double
    Maximum wait between retries, in seconds.
    maxRetries Double
    Maximum number of retries after the first attempt.
    retryOnStatusCodes List<Double>
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
    errorMessageRegexes string[]
    Regular expressions matched against the error message. If any matches, the operation is retried.
    intervalSeconds number
    Wait before the first retry, in seconds. The wait doubles on each retry.
    maxIntervalSeconds number
    Maximum wait between retries, in seconds.
    maxRetries number
    Maximum number of retries after the first attempt.
    retryOnStatusCodes number[]
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
    error_message_regexes Sequence[str]
    Regular expressions matched against the error message. If any matches, the operation is retried.
    interval_seconds float
    Wait before the first retry, in seconds. The wait doubles on each retry.
    max_interval_seconds float
    Maximum wait between retries, in seconds.
    max_retries float
    Maximum number of retries after the first attempt.
    retry_on_status_codes Sequence[float]
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
    errorMessageRegexes List<String>
    Regular expressions matched against the error message. If any matches, the operation is retried.
    intervalSeconds Number
    Wait before the first retry, in seconds. The wait doubles on each retry.
    maxIntervalSeconds Number
    Maximum wait between retries, in seconds.
    maxRetries Number
    Maximum number of retries after the first attempt.
    retryOnStatusCodes List<Number>
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.

    Package Details

    Repository
    akeyless akeyless-community/terraform-provider-akeyless
    License
    Notes
    This Pulumi package is based on the akeyless Terraform Provider.
    akeyless
    Viewing docs for akeyless 2.1.0
    published on Thursday, Nov 19, 2026 by akeyless-community

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial