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

akeyless.RotatedSecretSync

Explore with Pulumi AI

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

    Sync Rotated Secret with Universal Secrets Connector resource

    Create RotatedSecretSync Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new RotatedSecretSync(name: string, args: RotatedSecretSyncArgs, opts?: CustomResourceOptions);
    @overload
    def RotatedSecretSync(resource_name: str,
                          args: RotatedSecretSyncArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def RotatedSecretSync(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          remote_secret_name: Optional[str] = None,
                          usc_name: Optional[str] = None,
                          name: Optional[str] = None,
                          namespace: Optional[str] = None,
                          rotated_secret_sync_id: Optional[str] = None)
    func NewRotatedSecretSync(ctx *Context, name string, args RotatedSecretSyncArgs, opts ...ResourceOption) (*RotatedSecretSync, error)
    public RotatedSecretSync(string name, RotatedSecretSyncArgs args, CustomResourceOptions? opts = null)
    public RotatedSecretSync(String name, RotatedSecretSyncArgs args)
    public RotatedSecretSync(String name, RotatedSecretSyncArgs args, CustomResourceOptions options)
    
    type: akeyless:RotatedSecretSync
    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 RotatedSecretSyncArgs
    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 RotatedSecretSyncArgs
    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 RotatedSecretSyncArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RotatedSecretSyncArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RotatedSecretSyncArgs
    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 rotatedSecretSyncResource = new Akeyless.RotatedSecretSync("rotatedSecretSyncResource", new()
    {
        RemoteSecretName = "string",
        UscName = "string",
        Name = "string",
        Namespace = "string",
        RotatedSecretSyncId = "string",
    });
    
    example, err := akeyless.NewRotatedSecretSync(ctx, "rotatedSecretSyncResource", &akeyless.RotatedSecretSyncArgs{
    	RemoteSecretName:    pulumi.String("string"),
    	UscName:             pulumi.String("string"),
    	Name:                pulumi.String("string"),
    	Namespace:           pulumi.String("string"),
    	RotatedSecretSyncId: pulumi.String("string"),
    })
    
    var rotatedSecretSyncResource = new RotatedSecretSync("rotatedSecretSyncResource", RotatedSecretSyncArgs.builder()
        .remoteSecretName("string")
        .uscName("string")
        .name("string")
        .namespace("string")
        .rotatedSecretSyncId("string")
        .build());
    
    rotated_secret_sync_resource = akeyless.RotatedSecretSync("rotatedSecretSyncResource",
        remote_secret_name="string",
        usc_name="string",
        name="string",
        namespace="string",
        rotated_secret_sync_id="string")
    
    const rotatedSecretSyncResource = new akeyless.RotatedSecretSync("rotatedSecretSyncResource", {
        remoteSecretName: "string",
        uscName: "string",
        name: "string",
        namespace: "string",
        rotatedSecretSyncId: "string",
    });
    
    type: akeyless:RotatedSecretSync
    properties:
        name: string
        namespace: string
        remoteSecretName: string
        rotatedSecretSyncId: string
        uscName: string
    

    RotatedSecretSync 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 RotatedSecretSync resource accepts the following input properties:

    RemoteSecretName string
    Remote Secret Name that will be synced on the remote endpoint
    UscName string
    Universal Secret Connector name
    Name string
    Rotated Secret name
    Namespace string
    RotatedSecretSyncId string
    The ID of this resource.
    RemoteSecretName string
    Remote Secret Name that will be synced on the remote endpoint
    UscName string
    Universal Secret Connector name
    Name string
    Rotated Secret name
    Namespace string
    RotatedSecretSyncId string
    The ID of this resource.
    remoteSecretName String
    Remote Secret Name that will be synced on the remote endpoint
    uscName String
    Universal Secret Connector name
    name String
    Rotated Secret name
    namespace String
    rotatedSecretSyncId String
    The ID of this resource.
    remoteSecretName string
    Remote Secret Name that will be synced on the remote endpoint
    uscName string
    Universal Secret Connector name
    name string
    Rotated Secret name
    namespace string
    rotatedSecretSyncId string
    The ID of this resource.
    remote_secret_name str
    Remote Secret Name that will be synced on the remote endpoint
    usc_name str
    Universal Secret Connector name
    name str
    Rotated Secret name
    namespace str
    rotated_secret_sync_id str
    The ID of this resource.
    remoteSecretName String
    Remote Secret Name that will be synced on the remote endpoint
    uscName String
    Universal Secret Connector name
    name String
    Rotated Secret name
    namespace String
    rotatedSecretSyncId String
    The ID of this resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RotatedSecretSync 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 RotatedSecretSync Resource

    Get an existing RotatedSecretSync 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?: RotatedSecretSyncState, opts?: CustomResourceOptions): RotatedSecretSync
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            name: Optional[str] = None,
            namespace: Optional[str] = None,
            remote_secret_name: Optional[str] = None,
            rotated_secret_sync_id: Optional[str] = None,
            usc_name: Optional[str] = None) -> RotatedSecretSync
    func GetRotatedSecretSync(ctx *Context, name string, id IDInput, state *RotatedSecretSyncState, opts ...ResourceOption) (*RotatedSecretSync, error)
    public static RotatedSecretSync Get(string name, Input<string> id, RotatedSecretSyncState? state, CustomResourceOptions? opts = null)
    public static RotatedSecretSync get(String name, Output<String> id, RotatedSecretSyncState state, CustomResourceOptions options)
    resources:  _:    type: akeyless:RotatedSecretSync    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:
    Name string
    Rotated Secret name
    Namespace string
    RemoteSecretName string
    Remote Secret Name that will be synced on the remote endpoint
    RotatedSecretSyncId string
    The ID of this resource.
    UscName string
    Universal Secret Connector name
    Name string
    Rotated Secret name
    Namespace string
    RemoteSecretName string
    Remote Secret Name that will be synced on the remote endpoint
    RotatedSecretSyncId string
    The ID of this resource.
    UscName string
    Universal Secret Connector name
    name String
    Rotated Secret name
    namespace String
    remoteSecretName String
    Remote Secret Name that will be synced on the remote endpoint
    rotatedSecretSyncId String
    The ID of this resource.
    uscName String
    Universal Secret Connector name
    name string
    Rotated Secret name
    namespace string
    remoteSecretName string
    Remote Secret Name that will be synced on the remote endpoint
    rotatedSecretSyncId string
    The ID of this resource.
    uscName string
    Universal Secret Connector name
    name str
    Rotated Secret name
    namespace str
    remote_secret_name str
    Remote Secret Name that will be synced on the remote endpoint
    rotated_secret_sync_id str
    The ID of this resource.
    usc_name str
    Universal Secret Connector name
    name String
    Rotated Secret name
    namespace String
    remoteSecretName String
    Remote Secret Name that will be synced on the remote endpoint
    rotatedSecretSyncId String
    The ID of this resource.
    uscName String
    Universal Secret Connector name

    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