1. Packages
  2. Akeyless Provider
  3. API Docs
  4. ProducerCustom
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community

akeyless.ProducerCustom

Explore with Pulumi AI

akeyless logo
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community

    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:

    CreateSyncUrl string
    URL of an endpoint that implements /sync/create method
    RevokeSyncUrl string
    URL of an endpoint that implements /sync/revoke method
    AdminRotationIntervalDays double
    Rotation period in days
    EnableAdminRotation bool
    Enable automatic admin credentials rotation
    Name string
    Producer name
    Payload string
    Secret payload to be sent with each create/revoke webhook request
    ProducerCustomId string
    The ID of this resource.
    ProducerEncryptionKeyName string
    Encrypt producer with following key
    RotateSyncUrl string
    URL of an endpoint that implements /sync/rotate method
    Tags List<string>
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    TimeoutSec double
    Maximum allowed time in seconds for the webhook to return the results
    UserTtl string
    User TTL
    CreateSyncUrl string
    URL of an endpoint that implements /sync/create method
    RevokeSyncUrl string
    URL of an endpoint that implements /sync/revoke method
    AdminRotationIntervalDays float64
    Rotation period in days
    EnableAdminRotation bool
    Enable automatic admin credentials rotation
    Name string
    Producer name
    Payload string
    Secret payload to be sent with each create/revoke webhook request
    ProducerCustomId string
    The ID of this resource.
    ProducerEncryptionKeyName string
    Encrypt producer with following key
    RotateSyncUrl string
    URL of an endpoint that implements /sync/rotate method
    Tags []string
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    TimeoutSec float64
    Maximum allowed time in seconds for the webhook to return the results
    UserTtl string
    User TTL
    createSyncUrl String
    URL of an endpoint that implements /sync/create method
    revokeSyncUrl String
    URL of an endpoint that implements /sync/revoke method
    adminRotationIntervalDays Double
    Rotation period in days
    enableAdminRotation Boolean
    Enable automatic admin credentials rotation
    name String
    Producer name
    payload String
    Secret payload to be sent with each create/revoke webhook request
    producerCustomId String
    The ID of this resource.
    producerEncryptionKeyName String
    Encrypt producer with following key
    rotateSyncUrl String
    URL of an endpoint that implements /sync/rotate method
    tags List<String>
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    timeoutSec Double
    Maximum allowed time in seconds for the webhook to return the results
    userTtl String
    User TTL
    createSyncUrl string
    URL of an endpoint that implements /sync/create method
    revokeSyncUrl string
    URL of an endpoint that implements /sync/revoke method
    adminRotationIntervalDays number
    Rotation period in days
    enableAdminRotation boolean
    Enable automatic admin credentials rotation
    name string
    Producer name
    payload string
    Secret payload to be sent with each create/revoke webhook request
    producerCustomId string
    The ID of this resource.
    producerEncryptionKeyName string
    Encrypt producer with following key
    rotateSyncUrl string
    URL of an endpoint that implements /sync/rotate method
    tags string[]
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    timeoutSec number
    Maximum allowed time in seconds for the webhook to return the results
    userTtl string
    User TTL
    create_sync_url str
    URL of an endpoint that implements /sync/create method
    revoke_sync_url str
    URL of an endpoint that implements /sync/revoke method
    admin_rotation_interval_days float
    Rotation period in days
    enable_admin_rotation bool
    Enable automatic admin credentials rotation
    name str
    Producer name
    payload str
    Secret payload to be sent with each create/revoke webhook request
    producer_custom_id str
    The ID of this resource.
    producer_encryption_key_name str
    Encrypt producer with following key
    rotate_sync_url str
    URL of an endpoint that implements /sync/rotate method
    tags 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
    createSyncUrl String
    URL of an endpoint that implements /sync/create method
    revokeSyncUrl String
    URL of an endpoint that implements /sync/revoke method
    adminRotationIntervalDays Number
    Rotation period in days
    enableAdminRotation Boolean
    Enable automatic admin credentials rotation
    name String
    Producer name
    payload String
    Secret payload to be sent with each create/revoke webhook request
    producerCustomId String
    The ID of this resource.
    producerEncryptionKeyName String
    Encrypt producer with following key
    rotateSyncUrl String
    URL of an endpoint that implements /sync/rotate method
    tags List<String>
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    timeoutSec Number
    Maximum allowed time in seconds for the webhook to return the results
    userTtl 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.
    The following state arguments are supported:
    AdminRotationIntervalDays double
    Rotation period in days
    CreateSyncUrl string
    URL of an endpoint that implements /sync/create method
    EnableAdminRotation bool
    Enable automatic admin credentials rotation
    Name string
    Producer name
    Payload string
    Secret payload to be sent with each create/revoke webhook request
    ProducerCustomId string
    The ID of this resource.
    ProducerEncryptionKeyName string
    Encrypt producer with following key
    RevokeSyncUrl string
    URL of an endpoint that implements /sync/revoke method
    RotateSyncUrl string
    URL of an endpoint that implements /sync/rotate method
    Tags List<string>
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    TimeoutSec double
    Maximum allowed time in seconds for the webhook to return the results
    UserTtl string
    User TTL
    AdminRotationIntervalDays float64
    Rotation period in days
    CreateSyncUrl string
    URL of an endpoint that implements /sync/create method
    EnableAdminRotation bool
    Enable automatic admin credentials rotation
    Name string
    Producer name
    Payload string
    Secret payload to be sent with each create/revoke webhook request
    ProducerCustomId string
    The ID of this resource.
    ProducerEncryptionKeyName string
    Encrypt producer with following key
    RevokeSyncUrl string
    URL of an endpoint that implements /sync/revoke method
    RotateSyncUrl string
    URL of an endpoint that implements /sync/rotate method
    Tags []string
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    TimeoutSec float64
    Maximum allowed time in seconds for the webhook to return the results
    UserTtl string
    User TTL
    adminRotationIntervalDays Double
    Rotation period in days
    createSyncUrl String
    URL of an endpoint that implements /sync/create method
    enableAdminRotation Boolean
    Enable automatic admin credentials rotation
    name String
    Producer name
    payload String
    Secret payload to be sent with each create/revoke webhook request
    producerCustomId String
    The ID of this resource.
    producerEncryptionKeyName String
    Encrypt producer with following key
    revokeSyncUrl String
    URL of an endpoint that implements /sync/revoke method
    rotateSyncUrl String
    URL of an endpoint that implements /sync/rotate method
    tags List<String>
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    timeoutSec Double
    Maximum allowed time in seconds for the webhook to return the results
    userTtl String
    User TTL
    adminRotationIntervalDays number
    Rotation period in days
    createSyncUrl string
    URL of an endpoint that implements /sync/create method
    enableAdminRotation boolean
    Enable automatic admin credentials rotation
    name string
    Producer name
    payload string
    Secret payload to be sent with each create/revoke webhook request
    producerCustomId string
    The ID of this resource.
    producerEncryptionKeyName string
    Encrypt producer with following key
    revokeSyncUrl string
    URL of an endpoint that implements /sync/revoke method
    rotateSyncUrl string
    URL of an endpoint that implements /sync/rotate method
    tags string[]
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    timeoutSec number
    Maximum allowed time in seconds for the webhook to return the results
    userTtl string
    User TTL
    admin_rotation_interval_days float
    Rotation period in days
    create_sync_url str
    URL of an endpoint that implements /sync/create method
    enable_admin_rotation bool
    Enable automatic admin credentials rotation
    name str
    Producer name
    payload str
    Secret payload to be sent with each create/revoke webhook request
    producer_custom_id str
    The ID of this resource.
    producer_encryption_key_name str
    Encrypt producer with following key
    revoke_sync_url str
    URL of an endpoint that implements /sync/revoke method
    rotate_sync_url str
    URL of an endpoint that implements /sync/rotate method
    tags 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
    adminRotationIntervalDays Number
    Rotation period in days
    createSyncUrl String
    URL of an endpoint that implements /sync/create method
    enableAdminRotation Boolean
    Enable automatic admin credentials rotation
    name String
    Producer name
    payload String
    Secret payload to be sent with each create/revoke webhook request
    producerCustomId String
    The ID of this resource.
    producerEncryptionKeyName String
    Encrypt producer with following key
    revokeSyncUrl String
    URL of an endpoint that implements /sync/revoke method
    rotateSyncUrl String
    URL of an endpoint that implements /sync/rotate method
    tags List<String>
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    timeoutSec Number
    Maximum allowed time in seconds for the webhook to return the results
    userTtl String
    User TTL

    Package Details

    Repository
    akeyless akeyless-community/terraform-provider-akeyless
    License
    Notes
    This Pulumi package is based on the akeyless Terraform Provider.
    akeyless logo
    akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community