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

    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,
                              name: Optional[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.
    
    

    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",
        Name = "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"),
    	Name:                    pulumi.String("string"),
    })
    
    var dynamicSecretTmpCredsResource = new DynamicSecretTmpCreds("dynamicSecretTmpCredsResource", DynamicSecretTmpCredsArgs.builder()
        .newTtlMin(0.0)
        .tmpCredsId("string")
        .dynamicSecretTmpCredsId("string")
        .host("string")
        .name("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",
        name="string")
    
    const dynamicSecretTmpCredsResource = new akeyless.DynamicSecretTmpCreds("dynamicSecretTmpCredsResource", {
        newTtlMin: 0,
        tmpCredsId: "string",
        dynamicSecretTmpCredsId: "string",
        host: "string",
        name: "string",
    });
    
    type: akeyless:DynamicSecretTmpCreds
    properties:
        dynamicSecretTmpCredsId: string
        host: string
        name: string
        newTtlMin: 0
        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:

    NewTtlMin double
    New TTL in minutes
    TmpCredsId string
    Tmp Creds ID
    DynamicSecretTmpCredsId string
    The ID of this resource.
    Host string
    Host
    Name string
    Dynamic secret name
    NewTtlMin float64
    New TTL in minutes
    TmpCredsId string
    Tmp Creds ID
    DynamicSecretTmpCredsId string
    The ID of this resource.
    Host string
    Host
    Name string
    Dynamic secret name
    newTtlMin Double
    New TTL in minutes
    tmpCredsId String
    Tmp Creds ID
    dynamicSecretTmpCredsId String
    The ID of this resource.
    host String
    Host
    name String
    Dynamic secret name
    newTtlMin number
    New TTL in minutes
    tmpCredsId string
    Tmp Creds ID
    dynamicSecretTmpCredsId string
    The ID of this resource.
    host string
    Host
    name string
    Dynamic secret name
    new_ttl_min float
    New TTL in minutes
    tmp_creds_id str
    Tmp Creds ID
    dynamic_secret_tmp_creds_id str
    The ID of this resource.
    host str
    Host
    name str
    Dynamic secret name
    newTtlMin Number
    New TTL in minutes
    tmpCredsId String
    Tmp Creds ID
    dynamicSecretTmpCredsId String
    The ID of this resource.
    host String
    Host
    name String
    Dynamic secret name

    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 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,
            name: Optional[str] = None,
            new_ttl_min: Optional[float] = None,
            tmp_creds_id: Optional[str] = None) -> DynamicSecretTmpCreds
    func 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}
    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:
    DynamicSecretTmpCredsId string
    The ID of this resource.
    Host string
    Host
    Name string
    Dynamic secret name
    NewTtlMin double
    New TTL in minutes
    TmpCredsId string
    Tmp Creds ID
    DynamicSecretTmpCredsId string
    The ID of this resource.
    Host string
    Host
    Name string
    Dynamic secret name
    NewTtlMin float64
    New TTL in minutes
    TmpCredsId string
    Tmp Creds ID
    dynamicSecretTmpCredsId String
    The ID of this resource.
    host String
    Host
    name String
    Dynamic secret name
    newTtlMin Double
    New TTL in minutes
    tmpCredsId String
    Tmp Creds ID
    dynamicSecretTmpCredsId string
    The ID of this resource.
    host string
    Host
    name string
    Dynamic secret name
    newTtlMin number
    New TTL in minutes
    tmpCredsId string
    Tmp Creds ID
    dynamic_secret_tmp_creds_id str
    The ID of this resource.
    host str
    Host
    name str
    Dynamic secret name
    new_ttl_min float
    New TTL in minutes
    tmp_creds_id str
    Tmp Creds ID
    dynamicSecretTmpCredsId String
    The ID of this resource.
    host String
    Host
    name String
    Dynamic secret name
    newTtlMin Number
    New TTL in minutes
    tmpCredsId String
    Tmp Creds ID

    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.