1. Packages
  2. Packages
  3. Akeyless Provider
  4. API Docs
  5. DynamicSecretSnowflake
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

    Snowflake dynamic secret resource

    Create DynamicSecretSnowflake Resource

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

    Constructor syntax

    new DynamicSecretSnowflake(name: string, args?: DynamicSecretSnowflakeArgs, opts?: CustomResourceOptions);
    @overload
    def DynamicSecretSnowflake(resource_name: str,
                               args: Optional[DynamicSecretSnowflakeArgs] = None,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def DynamicSecretSnowflake(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               account: Optional[str] = None,
                               account_password: Optional[str] = None,
                               account_username: Optional[str] = None,
                               auth_mode: Optional[str] = None,
                               custom_username_template: Optional[str] = None,
                               db_name: Optional[str] = None,
                               delete_protection: Optional[str] = None,
                               dynamic_secret_snowflake_id: Optional[str] = None,
                               item_custom_fields: Optional[Mapping[str, str]] = None,
                               key_algo: Optional[str] = None,
                               name: Optional[str] = None,
                               password_length: Optional[str] = None,
                               private_key: Optional[str] = None,
                               private_key_passphrase: Optional[str] = None,
                               role: Optional[str] = None,
                               tags: Optional[Sequence[str]] = None,
                               target_name: Optional[str] = None,
                               user_ttl: Optional[str] = None,
                               warehouse: Optional[str] = None)
    func NewDynamicSecretSnowflake(ctx *Context, name string, args *DynamicSecretSnowflakeArgs, opts ...ResourceOption) (*DynamicSecretSnowflake, error)
    public DynamicSecretSnowflake(string name, DynamicSecretSnowflakeArgs? args = null, CustomResourceOptions? opts = null)
    public DynamicSecretSnowflake(String name, DynamicSecretSnowflakeArgs args)
    public DynamicSecretSnowflake(String name, DynamicSecretSnowflakeArgs args, CustomResourceOptions options)
    
    type: akeyless:DynamicSecretSnowflake
    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 DynamicSecretSnowflakeArgs
    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 DynamicSecretSnowflakeArgs
    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 DynamicSecretSnowflakeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DynamicSecretSnowflakeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DynamicSecretSnowflakeArgs
    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 dynamicSecretSnowflakeResource = new Akeyless.DynamicSecretSnowflake("dynamicSecretSnowflakeResource", new()
    {
        Account = "string",
        AccountPassword = "string",
        AccountUsername = "string",
        AuthMode = "string",
        CustomUsernameTemplate = "string",
        DbName = "string",
        DeleteProtection = "string",
        DynamicSecretSnowflakeId = "string",
        ItemCustomFields = 
        {
            { "string", "string" },
        },
        KeyAlgo = "string",
        Name = "string",
        PasswordLength = "string",
        PrivateKey = "string",
        PrivateKeyPassphrase = "string",
        Role = "string",
        Tags = new[]
        {
            "string",
        },
        TargetName = "string",
        UserTtl = "string",
        Warehouse = "string",
    });
    
    example, err := akeyless.NewDynamicSecretSnowflake(ctx, "dynamicSecretSnowflakeResource", &akeyless.DynamicSecretSnowflakeArgs{
    	Account:                  pulumi.String("string"),
    	AccountPassword:          pulumi.String("string"),
    	AccountUsername:          pulumi.String("string"),
    	AuthMode:                 pulumi.String("string"),
    	CustomUsernameTemplate:   pulumi.String("string"),
    	DbName:                   pulumi.String("string"),
    	DeleteProtection:         pulumi.String("string"),
    	DynamicSecretSnowflakeId: pulumi.String("string"),
    	ItemCustomFields: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	KeyAlgo:              pulumi.String("string"),
    	Name:                 pulumi.String("string"),
    	PasswordLength:       pulumi.String("string"),
    	PrivateKey:           pulumi.String("string"),
    	PrivateKeyPassphrase: pulumi.String("string"),
    	Role:                 pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	TargetName: pulumi.String("string"),
    	UserTtl:    pulumi.String("string"),
    	Warehouse:  pulumi.String("string"),
    })
    
    var dynamicSecretSnowflakeResource = new DynamicSecretSnowflake("dynamicSecretSnowflakeResource", DynamicSecretSnowflakeArgs.builder()
        .account("string")
        .accountPassword("string")
        .accountUsername("string")
        .authMode("string")
        .customUsernameTemplate("string")
        .dbName("string")
        .deleteProtection("string")
        .dynamicSecretSnowflakeId("string")
        .itemCustomFields(Map.of("string", "string"))
        .keyAlgo("string")
        .name("string")
        .passwordLength("string")
        .privateKey("string")
        .privateKeyPassphrase("string")
        .role("string")
        .tags("string")
        .targetName("string")
        .userTtl("string")
        .warehouse("string")
        .build());
    
    dynamic_secret_snowflake_resource = akeyless.DynamicSecretSnowflake("dynamicSecretSnowflakeResource",
        account="string",
        account_password="string",
        account_username="string",
        auth_mode="string",
        custom_username_template="string",
        db_name="string",
        delete_protection="string",
        dynamic_secret_snowflake_id="string",
        item_custom_fields={
            "string": "string",
        },
        key_algo="string",
        name="string",
        password_length="string",
        private_key="string",
        private_key_passphrase="string",
        role="string",
        tags=["string"],
        target_name="string",
        user_ttl="string",
        warehouse="string")
    
    const dynamicSecretSnowflakeResource = new akeyless.DynamicSecretSnowflake("dynamicSecretSnowflakeResource", {
        account: "string",
        accountPassword: "string",
        accountUsername: "string",
        authMode: "string",
        customUsernameTemplate: "string",
        dbName: "string",
        deleteProtection: "string",
        dynamicSecretSnowflakeId: "string",
        itemCustomFields: {
            string: "string",
        },
        keyAlgo: "string",
        name: "string",
        passwordLength: "string",
        privateKey: "string",
        privateKeyPassphrase: "string",
        role: "string",
        tags: ["string"],
        targetName: "string",
        userTtl: "string",
        warehouse: "string",
    });
    
    type: akeyless:DynamicSecretSnowflake
    properties:
        account: string
        accountPassword: string
        accountUsername: string
        authMode: string
        customUsernameTemplate: string
        dbName: string
        deleteProtection: string
        dynamicSecretSnowflakeId: string
        itemCustomFields:
            string: string
        keyAlgo: string
        name: string
        passwordLength: string
        privateKey: string
        privateKeyPassphrase: string
        role: string
        tags:
            - string
        targetName: string
        userTtl: string
        warehouse: string
    

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

    Account string
    Account name
    AccountPassword string
    Database Password
    AccountUsername string
    Database Username
    AuthMode string
    The authentication mode for the temporary user [password/key]
    CustomUsernameTemplate string
    Customize how temporary usernames are generated using go template
    DbName string
    Database name
    DeleteProtection string
    Protection from accidental deletion of this object [true/false]
    DynamicSecretSnowflakeId string
    The ID of this resource.
    ItemCustomFields Dictionary<string, string>
    Additional custom fields to associate with the item
    KeyAlgo string
    Key algorithm
    Name string
    Dynamic secret name
    PasswordLength string
    The length of the password to be generated
    PrivateKey string
    RSA Private key (base64 encoded)
    PrivateKeyPassphrase string
    The Private key passphrase
    Role string
    User role
    Tags List<string>
    Add tags attached to this object
    TargetName string
    Target name
    UserTtl string
    User TTL
    Warehouse string
    Warehouse name
    Account string
    Account name
    AccountPassword string
    Database Password
    AccountUsername string
    Database Username
    AuthMode string
    The authentication mode for the temporary user [password/key]
    CustomUsernameTemplate string
    Customize how temporary usernames are generated using go template
    DbName string
    Database name
    DeleteProtection string
    Protection from accidental deletion of this object [true/false]
    DynamicSecretSnowflakeId string
    The ID of this resource.
    ItemCustomFields map[string]string
    Additional custom fields to associate with the item
    KeyAlgo string
    Key algorithm
    Name string
    Dynamic secret name
    PasswordLength string
    The length of the password to be generated
    PrivateKey string
    RSA Private key (base64 encoded)
    PrivateKeyPassphrase string
    The Private key passphrase
    Role string
    User role
    Tags []string
    Add tags attached to this object
    TargetName string
    Target name
    UserTtl string
    User TTL
    Warehouse string
    Warehouse name
    account String
    Account name
    accountPassword String
    Database Password
    accountUsername String
    Database Username
    authMode String
    The authentication mode for the temporary user [password/key]
    customUsernameTemplate String
    Customize how temporary usernames are generated using go template
    dbName String
    Database name
    deleteProtection String
    Protection from accidental deletion of this object [true/false]
    dynamicSecretSnowflakeId String
    The ID of this resource.
    itemCustomFields Map<String,String>
    Additional custom fields to associate with the item
    keyAlgo String
    Key algorithm
    name String
    Dynamic secret name
    passwordLength String
    The length of the password to be generated
    privateKey String
    RSA Private key (base64 encoded)
    privateKeyPassphrase String
    The Private key passphrase
    role String
    User role
    tags List<String>
    Add tags attached to this object
    targetName String
    Target name
    userTtl String
    User TTL
    warehouse String
    Warehouse name
    account string
    Account name
    accountPassword string
    Database Password
    accountUsername string
    Database Username
    authMode string
    The authentication mode for the temporary user [password/key]
    customUsernameTemplate string
    Customize how temporary usernames are generated using go template
    dbName string
    Database name
    deleteProtection string
    Protection from accidental deletion of this object [true/false]
    dynamicSecretSnowflakeId string
    The ID of this resource.
    itemCustomFields {[key: string]: string}
    Additional custom fields to associate with the item
    keyAlgo string
    Key algorithm
    name string
    Dynamic secret name
    passwordLength string
    The length of the password to be generated
    privateKey string
    RSA Private key (base64 encoded)
    privateKeyPassphrase string
    The Private key passphrase
    role string
    User role
    tags string[]
    Add tags attached to this object
    targetName string
    Target name
    userTtl string
    User TTL
    warehouse string
    Warehouse name
    account str
    Account name
    account_password str
    Database Password
    account_username str
    Database Username
    auth_mode str
    The authentication mode for the temporary user [password/key]
    custom_username_template str
    Customize how temporary usernames are generated using go template
    db_name str
    Database name
    delete_protection str
    Protection from accidental deletion of this object [true/false]
    dynamic_secret_snowflake_id str
    The ID of this resource.
    item_custom_fields Mapping[str, str]
    Additional custom fields to associate with the item
    key_algo str
    Key algorithm
    name str
    Dynamic secret name
    password_length str
    The length of the password to be generated
    private_key str
    RSA Private key (base64 encoded)
    private_key_passphrase str
    The Private key passphrase
    role str
    User role
    tags Sequence[str]
    Add tags attached to this object
    target_name str
    Target name
    user_ttl str
    User TTL
    warehouse str
    Warehouse name
    account String
    Account name
    accountPassword String
    Database Password
    accountUsername String
    Database Username
    authMode String
    The authentication mode for the temporary user [password/key]
    customUsernameTemplate String
    Customize how temporary usernames are generated using go template
    dbName String
    Database name
    deleteProtection String
    Protection from accidental deletion of this object [true/false]
    dynamicSecretSnowflakeId String
    The ID of this resource.
    itemCustomFields Map<String>
    Additional custom fields to associate with the item
    keyAlgo String
    Key algorithm
    name String
    Dynamic secret name
    passwordLength String
    The length of the password to be generated
    privateKey String
    RSA Private key (base64 encoded)
    privateKeyPassphrase String
    The Private key passphrase
    role String
    User role
    tags List<String>
    Add tags attached to this object
    targetName String
    Target name
    userTtl String
    User TTL
    warehouse String
    Warehouse name

    Outputs

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

    Get an existing DynamicSecretSnowflake 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?: DynamicSecretSnowflakeState, opts?: CustomResourceOptions): DynamicSecretSnowflake
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account: Optional[str] = None,
            account_password: Optional[str] = None,
            account_username: Optional[str] = None,
            auth_mode: Optional[str] = None,
            custom_username_template: Optional[str] = None,
            db_name: Optional[str] = None,
            delete_protection: Optional[str] = None,
            dynamic_secret_snowflake_id: Optional[str] = None,
            item_custom_fields: Optional[Mapping[str, str]] = None,
            key_algo: Optional[str] = None,
            name: Optional[str] = None,
            password_length: Optional[str] = None,
            private_key: Optional[str] = None,
            private_key_passphrase: Optional[str] = None,
            role: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            target_name: Optional[str] = None,
            user_ttl: Optional[str] = None,
            warehouse: Optional[str] = None) -> DynamicSecretSnowflake
    func GetDynamicSecretSnowflake(ctx *Context, name string, id IDInput, state *DynamicSecretSnowflakeState, opts ...ResourceOption) (*DynamicSecretSnowflake, error)
    public static DynamicSecretSnowflake Get(string name, Input<string> id, DynamicSecretSnowflakeState? state, CustomResourceOptions? opts = null)
    public static DynamicSecretSnowflake get(String name, Output<String> id, DynamicSecretSnowflakeState state, CustomResourceOptions options)
    resources:  _:    type: akeyless:DynamicSecretSnowflake    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:
    Account string
    Account name
    AccountPassword string
    Database Password
    AccountUsername string
    Database Username
    AuthMode string
    The authentication mode for the temporary user [password/key]
    CustomUsernameTemplate string
    Customize how temporary usernames are generated using go template
    DbName string
    Database name
    DeleteProtection string
    Protection from accidental deletion of this object [true/false]
    DynamicSecretSnowflakeId string
    The ID of this resource.
    ItemCustomFields Dictionary<string, string>
    Additional custom fields to associate with the item
    KeyAlgo string
    Key algorithm
    Name string
    Dynamic secret name
    PasswordLength string
    The length of the password to be generated
    PrivateKey string
    RSA Private key (base64 encoded)
    PrivateKeyPassphrase string
    The Private key passphrase
    Role string
    User role
    Tags List<string>
    Add tags attached to this object
    TargetName string
    Target name
    UserTtl string
    User TTL
    Warehouse string
    Warehouse name
    Account string
    Account name
    AccountPassword string
    Database Password
    AccountUsername string
    Database Username
    AuthMode string
    The authentication mode for the temporary user [password/key]
    CustomUsernameTemplate string
    Customize how temporary usernames are generated using go template
    DbName string
    Database name
    DeleteProtection string
    Protection from accidental deletion of this object [true/false]
    DynamicSecretSnowflakeId string
    The ID of this resource.
    ItemCustomFields map[string]string
    Additional custom fields to associate with the item
    KeyAlgo string
    Key algorithm
    Name string
    Dynamic secret name
    PasswordLength string
    The length of the password to be generated
    PrivateKey string
    RSA Private key (base64 encoded)
    PrivateKeyPassphrase string
    The Private key passphrase
    Role string
    User role
    Tags []string
    Add tags attached to this object
    TargetName string
    Target name
    UserTtl string
    User TTL
    Warehouse string
    Warehouse name
    account String
    Account name
    accountPassword String
    Database Password
    accountUsername String
    Database Username
    authMode String
    The authentication mode for the temporary user [password/key]
    customUsernameTemplate String
    Customize how temporary usernames are generated using go template
    dbName String
    Database name
    deleteProtection String
    Protection from accidental deletion of this object [true/false]
    dynamicSecretSnowflakeId String
    The ID of this resource.
    itemCustomFields Map<String,String>
    Additional custom fields to associate with the item
    keyAlgo String
    Key algorithm
    name String
    Dynamic secret name
    passwordLength String
    The length of the password to be generated
    privateKey String
    RSA Private key (base64 encoded)
    privateKeyPassphrase String
    The Private key passphrase
    role String
    User role
    tags List<String>
    Add tags attached to this object
    targetName String
    Target name
    userTtl String
    User TTL
    warehouse String
    Warehouse name
    account string
    Account name
    accountPassword string
    Database Password
    accountUsername string
    Database Username
    authMode string
    The authentication mode for the temporary user [password/key]
    customUsernameTemplate string
    Customize how temporary usernames are generated using go template
    dbName string
    Database name
    deleteProtection string
    Protection from accidental deletion of this object [true/false]
    dynamicSecretSnowflakeId string
    The ID of this resource.
    itemCustomFields {[key: string]: string}
    Additional custom fields to associate with the item
    keyAlgo string
    Key algorithm
    name string
    Dynamic secret name
    passwordLength string
    The length of the password to be generated
    privateKey string
    RSA Private key (base64 encoded)
    privateKeyPassphrase string
    The Private key passphrase
    role string
    User role
    tags string[]
    Add tags attached to this object
    targetName string
    Target name
    userTtl string
    User TTL
    warehouse string
    Warehouse name
    account str
    Account name
    account_password str
    Database Password
    account_username str
    Database Username
    auth_mode str
    The authentication mode for the temporary user [password/key]
    custom_username_template str
    Customize how temporary usernames are generated using go template
    db_name str
    Database name
    delete_protection str
    Protection from accidental deletion of this object [true/false]
    dynamic_secret_snowflake_id str
    The ID of this resource.
    item_custom_fields Mapping[str, str]
    Additional custom fields to associate with the item
    key_algo str
    Key algorithm
    name str
    Dynamic secret name
    password_length str
    The length of the password to be generated
    private_key str
    RSA Private key (base64 encoded)
    private_key_passphrase str
    The Private key passphrase
    role str
    User role
    tags Sequence[str]
    Add tags attached to this object
    target_name str
    Target name
    user_ttl str
    User TTL
    warehouse str
    Warehouse name
    account String
    Account name
    accountPassword String
    Database Password
    accountUsername String
    Database Username
    authMode String
    The authentication mode for the temporary user [password/key]
    customUsernameTemplate String
    Customize how temporary usernames are generated using go template
    dbName String
    Database name
    deleteProtection String
    Protection from accidental deletion of this object [true/false]
    dynamicSecretSnowflakeId String
    The ID of this resource.
    itemCustomFields Map<String>
    Additional custom fields to associate with the item
    keyAlgo String
    Key algorithm
    name String
    Dynamic secret name
    passwordLength String
    The length of the password to be generated
    privateKey String
    RSA Private key (base64 encoded)
    privateKeyPassphrase String
    The Private key passphrase
    role String
    User role
    tags List<String>
    Add tags attached to this object
    targetName String
    Target name
    userTtl String
    User TTL
    warehouse String
    Warehouse name

    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.