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.

159 lines 11.2 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class ProjectIdentitySpecificPrivilege extends pulumi.CustomResource { /** * Get an existing ProjectIdentitySpecificPrivilege 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?: ProjectIdentitySpecificPrivilegeState, opts?: pulumi.CustomResourceOptions): ProjectIdentitySpecificPrivilege; /** * Returns true if the given object is an instance of ProjectIdentitySpecificPrivilege. 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 ProjectIdentitySpecificPrivilege; /** * The identity id to create identity specific privilege */ readonly identityId: pulumi.Output<string>; /** * Flag to indicate the assigned specific privilege is temporary or not. When<span pulumi-lang-nodejs=" isTemporary " pulumi-lang-dotnet=" IsTemporary " pulumi-lang-go=" isTemporary " pulumi-lang-python=" is_temporary " pulumi-lang-yaml=" isTemporary " pulumi-lang-java=" isTemporary " pulumi-lang-hcl=" is_temporary "> isTemporary </span>is true fields temporary_mode,<span pulumi-lang-nodejs=" temporaryRange " pulumi-lang-dotnet=" TemporaryRange " pulumi-lang-go=" temporaryRange " pulumi-lang-python=" temporary_range " pulumi-lang-yaml=" temporaryRange " pulumi-lang-java=" temporaryRange " pulumi-lang-hcl=" temporary_range "> temporaryRange </span>and<span pulumi-lang-nodejs=" temporaryAccessStartTime " pulumi-lang-dotnet=" TemporaryAccessStartTime " pulumi-lang-go=" temporaryAccessStartTime " pulumi-lang-python=" temporary_access_start_time " pulumi-lang-yaml=" temporaryAccessStartTime " pulumi-lang-java=" temporaryAccessStartTime " pulumi-lang-hcl=" temporary_access_start_time "> temporaryAccessStartTime </span>is required. */ readonly isTemporary: pulumi.Output<boolean>; /** * (DEPRECATED, USE permissions_v2. Refer to the migration guide in https://infisical.com/docs/internals/permissions#migrating-from-permission-v1-to-permission-v2) The permissions assigned to the project identity specific privilege */ readonly permission: pulumi.Output<outputs.ProjectIdentitySpecificPrivilegePermission | undefined>; /** * The permissions assigned to the project identity specific privilege. Refer to the documentation here https://infisical.com/docs/internals/permissions/project-permissions for its usage. */ readonly permissionsV2s: pulumi.Output<outputs.ProjectIdentitySpecificPrivilegePermissionsV2[] | undefined>; /** * The slug of the project to create identity specific privilege */ readonly projectSlug: pulumi.Output<string>; /** * The slug for the new privilege */ readonly slug: pulumi.Output<string>; /** * ISO time for which temporary access will end. Computed based on<span pulumi-lang-nodejs=" temporaryRange " pulumi-lang-dotnet=" TemporaryRange " pulumi-lang-go=" temporaryRange " pulumi-lang-python=" temporary_range " pulumi-lang-yaml=" temporaryRange " pulumi-lang-java=" temporaryRange " pulumi-lang-hcl=" temporary_range "> temporaryRange </span>and temporary_access_start_time */ readonly temporaryAccessEndTime: pulumi.Output<string>; /** * ISO time for which temporary access should begin. The current time is used by default. */ readonly temporaryAccessStartTime: pulumi.Output<string>; /** * Type of temporary access given. Types: relative. Default: relative */ readonly temporaryMode: pulumi.Output<string>; /** * TTL for the temporary time. Eg: 1m, 1h, 1d. Default: 1h */ readonly temporaryRange: pulumi.Output<string>; /** * Create a ProjectIdentitySpecificPrivilege 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: ProjectIdentitySpecificPrivilegeArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ProjectIdentitySpecificPrivilege resources. */ export interface ProjectIdentitySpecificPrivilegeState { /** * The identity id to create identity specific privilege */ identityId?: pulumi.Input<string | undefined>; /** * Flag to indicate the assigned specific privilege is temporary or not. When<span pulumi-lang-nodejs=" isTemporary " pulumi-lang-dotnet=" IsTemporary " pulumi-lang-go=" isTemporary " pulumi-lang-python=" is_temporary " pulumi-lang-yaml=" isTemporary " pulumi-lang-java=" isTemporary " pulumi-lang-hcl=" is_temporary "> isTemporary </span>is true fields temporary_mode,<span pulumi-lang-nodejs=" temporaryRange " pulumi-lang-dotnet=" TemporaryRange " pulumi-lang-go=" temporaryRange " pulumi-lang-python=" temporary_range " pulumi-lang-yaml=" temporaryRange " pulumi-lang-java=" temporaryRange " pulumi-lang-hcl=" temporary_range "> temporaryRange </span>and<span pulumi-lang-nodejs=" temporaryAccessStartTime " pulumi-lang-dotnet=" TemporaryAccessStartTime " pulumi-lang-go=" temporaryAccessStartTime " pulumi-lang-python=" temporary_access_start_time " pulumi-lang-yaml=" temporaryAccessStartTime " pulumi-lang-java=" temporaryAccessStartTime " pulumi-lang-hcl=" temporary_access_start_time "> temporaryAccessStartTime </span>is required. */ isTemporary?: pulumi.Input<boolean | undefined>; /** * (DEPRECATED, USE permissions_v2. Refer to the migration guide in https://infisical.com/docs/internals/permissions#migrating-from-permission-v1-to-permission-v2) The permissions assigned to the project identity specific privilege */ permission?: pulumi.Input<inputs.ProjectIdentitySpecificPrivilegePermission | undefined>; /** * The permissions assigned to the project identity specific privilege. Refer to the documentation here https://infisical.com/docs/internals/permissions/project-permissions for its usage. */ permissionsV2s?: pulumi.Input<pulumi.Input<inputs.ProjectIdentitySpecificPrivilegePermissionsV2>[] | undefined>; /** * The slug of the project to create identity specific privilege */ projectSlug?: pulumi.Input<string | undefined>; /** * The slug for the new privilege */ slug?: pulumi.Input<string | undefined>; /** * ISO time for which temporary access will end. Computed based on<span pulumi-lang-nodejs=" temporaryRange " pulumi-lang-dotnet=" TemporaryRange " pulumi-lang-go=" temporaryRange " pulumi-lang-python=" temporary_range " pulumi-lang-yaml=" temporaryRange " pulumi-lang-java=" temporaryRange " pulumi-lang-hcl=" temporary_range "> temporaryRange </span>and temporary_access_start_time */ temporaryAccessEndTime?: pulumi.Input<string | undefined>; /** * ISO time for which temporary access should begin. The current time is used by default. */ temporaryAccessStartTime?: pulumi.Input<string | undefined>; /** * Type of temporary access given. Types: relative. Default: relative */ temporaryMode?: pulumi.Input<string | undefined>; /** * TTL for the temporary time. Eg: 1m, 1h, 1d. Default: 1h */ temporaryRange?: pulumi.Input<string | undefined>; } /** * The set of arguments for constructing a ProjectIdentitySpecificPrivilege resource. */ export interface ProjectIdentitySpecificPrivilegeArgs { /** * The identity id to create identity specific privilege */ identityId: pulumi.Input<string>; /** * Flag to indicate the assigned specific privilege is temporary or not. When<span pulumi-lang-nodejs=" isTemporary " pulumi-lang-dotnet=" IsTemporary " pulumi-lang-go=" isTemporary " pulumi-lang-python=" is_temporary " pulumi-lang-yaml=" isTemporary " pulumi-lang-java=" isTemporary " pulumi-lang-hcl=" is_temporary "> isTemporary </span>is true fields temporary_mode,<span pulumi-lang-nodejs=" temporaryRange " pulumi-lang-dotnet=" TemporaryRange " pulumi-lang-go=" temporaryRange " pulumi-lang-python=" temporary_range " pulumi-lang-yaml=" temporaryRange " pulumi-lang-java=" temporaryRange " pulumi-lang-hcl=" temporary_range "> temporaryRange </span>and<span pulumi-lang-nodejs=" temporaryAccessStartTime " pulumi-lang-dotnet=" TemporaryAccessStartTime " pulumi-lang-go=" temporaryAccessStartTime " pulumi-lang-python=" temporary_access_start_time " pulumi-lang-yaml=" temporaryAccessStartTime " pulumi-lang-java=" temporaryAccessStartTime " pulumi-lang-hcl=" temporary_access_start_time "> temporaryAccessStartTime </span>is required. */ isTemporary?: pulumi.Input<boolean | undefined>; /** * (DEPRECATED, USE permissions_v2. Refer to the migration guide in https://infisical.com/docs/internals/permissions#migrating-from-permission-v1-to-permission-v2) The permissions assigned to the project identity specific privilege */ permission?: pulumi.Input<inputs.ProjectIdentitySpecificPrivilegePermission | undefined>; /** * The permissions assigned to the project identity specific privilege. Refer to the documentation here https://infisical.com/docs/internals/permissions/project-permissions for its usage. */ permissionsV2s?: pulumi.Input<pulumi.Input<inputs.ProjectIdentitySpecificPrivilegePermissionsV2>[] | undefined>; /** * The slug of the project to create identity specific privilege */ projectSlug: pulumi.Input<string>; /** * The slug for the new privilege */ slug?: pulumi.Input<string | undefined>; /** * ISO time for which temporary access will end. Computed based on<span pulumi-lang-nodejs=" temporaryRange " pulumi-lang-dotnet=" TemporaryRange " pulumi-lang-go=" temporaryRange " pulumi-lang-python=" temporary_range " pulumi-lang-yaml=" temporaryRange " pulumi-lang-java=" temporaryRange " pulumi-lang-hcl=" temporary_range "> temporaryRange </span>and temporary_access_start_time */ temporaryAccessEndTime?: pulumi.Input<string | undefined>; /** * ISO time for which temporary access should begin. The current time is used by default. */ temporaryAccessStartTime?: pulumi.Input<string | undefined>; /** * Type of temporary access given. Types: relative. Default: relative */ temporaryMode?: pulumi.Input<string | undefined>; /** * TTL for the temporary time. Eg: 1m, 1h, 1d. Default: 1h */ temporaryRange?: pulumi.Input<string | undefined>; } //# sourceMappingURL=projectIdentitySpecificPrivilege.d.ts.map