published on Thursday, Jun 18, 2026 by akeyless-community
published on Thursday, Jun 18, 2026 by akeyless-community
Manage dynamic secret temporary credentials
Create DynamicSecretTmpCreds Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DynamicSecretTmpCreds(name: string, args: DynamicSecretTmpCredsArgs, opts?: CustomResourceOptions);@overload
def DynamicSecretTmpCreds(resource_name: str,
args: DynamicSecretTmpCredsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DynamicSecretTmpCreds(resource_name: str,
opts: Optional[ResourceOptions] = None,
new_ttl_min: Optional[float] = None,
tmp_creds_id: Optional[str] = None,
dynamic_secret_tmp_creds_id: Optional[str] = None,
host: Optional[str] = None,
input_rules: Optional[Sequence[str]] = None,
name: Optional[str] = None,
output_rules: Optional[Sequence[str]] = None)func NewDynamicSecretTmpCreds(ctx *Context, name string, args DynamicSecretTmpCredsArgs, opts ...ResourceOption) (*DynamicSecretTmpCreds, error)public DynamicSecretTmpCreds(string name, DynamicSecretTmpCredsArgs args, CustomResourceOptions? opts = null)
public DynamicSecretTmpCreds(String name, DynamicSecretTmpCredsArgs args)
public DynamicSecretTmpCreds(String name, DynamicSecretTmpCredsArgs args, CustomResourceOptions options)
type: akeyless:DynamicSecretTmpCreds
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "akeyless_dynamicsecrettmpcreds" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args DynamicSecretTmpCredsArgs
- 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 DynamicSecretTmpCredsArgs
- 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 DynamicSecretTmpCredsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DynamicSecretTmpCredsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DynamicSecretTmpCredsArgs
- 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 dynamicSecretTmpCredsResource = new Akeyless.DynamicSecretTmpCreds("dynamicSecretTmpCredsResource", new()
{
NewTtlMin = 0,
TmpCredsId = "string",
DynamicSecretTmpCredsId = "string",
Host = "string",
InputRules = new[]
{
"string",
},
Name = "string",
OutputRules = new[]
{
"string",
},
});
example, err := akeyless.NewDynamicSecretTmpCreds(ctx, "dynamicSecretTmpCredsResource", &akeyless.DynamicSecretTmpCredsArgs{
NewTtlMin: pulumi.Float64(0),
TmpCredsId: pulumi.String("string"),
DynamicSecretTmpCredsId: pulumi.String("string"),
Host: pulumi.String("string"),
InputRules: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
OutputRules: pulumi.StringArray{
pulumi.String("string"),
},
})
resource "akeyless_dynamicsecrettmpcreds" "dynamicSecretTmpCredsResource" {
new_ttl_min = 0
tmp_creds_id = "string"
dynamic_secret_tmp_creds_id = "string"
host = "string"
input_rules = ["string"]
name = "string"
output_rules = ["string"]
}
var dynamicSecretTmpCredsResource = new DynamicSecretTmpCreds("dynamicSecretTmpCredsResource", DynamicSecretTmpCredsArgs.builder()
.newTtlMin(0.0)
.tmpCredsId("string")
.dynamicSecretTmpCredsId("string")
.host("string")
.inputRules("string")
.name("string")
.outputRules("string")
.build());
dynamic_secret_tmp_creds_resource = akeyless.DynamicSecretTmpCreds("dynamicSecretTmpCredsResource",
new_ttl_min=float(0),
tmp_creds_id="string",
dynamic_secret_tmp_creds_id="string",
host="string",
input_rules=["string"],
name="string",
output_rules=["string"])
const dynamicSecretTmpCredsResource = new akeyless.DynamicSecretTmpCreds("dynamicSecretTmpCredsResource", {
newTtlMin: 0,
tmpCredsId: "string",
dynamicSecretTmpCredsId: "string",
host: "string",
inputRules: ["string"],
name: "string",
outputRules: ["string"],
});
type: akeyless:DynamicSecretTmpCreds
properties:
dynamicSecretTmpCredsId: string
host: string
inputRules:
- string
name: string
newTtlMin: 0
outputRules:
- string
tmpCredsId: string
DynamicSecretTmpCreds 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 DynamicSecretTmpCreds resource accepts the following input properties:
- New
Ttl doubleMin - New TTL in minutes
- Tmp
Creds stringId - Tmp Creds ID
- Dynamic
Secret stringTmp Creds Id - The ID of this resource.
- Host string
- Host
- Input
Rules List<string> - Input rule definitions
- Name string
- Dynamic secret name
- Output
Rules List<string> - Output rule definitions
- New
Ttl float64Min - New TTL in minutes
- Tmp
Creds stringId - Tmp Creds ID
- Dynamic
Secret stringTmp Creds Id - The ID of this resource.
- Host string
- Host
- Input
Rules []string - Input rule definitions
- Name string
- Dynamic secret name
- Output
Rules []string - Output rule definitions
- new_
ttl_ numbermin - New TTL in minutes
- tmp_
creds_ stringid - Tmp Creds ID
- dynamic_
secret_ stringtmp_ creds_ id - The ID of this resource.
- host string
- Host
- input_
rules list(string) - Input rule definitions
- name string
- Dynamic secret name
- output_
rules list(string) - Output rule definitions
- new
Ttl DoubleMin - New TTL in minutes
- tmp
Creds StringId - Tmp Creds ID
- dynamic
Secret StringTmp Creds Id - The ID of this resource.
- host String
- Host
- input
Rules List<String> - Input rule definitions
- name String
- Dynamic secret name
- output
Rules List<String> - Output rule definitions
- new
Ttl numberMin - New TTL in minutes
- tmp
Creds stringId - Tmp Creds ID
- dynamic
Secret stringTmp Creds Id - The ID of this resource.
- host string
- Host
- input
Rules string[] - Input rule definitions
- name string
- Dynamic secret name
- output
Rules string[] - Output rule definitions
- new_
ttl_ floatmin - New TTL in minutes
- tmp_
creds_ strid - Tmp Creds ID
- dynamic_
secret_ strtmp_ creds_ id - The ID of this resource.
- host str
- Host
- input_
rules Sequence[str] - Input rule definitions
- name str
- Dynamic secret name
- output_
rules Sequence[str] - Output rule definitions
- new
Ttl NumberMin - New TTL in minutes
- tmp
Creds StringId - Tmp Creds ID
- dynamic
Secret StringTmp Creds Id - The ID of this resource.
- host String
- Host
- input
Rules List<String> - Input rule definitions
- name String
- Dynamic secret name
- output
Rules List<String> - Output rule definitions
Outputs
All input properties are implicitly available as output properties. Additionally, the DynamicSecretTmpCreds 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 DynamicSecretTmpCreds Resource
Get an existing DynamicSecretTmpCreds 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?: DynamicSecretTmpCredsState, opts?: CustomResourceOptions): DynamicSecretTmpCreds@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
dynamic_secret_tmp_creds_id: Optional[str] = None,
host: Optional[str] = None,
input_rules: Optional[Sequence[str]] = None,
name: Optional[str] = None,
new_ttl_min: Optional[float] = None,
output_rules: Optional[Sequence[str]] = None,
tmp_creds_id: Optional[str] = None) -> DynamicSecretTmpCredsfunc GetDynamicSecretTmpCreds(ctx *Context, name string, id IDInput, state *DynamicSecretTmpCredsState, opts ...ResourceOption) (*DynamicSecretTmpCreds, error)public static DynamicSecretTmpCreds Get(string name, Input<string> id, DynamicSecretTmpCredsState? state, CustomResourceOptions? opts = null)public static DynamicSecretTmpCreds get(String name, Output<String> id, DynamicSecretTmpCredsState state, CustomResourceOptions options)resources: _: type: akeyless:DynamicSecretTmpCreds get: id: ${id}import {
to = akeyless_dynamicsecrettmpcreds.example
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.
- Dynamic
Secret stringTmp Creds Id - The ID of this resource.
- Host string
- Host
- Input
Rules List<string> - Input rule definitions
- Name string
- Dynamic secret name
- New
Ttl doubleMin - New TTL in minutes
- Output
Rules List<string> - Output rule definitions
- Tmp
Creds stringId - Tmp Creds ID
- Dynamic
Secret stringTmp Creds Id - The ID of this resource.
- Host string
- Host
- Input
Rules []string - Input rule definitions
- Name string
- Dynamic secret name
- New
Ttl float64Min - New TTL in minutes
- Output
Rules []string - Output rule definitions
- Tmp
Creds stringId - Tmp Creds ID
- dynamic_
secret_ stringtmp_ creds_ id - The ID of this resource.
- host string
- Host
- input_
rules list(string) - Input rule definitions
- name string
- Dynamic secret name
- new_
ttl_ numbermin - New TTL in minutes
- output_
rules list(string) - Output rule definitions
- tmp_
creds_ stringid - Tmp Creds ID
- dynamic
Secret StringTmp Creds Id - The ID of this resource.
- host String
- Host
- input
Rules List<String> - Input rule definitions
- name String
- Dynamic secret name
- new
Ttl DoubleMin - New TTL in minutes
- output
Rules List<String> - Output rule definitions
- tmp
Creds StringId - Tmp Creds ID
- dynamic
Secret stringTmp Creds Id - The ID of this resource.
- host string
- Host
- input
Rules string[] - Input rule definitions
- name string
- Dynamic secret name
- new
Ttl numberMin - New TTL in minutes
- output
Rules string[] - Output rule definitions
- tmp
Creds stringId - Tmp Creds ID
- dynamic_
secret_ strtmp_ creds_ id - The ID of this resource.
- host str
- Host
- input_
rules Sequence[str] - Input rule definitions
- name str
- Dynamic secret name
- new_
ttl_ floatmin - New TTL in minutes
- output_
rules Sequence[str] - Output rule definitions
- tmp_
creds_ strid - Tmp Creds ID
- dynamic
Secret StringTmp Creds Id - The ID of this resource.
- host String
- Host
- input
Rules List<String> - Input rule definitions
- name String
- Dynamic secret name
- new
Ttl NumberMin - New TTL in minutes
- output
Rules List<String> - Output rule definitions
- tmp
Creds StringId - Tmp Creds ID
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeylessTerraform Provider.
published on Thursday, Jun 18, 2026 by akeyless-community