akeyless.StaticSecretSync
Sync Static Secret with Universal Secrets Connector resource
Create StaticSecretSync Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StaticSecretSync(name: string, args: StaticSecretSyncArgs, opts?: CustomResourceOptions);@overload
def StaticSecretSync(resource_name: str,
args: StaticSecretSyncArgs,
opts: Optional[ResourceOptions] = None)
@overload
def StaticSecretSync(resource_name: str,
opts: Optional[ResourceOptions] = None,
remote_secret_name: Optional[str] = None,
usc_name: Optional[str] = None,
filter_secret_value: Optional[str] = None,
name: Optional[str] = None,
namespace: Optional[str] = None,
static_secret_sync_id: Optional[str] = None)func NewStaticSecretSync(ctx *Context, name string, args StaticSecretSyncArgs, opts ...ResourceOption) (*StaticSecretSync, error)public StaticSecretSync(string name, StaticSecretSyncArgs args, CustomResourceOptions? opts = null)
public StaticSecretSync(String name, StaticSecretSyncArgs args)
public StaticSecretSync(String name, StaticSecretSyncArgs args, CustomResourceOptions options)
type: akeyless:StaticSecretSync
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 StaticSecretSyncArgs
- 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 StaticSecretSyncArgs
- 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 StaticSecretSyncArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StaticSecretSyncArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StaticSecretSyncArgs
- 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 staticSecretSyncResource = new Akeyless.StaticSecretSync("staticSecretSyncResource", new()
{
RemoteSecretName = "string",
UscName = "string",
FilterSecretValue = "string",
Name = "string",
Namespace = "string",
StaticSecretSyncId = "string",
});
example, err := akeyless.NewStaticSecretSync(ctx, "staticSecretSyncResource", &akeyless.StaticSecretSyncArgs{
RemoteSecretName: pulumi.String("string"),
UscName: pulumi.String("string"),
FilterSecretValue: pulumi.String("string"),
Name: pulumi.String("string"),
Namespace: pulumi.String("string"),
StaticSecretSyncId: pulumi.String("string"),
})
var staticSecretSyncResource = new StaticSecretSync("staticSecretSyncResource", StaticSecretSyncArgs.builder()
.remoteSecretName("string")
.uscName("string")
.filterSecretValue("string")
.name("string")
.namespace("string")
.staticSecretSyncId("string")
.build());
static_secret_sync_resource = akeyless.StaticSecretSync("staticSecretSyncResource",
remote_secret_name="string",
usc_name="string",
filter_secret_value="string",
name="string",
namespace="string",
static_secret_sync_id="string")
const staticSecretSyncResource = new akeyless.StaticSecretSync("staticSecretSyncResource", {
remoteSecretName: "string",
uscName: "string",
filterSecretValue: "string",
name: "string",
namespace: "string",
staticSecretSyncId: "string",
});
type: akeyless:StaticSecretSync
properties:
filterSecretValue: string
name: string
namespace: string
remoteSecretName: string
staticSecretSyncId: string
uscName: string
StaticSecretSync 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 StaticSecretSync 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
- Filter
Secret stringValue - JQ expression to filter or transform the secret value
- Name string
- Static Secret name
- Namespace string
- Static
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
- Filter
Secret stringValue - JQ expression to filter or transform the secret value
- Name string
- Static Secret name
- Namespace string
- Static
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
- filter
Secret StringValue - JQ expression to filter or transform the secret value
- name String
- Static Secret name
- namespace String
- static
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
- filter
Secret stringValue - JQ expression to filter or transform the secret value
- name string
- Static Secret name
- namespace string
- static
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
- filter_
secret_ strvalue - JQ expression to filter or transform the secret value
- name str
- Static Secret name
- namespace str
- static_
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
- filter
Secret StringValue - JQ expression to filter or transform the secret value
- name String
- Static Secret name
- namespace String
- static
Secret StringSync Id - The ID of this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the StaticSecretSync 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 StaticSecretSync Resource
Get an existing StaticSecretSync 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?: StaticSecretSyncState, opts?: CustomResourceOptions): StaticSecretSync@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
filter_secret_value: Optional[str] = None,
name: Optional[str] = None,
namespace: Optional[str] = None,
remote_secret_name: Optional[str] = None,
static_secret_sync_id: Optional[str] = None,
usc_name: Optional[str] = None) -> StaticSecretSyncfunc GetStaticSecretSync(ctx *Context, name string, id IDInput, state *StaticSecretSyncState, opts ...ResourceOption) (*StaticSecretSync, error)public static StaticSecretSync Get(string name, Input<string> id, StaticSecretSyncState? state, CustomResourceOptions? opts = null)public static StaticSecretSync get(String name, Output<String> id, StaticSecretSyncState state, CustomResourceOptions options)resources: _: type: akeyless:StaticSecretSync 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.
- Filter
Secret stringValue - JQ expression to filter or transform the secret value
- Name string
- Static Secret name
- Namespace string
- Remote
Secret stringName - Remote Secret Name that will be synced on the remote endpoint
- Static
Secret stringSync Id - The ID of this resource.
- Usc
Name string - Universal Secret Connector name
- Filter
Secret stringValue - JQ expression to filter or transform the secret value
- Name string
- Static Secret name
- Namespace string
- Remote
Secret stringName - Remote Secret Name that will be synced on the remote endpoint
- Static
Secret stringSync Id - The ID of this resource.
- Usc
Name string - Universal Secret Connector name
- filter
Secret StringValue - JQ expression to filter or transform the secret value
- name String
- Static Secret name
- namespace String
- remote
Secret StringName - Remote Secret Name that will be synced on the remote endpoint
- static
Secret StringSync Id - The ID of this resource.
- usc
Name String - Universal Secret Connector name
- filter
Secret stringValue - JQ expression to filter or transform the secret value
- name string
- Static Secret name
- namespace string
- remote
Secret stringName - Remote Secret Name that will be synced on the remote endpoint
- static
Secret stringSync Id - The ID of this resource.
- usc
Name string - Universal Secret Connector name
- filter_
secret_ strvalue - JQ expression to filter or transform the secret value
- name str
- Static Secret name
- namespace str
- remote_
secret_ strname - Remote Secret Name that will be synced on the remote endpoint
- static_
secret_ strsync_ id - The ID of this resource.
- usc_
name str - Universal Secret Connector name
- filter
Secret StringValue - JQ expression to filter or transform the secret value
- name String
- Static Secret name
- namespace String
- remote
Secret StringName - Remote Secret Name that will be synced on the remote endpoint
- static
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
akeylessTerraform Provider.
