published on Monday, Apr 27, 2026 by akeyless-community
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
- Account
Password string - Database Password
- Account
Username string - Database Username
- Auth
Mode string - The authentication mode for the temporary user [password/key]
- Custom
Username stringTemplate - Customize how temporary usernames are generated using go template
- Db
Name string - Database name
- Delete
Protection string - Protection from accidental deletion of this object [true/false]
- Dynamic
Secret stringSnowflake Id - The ID of this resource.
- Item
Custom Dictionary<string, string>Fields - Additional custom fields to associate with the item
- Key
Algo string - Key algorithm
- Name string
- Dynamic secret name
- Password
Length string - The length of the password to be generated
- Private
Key string - RSA Private key (base64 encoded)
- Private
Key stringPassphrase - The Private key passphrase
- Role string
- User role
- List<string>
- Add tags attached to this object
- Target
Name string - Target name
- User
Ttl string - User TTL
- Warehouse string
- Warehouse name
- Account string
- Account name
- Account
Password string - Database Password
- Account
Username string - Database Username
- Auth
Mode string - The authentication mode for the temporary user [password/key]
- Custom
Username stringTemplate - Customize how temporary usernames are generated using go template
- Db
Name string - Database name
- Delete
Protection string - Protection from accidental deletion of this object [true/false]
- Dynamic
Secret stringSnowflake Id - The ID of this resource.
- Item
Custom map[string]stringFields - Additional custom fields to associate with the item
- Key
Algo string - Key algorithm
- Name string
- Dynamic secret name
- Password
Length string - The length of the password to be generated
- Private
Key string - RSA Private key (base64 encoded)
- Private
Key stringPassphrase - The Private key passphrase
- Role string
- User role
- []string
- Add tags attached to this object
- Target
Name string - Target name
- User
Ttl string - User TTL
- Warehouse string
- Warehouse name
- account String
- Account name
- account
Password String - Database Password
- account
Username String - Database Username
- auth
Mode String - The authentication mode for the temporary user [password/key]
- custom
Username StringTemplate - Customize how temporary usernames are generated using go template
- db
Name String - Database name
- delete
Protection String - Protection from accidental deletion of this object [true/false]
- dynamic
Secret StringSnowflake Id - The ID of this resource.
- item
Custom Map<String,String>Fields - Additional custom fields to associate with the item
- key
Algo String - Key algorithm
- name String
- Dynamic secret name
- password
Length String - The length of the password to be generated
- private
Key String - RSA Private key (base64 encoded)
- private
Key StringPassphrase - The Private key passphrase
- role String
- User role
- List<String>
- Add tags attached to this object
- target
Name String - Target name
- user
Ttl String - User TTL
- warehouse String
- Warehouse name
- account string
- Account name
- account
Password string - Database Password
- account
Username string - Database Username
- auth
Mode string - The authentication mode for the temporary user [password/key]
- custom
Username stringTemplate - Customize how temporary usernames are generated using go template
- db
Name string - Database name
- delete
Protection string - Protection from accidental deletion of this object [true/false]
- dynamic
Secret stringSnowflake Id - The ID of this resource.
- item
Custom {[key: string]: string}Fields - Additional custom fields to associate with the item
- key
Algo string - Key algorithm
- name string
- Dynamic secret name
- password
Length string - The length of the password to be generated
- private
Key string - RSA Private key (base64 encoded)
- private
Key stringPassphrase - The Private key passphrase
- role string
- User role
- string[]
- Add tags attached to this object
- target
Name string - Target name
- user
Ttl 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_ strtemplate - 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_ strsnowflake_ id - The ID of this resource.
- item_
custom_ Mapping[str, str]fields - 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_ strpassphrase - The Private key passphrase
- role str
- User role
- 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
- account
Password String - Database Password
- account
Username String - Database Username
- auth
Mode String - The authentication mode for the temporary user [password/key]
- custom
Username StringTemplate - Customize how temporary usernames are generated using go template
- db
Name String - Database name
- delete
Protection String - Protection from accidental deletion of this object [true/false]
- dynamic
Secret StringSnowflake Id - The ID of this resource.
- item
Custom Map<String>Fields - Additional custom fields to associate with the item
- key
Algo String - Key algorithm
- name String
- Dynamic secret name
- password
Length String - The length of the password to be generated
- private
Key String - RSA Private key (base64 encoded)
- private
Key StringPassphrase - The Private key passphrase
- role String
- User role
- List<String>
- Add tags attached to this object
- target
Name String - Target name
- user
Ttl 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) -> DynamicSecretSnowflakefunc 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.
- Account string
- Account name
- Account
Password string - Database Password
- Account
Username string - Database Username
- Auth
Mode string - The authentication mode for the temporary user [password/key]
- Custom
Username stringTemplate - Customize how temporary usernames are generated using go template
- Db
Name string - Database name
- Delete
Protection string - Protection from accidental deletion of this object [true/false]
- Dynamic
Secret stringSnowflake Id - The ID of this resource.
- Item
Custom Dictionary<string, string>Fields - Additional custom fields to associate with the item
- Key
Algo string - Key algorithm
- Name string
- Dynamic secret name
- Password
Length string - The length of the password to be generated
- Private
Key string - RSA Private key (base64 encoded)
- Private
Key stringPassphrase - The Private key passphrase
- Role string
- User role
- List<string>
- Add tags attached to this object
- Target
Name string - Target name
- User
Ttl string - User TTL
- Warehouse string
- Warehouse name
- Account string
- Account name
- Account
Password string - Database Password
- Account
Username string - Database Username
- Auth
Mode string - The authentication mode for the temporary user [password/key]
- Custom
Username stringTemplate - Customize how temporary usernames are generated using go template
- Db
Name string - Database name
- Delete
Protection string - Protection from accidental deletion of this object [true/false]
- Dynamic
Secret stringSnowflake Id - The ID of this resource.
- Item
Custom map[string]stringFields - Additional custom fields to associate with the item
- Key
Algo string - Key algorithm
- Name string
- Dynamic secret name
- Password
Length string - The length of the password to be generated
- Private
Key string - RSA Private key (base64 encoded)
- Private
Key stringPassphrase - The Private key passphrase
- Role string
- User role
- []string
- Add tags attached to this object
- Target
Name string - Target name
- User
Ttl string - User TTL
- Warehouse string
- Warehouse name
- account String
- Account name
- account
Password String - Database Password
- account
Username String - Database Username
- auth
Mode String - The authentication mode for the temporary user [password/key]
- custom
Username StringTemplate - Customize how temporary usernames are generated using go template
- db
Name String - Database name
- delete
Protection String - Protection from accidental deletion of this object [true/false]
- dynamic
Secret StringSnowflake Id - The ID of this resource.
- item
Custom Map<String,String>Fields - Additional custom fields to associate with the item
- key
Algo String - Key algorithm
- name String
- Dynamic secret name
- password
Length String - The length of the password to be generated
- private
Key String - RSA Private key (base64 encoded)
- private
Key StringPassphrase - The Private key passphrase
- role String
- User role
- List<String>
- Add tags attached to this object
- target
Name String - Target name
- user
Ttl String - User TTL
- warehouse String
- Warehouse name
- account string
- Account name
- account
Password string - Database Password
- account
Username string - Database Username
- auth
Mode string - The authentication mode for the temporary user [password/key]
- custom
Username stringTemplate - Customize how temporary usernames are generated using go template
- db
Name string - Database name
- delete
Protection string - Protection from accidental deletion of this object [true/false]
- dynamic
Secret stringSnowflake Id - The ID of this resource.
- item
Custom {[key: string]: string}Fields - Additional custom fields to associate with the item
- key
Algo string - Key algorithm
- name string
- Dynamic secret name
- password
Length string - The length of the password to be generated
- private
Key string - RSA Private key (base64 encoded)
- private
Key stringPassphrase - The Private key passphrase
- role string
- User role
- string[]
- Add tags attached to this object
- target
Name string - Target name
- user
Ttl 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_ strtemplate - 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_ strsnowflake_ id - The ID of this resource.
- item_
custom_ Mapping[str, str]fields - 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_ strpassphrase - The Private key passphrase
- role str
- User role
- 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
- account
Password String - Database Password
- account
Username String - Database Username
- auth
Mode String - The authentication mode for the temporary user [password/key]
- custom
Username StringTemplate - Customize how temporary usernames are generated using go template
- db
Name String - Database name
- delete
Protection String - Protection from accidental deletion of this object [true/false]
- dynamic
Secret StringSnowflake Id - The ID of this resource.
- item
Custom Map<String>Fields - Additional custom fields to associate with the item
- key
Algo String - Key algorithm
- name String
- Dynamic secret name
- password
Length String - The length of the password to be generated
- private
Key String - RSA Private key (base64 encoded)
- private
Key StringPassphrase - The Private key passphrase
- role String
- User role
- List<String>
- Add tags attached to this object
- target
Name String - Target name
- user
Ttl 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
akeylessTerraform Provider.
published on Monday, Apr 27, 2026 by akeyless-community
