akeyless.DynamicSecretCustom
Explore with Pulumi AI
Custom dynamic secret resource
Create DynamicSecretCustom Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DynamicSecretCustom(name: string, args: DynamicSecretCustomArgs, opts?: CustomResourceOptions);
@overload
def DynamicSecretCustom(resource_name: str,
args: DynamicSecretCustomArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DynamicSecretCustom(resource_name: str,
opts: Optional[ResourceOptions] = None,
create_sync_url: Optional[str] = None,
revoke_sync_url: Optional[str] = None,
admin_rotation_interval_days: Optional[float] = None,
dynamic_secret_custom_id: Optional[str] = None,
enable_admin_rotation: Optional[bool] = None,
encryption_key_name: Optional[str] = None,
name: Optional[str] = None,
payload: Optional[str] = None,
rotate_sync_url: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
timeout_sec: Optional[float] = None,
user_ttl: Optional[str] = None)
func NewDynamicSecretCustom(ctx *Context, name string, args DynamicSecretCustomArgs, opts ...ResourceOption) (*DynamicSecretCustom, error)
public DynamicSecretCustom(string name, DynamicSecretCustomArgs args, CustomResourceOptions? opts = null)
public DynamicSecretCustom(String name, DynamicSecretCustomArgs args)
public DynamicSecretCustom(String name, DynamicSecretCustomArgs args, CustomResourceOptions options)
type: akeyless:DynamicSecretCustom
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 DynamicSecretCustomArgs
- 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 DynamicSecretCustomArgs
- 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 DynamicSecretCustomArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DynamicSecretCustomArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DynamicSecretCustomArgs
- 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 dynamicSecretCustomResource = new Akeyless.DynamicSecretCustom("dynamicSecretCustomResource", new()
{
CreateSyncUrl = "string",
RevokeSyncUrl = "string",
AdminRotationIntervalDays = 0,
DynamicSecretCustomId = "string",
EnableAdminRotation = false,
EncryptionKeyName = "string",
Name = "string",
Payload = "string",
RotateSyncUrl = "string",
Tags = new[]
{
"string",
},
TimeoutSec = 0,
UserTtl = "string",
});
example, err := akeyless.NewDynamicSecretCustom(ctx, "dynamicSecretCustomResource", &akeyless.DynamicSecretCustomArgs{
CreateSyncUrl: pulumi.String("string"),
RevokeSyncUrl: pulumi.String("string"),
AdminRotationIntervalDays: pulumi.Float64(0),
DynamicSecretCustomId: pulumi.String("string"),
EnableAdminRotation: pulumi.Bool(false),
EncryptionKeyName: pulumi.String("string"),
Name: pulumi.String("string"),
Payload: pulumi.String("string"),
RotateSyncUrl: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
TimeoutSec: pulumi.Float64(0),
UserTtl: pulumi.String("string"),
})
var dynamicSecretCustomResource = new DynamicSecretCustom("dynamicSecretCustomResource", DynamicSecretCustomArgs.builder()
.createSyncUrl("string")
.revokeSyncUrl("string")
.adminRotationIntervalDays(0)
.dynamicSecretCustomId("string")
.enableAdminRotation(false)
.encryptionKeyName("string")
.name("string")
.payload("string")
.rotateSyncUrl("string")
.tags("string")
.timeoutSec(0)
.userTtl("string")
.build());
dynamic_secret_custom_resource = akeyless.DynamicSecretCustom("dynamicSecretCustomResource",
create_sync_url="string",
revoke_sync_url="string",
admin_rotation_interval_days=0,
dynamic_secret_custom_id="string",
enable_admin_rotation=False,
encryption_key_name="string",
name="string",
payload="string",
rotate_sync_url="string",
tags=["string"],
timeout_sec=0,
user_ttl="string")
const dynamicSecretCustomResource = new akeyless.DynamicSecretCustom("dynamicSecretCustomResource", {
createSyncUrl: "string",
revokeSyncUrl: "string",
adminRotationIntervalDays: 0,
dynamicSecretCustomId: "string",
enableAdminRotation: false,
encryptionKeyName: "string",
name: "string",
payload: "string",
rotateSyncUrl: "string",
tags: ["string"],
timeoutSec: 0,
userTtl: "string",
});
type: akeyless:DynamicSecretCustom
properties:
adminRotationIntervalDays: 0
createSyncUrl: string
dynamicSecretCustomId: string
enableAdminRotation: false
encryptionKeyName: string
name: string
payload: string
revokeSyncUrl: string
rotateSyncUrl: string
tags:
- string
timeoutSec: 0
userTtl: string
DynamicSecretCustom 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 DynamicSecretCustom resource accepts the following input properties:
- Create
Sync stringUrl - URL of an endpoint that implements /sync/create method
- Revoke
Sync stringUrl - URL of an endpoint that implements /sync/revoke method
- Admin
Rotation doubleInterval Days - Rotation period in days
- Dynamic
Secret stringCustom Id - The ID of this resource.
- Enable
Admin boolRotation - Enable automatic admin credentials rotation
- Encryption
Key stringName - Encrypt dynamic secret details with following key
- Name string
- Dynamic secret name
- Payload string
- Secret payload to be sent with each create/revoke webhook request
- Rotate
Sync stringUrl - URL of an endpoint that implements /sync/rotate method
- List<string>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Timeout
Sec double - Maximum allowed time in seconds for the webhook to return the results
- User
Ttl string - User TTL
- Create
Sync stringUrl - URL of an endpoint that implements /sync/create method
- Revoke
Sync stringUrl - URL of an endpoint that implements /sync/revoke method
- Admin
Rotation float64Interval Days - Rotation period in days
- Dynamic
Secret stringCustom Id - The ID of this resource.
- Enable
Admin boolRotation - Enable automatic admin credentials rotation
- Encryption
Key stringName - Encrypt dynamic secret details with following key
- Name string
- Dynamic secret name
- Payload string
- Secret payload to be sent with each create/revoke webhook request
- Rotate
Sync stringUrl - URL of an endpoint that implements /sync/rotate method
- []string
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Timeout
Sec float64 - Maximum allowed time in seconds for the webhook to return the results
- User
Ttl string - User TTL
- create
Sync StringUrl - URL of an endpoint that implements /sync/create method
- revoke
Sync StringUrl - URL of an endpoint that implements /sync/revoke method
- admin
Rotation DoubleInterval Days - Rotation period in days
- dynamic
Secret StringCustom Id - The ID of this resource.
- enable
Admin BooleanRotation - Enable automatic admin credentials rotation
- encryption
Key StringName - Encrypt dynamic secret details with following key
- name String
- Dynamic secret name
- payload String
- Secret payload to be sent with each create/revoke webhook request
- rotate
Sync StringUrl - URL of an endpoint that implements /sync/rotate method
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- timeout
Sec Double - Maximum allowed time in seconds for the webhook to return the results
- user
Ttl String - User TTL
- create
Sync stringUrl - URL of an endpoint that implements /sync/create method
- revoke
Sync stringUrl - URL of an endpoint that implements /sync/revoke method
- admin
Rotation numberInterval Days - Rotation period in days
- dynamic
Secret stringCustom Id - The ID of this resource.
- enable
Admin booleanRotation - Enable automatic admin credentials rotation
- encryption
Key stringName - Encrypt dynamic secret details with following key
- name string
- Dynamic secret name
- payload string
- Secret payload to be sent with each create/revoke webhook request
- rotate
Sync stringUrl - URL of an endpoint that implements /sync/rotate method
- string[]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- timeout
Sec number - Maximum allowed time in seconds for the webhook to return the results
- user
Ttl string - User TTL
- create_
sync_ strurl - URL of an endpoint that implements /sync/create method
- revoke_
sync_ strurl - URL of an endpoint that implements /sync/revoke method
- admin_
rotation_ floatinterval_ days - Rotation period in days
- dynamic_
secret_ strcustom_ id - The ID of this resource.
- enable_
admin_ boolrotation - Enable automatic admin credentials rotation
- encryption_
key_ strname - Encrypt dynamic secret details with following key
- name str
- Dynamic secret name
- payload str
- Secret payload to be sent with each create/revoke webhook request
- rotate_
sync_ strurl - URL of an endpoint that implements /sync/rotate method
- Sequence[str]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- timeout_
sec float - Maximum allowed time in seconds for the webhook to return the results
- user_
ttl str - User TTL
- create
Sync StringUrl - URL of an endpoint that implements /sync/create method
- revoke
Sync StringUrl - URL of an endpoint that implements /sync/revoke method
- admin
Rotation NumberInterval Days - Rotation period in days
- dynamic
Secret StringCustom Id - The ID of this resource.
- enable
Admin BooleanRotation - Enable automatic admin credentials rotation
- encryption
Key StringName - Encrypt dynamic secret details with following key
- name String
- Dynamic secret name
- payload String
- Secret payload to be sent with each create/revoke webhook request
- rotate
Sync StringUrl - URL of an endpoint that implements /sync/rotate method
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- timeout
Sec Number - Maximum allowed time in seconds for the webhook to return the results
- user
Ttl String - User TTL
Outputs
All input properties are implicitly available as output properties. Additionally, the DynamicSecretCustom 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 DynamicSecretCustom Resource
Get an existing DynamicSecretCustom 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?: DynamicSecretCustomState, opts?: CustomResourceOptions): DynamicSecretCustom
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
admin_rotation_interval_days: Optional[float] = None,
create_sync_url: Optional[str] = None,
dynamic_secret_custom_id: Optional[str] = None,
enable_admin_rotation: Optional[bool] = None,
encryption_key_name: Optional[str] = None,
name: Optional[str] = None,
payload: Optional[str] = None,
revoke_sync_url: Optional[str] = None,
rotate_sync_url: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
timeout_sec: Optional[float] = None,
user_ttl: Optional[str] = None) -> DynamicSecretCustom
func GetDynamicSecretCustom(ctx *Context, name string, id IDInput, state *DynamicSecretCustomState, opts ...ResourceOption) (*DynamicSecretCustom, error)
public static DynamicSecretCustom Get(string name, Input<string> id, DynamicSecretCustomState? state, CustomResourceOptions? opts = null)
public static DynamicSecretCustom get(String name, Output<String> id, DynamicSecretCustomState state, CustomResourceOptions options)
resources: _: type: akeyless:DynamicSecretCustom 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.
- Admin
Rotation doubleInterval Days - Rotation period in days
- Create
Sync stringUrl - URL of an endpoint that implements /sync/create method
- Dynamic
Secret stringCustom Id - The ID of this resource.
- Enable
Admin boolRotation - Enable automatic admin credentials rotation
- Encryption
Key stringName - Encrypt dynamic secret details with following key
- Name string
- Dynamic secret name
- Payload string
- Secret payload to be sent with each create/revoke webhook request
- Revoke
Sync stringUrl - URL of an endpoint that implements /sync/revoke method
- Rotate
Sync stringUrl - URL of an endpoint that implements /sync/rotate method
- List<string>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Timeout
Sec double - Maximum allowed time in seconds for the webhook to return the results
- User
Ttl string - User TTL
- Admin
Rotation float64Interval Days - Rotation period in days
- Create
Sync stringUrl - URL of an endpoint that implements /sync/create method
- Dynamic
Secret stringCustom Id - The ID of this resource.
- Enable
Admin boolRotation - Enable automatic admin credentials rotation
- Encryption
Key stringName - Encrypt dynamic secret details with following key
- Name string
- Dynamic secret name
- Payload string
- Secret payload to be sent with each create/revoke webhook request
- Revoke
Sync stringUrl - URL of an endpoint that implements /sync/revoke method
- Rotate
Sync stringUrl - URL of an endpoint that implements /sync/rotate method
- []string
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Timeout
Sec float64 - Maximum allowed time in seconds for the webhook to return the results
- User
Ttl string - User TTL
- admin
Rotation DoubleInterval Days - Rotation period in days
- create
Sync StringUrl - URL of an endpoint that implements /sync/create method
- dynamic
Secret StringCustom Id - The ID of this resource.
- enable
Admin BooleanRotation - Enable automatic admin credentials rotation
- encryption
Key StringName - Encrypt dynamic secret details with following key
- name String
- Dynamic secret name
- payload String
- Secret payload to be sent with each create/revoke webhook request
- revoke
Sync StringUrl - URL of an endpoint that implements /sync/revoke method
- rotate
Sync StringUrl - URL of an endpoint that implements /sync/rotate method
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- timeout
Sec Double - Maximum allowed time in seconds for the webhook to return the results
- user
Ttl String - User TTL
- admin
Rotation numberInterval Days - Rotation period in days
- create
Sync stringUrl - URL of an endpoint that implements /sync/create method
- dynamic
Secret stringCustom Id - The ID of this resource.
- enable
Admin booleanRotation - Enable automatic admin credentials rotation
- encryption
Key stringName - Encrypt dynamic secret details with following key
- name string
- Dynamic secret name
- payload string
- Secret payload to be sent with each create/revoke webhook request
- revoke
Sync stringUrl - URL of an endpoint that implements /sync/revoke method
- rotate
Sync stringUrl - URL of an endpoint that implements /sync/rotate method
- string[]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- timeout
Sec number - Maximum allowed time in seconds for the webhook to return the results
- user
Ttl string - User TTL
- admin_
rotation_ floatinterval_ days - Rotation period in days
- create_
sync_ strurl - URL of an endpoint that implements /sync/create method
- dynamic_
secret_ strcustom_ id - The ID of this resource.
- enable_
admin_ boolrotation - Enable automatic admin credentials rotation
- encryption_
key_ strname - Encrypt dynamic secret details with following key
- name str
- Dynamic secret name
- payload str
- Secret payload to be sent with each create/revoke webhook request
- revoke_
sync_ strurl - URL of an endpoint that implements /sync/revoke method
- rotate_
sync_ strurl - URL of an endpoint that implements /sync/rotate method
- Sequence[str]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- timeout_
sec float - Maximum allowed time in seconds for the webhook to return the results
- user_
ttl str - User TTL
- admin
Rotation NumberInterval Days - Rotation period in days
- create
Sync StringUrl - URL of an endpoint that implements /sync/create method
- dynamic
Secret StringCustom Id - The ID of this resource.
- enable
Admin BooleanRotation - Enable automatic admin credentials rotation
- encryption
Key StringName - Encrypt dynamic secret details with following key
- name String
- Dynamic secret name
- payload String
- Secret payload to be sent with each create/revoke webhook request
- revoke
Sync StringUrl - URL of an endpoint that implements /sync/revoke method
- rotate
Sync StringUrl - URL of an endpoint that implements /sync/rotate method
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- timeout
Sec Number - Maximum allowed time in seconds for the webhook to return the results
- user
Ttl String - User TTL
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeyless
Terraform Provider.