akeyless.ProducerCustom
Explore with Pulumi AI
Custom producer resource
Create ProducerCustom Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ProducerCustom(name: string, args: ProducerCustomArgs, opts?: CustomResourceOptions);
@overload
def ProducerCustom(resource_name: str,
args: ProducerCustomArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ProducerCustom(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,
enable_admin_rotation: Optional[bool] = None,
name: Optional[str] = None,
payload: Optional[str] = None,
producer_custom_id: Optional[str] = None,
producer_encryption_key_name: 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 NewProducerCustom(ctx *Context, name string, args ProducerCustomArgs, opts ...ResourceOption) (*ProducerCustom, error)
public ProducerCustom(string name, ProducerCustomArgs args, CustomResourceOptions? opts = null)
public ProducerCustom(String name, ProducerCustomArgs args)
public ProducerCustom(String name, ProducerCustomArgs args, CustomResourceOptions options)
type: akeyless:ProducerCustom
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 ProducerCustomArgs
- 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 ProducerCustomArgs
- 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 ProducerCustomArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProducerCustomArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProducerCustomArgs
- 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 producerCustomResource = new Akeyless.ProducerCustom("producerCustomResource", new()
{
CreateSyncUrl = "string",
RevokeSyncUrl = "string",
AdminRotationIntervalDays = 0,
EnableAdminRotation = false,
Name = "string",
Payload = "string",
ProducerCustomId = "string",
ProducerEncryptionKeyName = "string",
RotateSyncUrl = "string",
Tags = new[]
{
"string",
},
TimeoutSec = 0,
UserTtl = "string",
});
example, err := akeyless.NewProducerCustom(ctx, "producerCustomResource", &akeyless.ProducerCustomArgs{
CreateSyncUrl: pulumi.String("string"),
RevokeSyncUrl: pulumi.String("string"),
AdminRotationIntervalDays: pulumi.Float64(0),
EnableAdminRotation: pulumi.Bool(false),
Name: pulumi.String("string"),
Payload: pulumi.String("string"),
ProducerCustomId: pulumi.String("string"),
ProducerEncryptionKeyName: pulumi.String("string"),
RotateSyncUrl: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
TimeoutSec: pulumi.Float64(0),
UserTtl: pulumi.String("string"),
})
var producerCustomResource = new ProducerCustom("producerCustomResource", ProducerCustomArgs.builder()
.createSyncUrl("string")
.revokeSyncUrl("string")
.adminRotationIntervalDays(0)
.enableAdminRotation(false)
.name("string")
.payload("string")
.producerCustomId("string")
.producerEncryptionKeyName("string")
.rotateSyncUrl("string")
.tags("string")
.timeoutSec(0)
.userTtl("string")
.build());
producer_custom_resource = akeyless.ProducerCustom("producerCustomResource",
create_sync_url="string",
revoke_sync_url="string",
admin_rotation_interval_days=0,
enable_admin_rotation=False,
name="string",
payload="string",
producer_custom_id="string",
producer_encryption_key_name="string",
rotate_sync_url="string",
tags=["string"],
timeout_sec=0,
user_ttl="string")
const producerCustomResource = new akeyless.ProducerCustom("producerCustomResource", {
createSyncUrl: "string",
revokeSyncUrl: "string",
adminRotationIntervalDays: 0,
enableAdminRotation: false,
name: "string",
payload: "string",
producerCustomId: "string",
producerEncryptionKeyName: "string",
rotateSyncUrl: "string",
tags: ["string"],
timeoutSec: 0,
userTtl: "string",
});
type: akeyless:ProducerCustom
properties:
adminRotationIntervalDays: 0
createSyncUrl: string
enableAdminRotation: false
name: string
payload: string
producerCustomId: string
producerEncryptionKeyName: string
revokeSyncUrl: string
rotateSyncUrl: string
tags:
- string
timeoutSec: 0
userTtl: string
ProducerCustom 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 ProducerCustom 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
- Enable
Admin boolRotation - Enable automatic admin credentials rotation
- Name string
- Producer name
- Payload string
- Secret payload to be sent with each create/revoke webhook request
- Producer
Custom stringId - The ID of this resource.
- Producer
Encryption stringKey Name - Encrypt producer with following key
- 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
- Enable
Admin boolRotation - Enable automatic admin credentials rotation
- Name string
- Producer name
- Payload string
- Secret payload to be sent with each create/revoke webhook request
- Producer
Custom stringId - The ID of this resource.
- Producer
Encryption stringKey Name - Encrypt producer with following key
- 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
- enable
Admin BooleanRotation - Enable automatic admin credentials rotation
- name String
- Producer name
- payload String
- Secret payload to be sent with each create/revoke webhook request
- producer
Custom StringId - The ID of this resource.
- producer
Encryption StringKey Name - Encrypt producer with following key
- 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
- enable
Admin booleanRotation - Enable automatic admin credentials rotation
- name string
- Producer name
- payload string
- Secret payload to be sent with each create/revoke webhook request
- producer
Custom stringId - The ID of this resource.
- producer
Encryption stringKey Name - Encrypt producer with following key
- 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
- enable_
admin_ boolrotation - Enable automatic admin credentials rotation
- name str
- Producer name
- payload str
- Secret payload to be sent with each create/revoke webhook request
- producer_
custom_ strid - The ID of this resource.
- producer_
encryption_ strkey_ name - Encrypt producer with following key
- 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
- enable
Admin BooleanRotation - Enable automatic admin credentials rotation
- name String
- Producer name
- payload String
- Secret payload to be sent with each create/revoke webhook request
- producer
Custom StringId - The ID of this resource.
- producer
Encryption StringKey Name - Encrypt producer with following key
- 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 ProducerCustom 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 ProducerCustom Resource
Get an existing ProducerCustom 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?: ProducerCustomState, opts?: CustomResourceOptions): ProducerCustom
@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,
enable_admin_rotation: Optional[bool] = None,
name: Optional[str] = None,
payload: Optional[str] = None,
producer_custom_id: Optional[str] = None,
producer_encryption_key_name: 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) -> ProducerCustom
func GetProducerCustom(ctx *Context, name string, id IDInput, state *ProducerCustomState, opts ...ResourceOption) (*ProducerCustom, error)
public static ProducerCustom Get(string name, Input<string> id, ProducerCustomState? state, CustomResourceOptions? opts = null)
public static ProducerCustom get(String name, Output<String> id, ProducerCustomState state, CustomResourceOptions options)
resources: _: type: akeyless:ProducerCustom 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
- Enable
Admin boolRotation - Enable automatic admin credentials rotation
- Name string
- Producer name
- Payload string
- Secret payload to be sent with each create/revoke webhook request
- Producer
Custom stringId - The ID of this resource.
- Producer
Encryption stringKey Name - Encrypt producer with following key
- 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
- Enable
Admin boolRotation - Enable automatic admin credentials rotation
- Name string
- Producer name
- Payload string
- Secret payload to be sent with each create/revoke webhook request
- Producer
Custom stringId - The ID of this resource.
- Producer
Encryption stringKey Name - Encrypt producer with following key
- 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
- enable
Admin BooleanRotation - Enable automatic admin credentials rotation
- name String
- Producer name
- payload String
- Secret payload to be sent with each create/revoke webhook request
- producer
Custom StringId - The ID of this resource.
- producer
Encryption StringKey Name - Encrypt producer with following key
- 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
- enable
Admin booleanRotation - Enable automatic admin credentials rotation
- name string
- Producer name
- payload string
- Secret payload to be sent with each create/revoke webhook request
- producer
Custom stringId - The ID of this resource.
- producer
Encryption stringKey Name - Encrypt producer with following key
- 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
- enable_
admin_ boolrotation - Enable automatic admin credentials rotation
- name str
- Producer name
- payload str
- Secret payload to be sent with each create/revoke webhook request
- producer_
custom_ strid - The ID of this resource.
- producer_
encryption_ strkey_ name - Encrypt producer with following key
- 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
- enable
Admin BooleanRotation - Enable automatic admin credentials rotation
- name String
- Producer name
- payload String
- Secret payload to be sent with each create/revoke webhook request
- producer
Custom StringId - The ID of this resource.
- producer
Encryption StringKey Name - Encrypt producer with following key
- 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.