akeyless.RotatedSecretSync
Explore with Pulumi AI
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:
- Remote
Secret stringName - Remote Secret Name that will be synced on the remote endpoint
- Usc
Name string - Universal Secret Connector name
- Name string
- Rotated Secret name
- Namespace string
- Rotated
Secret stringSync Id - The ID of this resource.
- Remote
Secret stringName - Remote Secret Name that will be synced on the remote endpoint
- Usc
Name string - Universal Secret Connector name
- Name string
- Rotated Secret name
- Namespace string
- Rotated
Secret stringSync Id - The ID of this resource.
- remote
Secret StringName - Remote Secret Name that will be synced on the remote endpoint
- usc
Name String - Universal Secret Connector name
- name String
- Rotated Secret name
- namespace String
- rotated
Secret StringSync Id - The ID of this resource.
- remote
Secret stringName - Remote Secret Name that will be synced on the remote endpoint
- usc
Name string - Universal Secret Connector name
- name string
- Rotated Secret name
- namespace string
- rotated
Secret stringSync Id - The ID of this resource.
- remote_
secret_ strname - 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_ strsync_ id - The ID of this resource.
- remote
Secret StringName - Remote Secret Name that will be synced on the remote endpoint
- usc
Name String - Universal Secret Connector name
- name String
- Rotated Secret name
- namespace String
- rotated
Secret StringSync Id - 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.
- Name string
- Rotated Secret name
- Namespace string
- Remote
Secret stringName - Remote Secret Name that will be synced on the remote endpoint
- Rotated
Secret stringSync Id - The ID of this resource.
- Usc
Name string - Universal Secret Connector name
- Name string
- Rotated Secret name
- Namespace string
- Remote
Secret stringName - Remote Secret Name that will be synced on the remote endpoint
- Rotated
Secret stringSync Id - The ID of this resource.
- Usc
Name string - Universal Secret Connector name
- name String
- Rotated Secret name
- namespace String
- remote
Secret StringName - Remote Secret Name that will be synced on the remote endpoint
- rotated
Secret StringSync Id - The ID of this resource.
- usc
Name String - Universal Secret Connector name
- name string
- Rotated Secret name
- namespace string
- remote
Secret stringName - Remote Secret Name that will be synced on the remote endpoint
- rotated
Secret stringSync Id - The ID of this resource.
- usc
Name string - Universal Secret Connector name
- name str
- Rotated Secret name
- namespace str
- remote_
secret_ strname - Remote Secret Name that will be synced on the remote endpoint
- rotated_
secret_ strsync_ id - The ID of this resource.
- usc_
name str - Universal Secret Connector name
- name String
- Rotated Secret name
- namespace String
- remote
Secret StringName - Remote Secret Name that will be synced on the remote endpoint
- rotated
Secret StringSync Id - The ID of this resource.
- usc
Name 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.