UNPKG

pulumi-infisical

Version:

A Pulumi provider for managing Infisical secrets management platform, dynamically bridged from the Terraform Infisical provider with support for projects, secrets, identity management, integrations, and access controls.

147 lines (146 loc) 5.4 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class SecretSyncAzureKeyVault extends pulumi.CustomResource { /** * Get an existing SecretSyncAzureKeyVault resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SecretSyncAzureKeyVaultState, opts?: pulumi.CustomResourceOptions): SecretSyncAzureKeyVault; /** * Returns true if the given object is an instance of SecretSyncAzureKeyVault. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is SecretSyncAzureKeyVault; /** * Whether secrets should be automatically synced when changes occur at the source location or not. */ readonly autoSyncEnabled: pulumi.Output<boolean>; /** * The ID of the azure Connection to use for syncing. */ readonly connectionId: pulumi.Output<string>; /** * An optional description for the Azure Key Vault sync. */ readonly description: pulumi.Output<string | undefined>; /** * The destination configuration for the secret sync. */ readonly destinationConfig: pulumi.Output<outputs.SecretSyncAzureKeyVaultDestinationConfig>; /** * The slug of the project environment to sync secrets from. */ readonly environment: pulumi.Output<string>; /** * The name of the Azure Key Vault sync to create. Must be slug-friendly. */ readonly name: pulumi.Output<string>; /** * The ID of the Infisical project to create the sync in. */ readonly projectId: pulumi.Output<string>; /** * The folder path to sync secrets from. */ readonly secretPath: pulumi.Output<string>; /** * Parameters to modify how secrets are synced. */ readonly syncOptions: pulumi.Output<outputs.SecretSyncAzureKeyVaultSyncOptions>; /** * Create a SecretSyncAzureKeyVault resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: SecretSyncAzureKeyVaultArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SecretSyncAzureKeyVault resources. */ export interface SecretSyncAzureKeyVaultState { /** * Whether secrets should be automatically synced when changes occur at the source location or not. */ autoSyncEnabled?: pulumi.Input<boolean>; /** * The ID of the azure Connection to use for syncing. */ connectionId?: pulumi.Input<string>; /** * An optional description for the Azure Key Vault sync. */ description?: pulumi.Input<string>; /** * The destination configuration for the secret sync. */ destinationConfig?: pulumi.Input<inputs.SecretSyncAzureKeyVaultDestinationConfig>; /** * The slug of the project environment to sync secrets from. */ environment?: pulumi.Input<string>; /** * The name of the Azure Key Vault sync to create. Must be slug-friendly. */ name?: pulumi.Input<string>; /** * The ID of the Infisical project to create the sync in. */ projectId?: pulumi.Input<string>; /** * The folder path to sync secrets from. */ secretPath?: pulumi.Input<string>; /** * Parameters to modify how secrets are synced. */ syncOptions?: pulumi.Input<inputs.SecretSyncAzureKeyVaultSyncOptions>; } /** * The set of arguments for constructing a SecretSyncAzureKeyVault resource. */ export interface SecretSyncAzureKeyVaultArgs { /** * Whether secrets should be automatically synced when changes occur at the source location or not. */ autoSyncEnabled?: pulumi.Input<boolean>; /** * The ID of the azure Connection to use for syncing. */ connectionId: pulumi.Input<string>; /** * An optional description for the Azure Key Vault sync. */ description?: pulumi.Input<string>; /** * The destination configuration for the secret sync. */ destinationConfig: pulumi.Input<inputs.SecretSyncAzureKeyVaultDestinationConfig>; /** * The slug of the project environment to sync secrets from. */ environment: pulumi.Input<string>; /** * The name of the Azure Key Vault sync to create. Must be slug-friendly. */ name?: pulumi.Input<string>; /** * The ID of the Infisical project to create the sync in. */ projectId: pulumi.Input<string>; /** * The folder path to sync secrets from. */ secretPath: pulumi.Input<string>; /** * Parameters to modify how secrets are synced. */ syncOptions: pulumi.Input<inputs.SecretSyncAzureKeyVaultSyncOptions>; }