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.

109 lines 3.91 kB
import * as pulumi from "@pulumi/pulumi"; export declare class IdentityTokenAuthToken extends pulumi.CustomResource { /** * Get an existing IdentityTokenAuthToken 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?: IdentityTokenAuthTokenState, opts?: pulumi.CustomResourceOptions): IdentityTokenAuthToken; /** * Returns true if the given object is an instance of IdentityTokenAuthToken. 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 IdentityTokenAuthToken; /** * The UTC timestamp of the created at date. */ readonly createdAt: pulumi.Output<string>; /** * The ID of the identity to create a token for */ readonly identityId: pulumi.Output<string>; /** * A flag indicating token has been revoked */ readonly isRevoked: pulumi.Output<boolean>; /** * The name of the token auth token */ readonly name: pulumi.Output<string>; /** * The number of times that the token is used */ readonly numberOfUses: pulumi.Output<number>; /** * The maximum number of times that the token can be used; a value of 0 implies infinite number of uses. Default: 0 */ readonly numberOfUsesLimit: pulumi.Output<number>; /** * The token. */ readonly token: pulumi.Output<string>; /** * The lifetime for the token in seconds. Default: 0 - not expiring */ readonly ttl: pulumi.Output<number>; /** * Create a IdentityTokenAuthToken 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: IdentityTokenAuthTokenArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IdentityTokenAuthToken resources. */ export interface IdentityTokenAuthTokenState { /** * The UTC timestamp of the created at date. */ createdAt?: pulumi.Input<string | undefined>; /** * The ID of the identity to create a token for */ identityId?: pulumi.Input<string | undefined>; /** * A flag indicating token has been revoked */ isRevoked?: pulumi.Input<boolean | undefined>; /** * The name of the token auth token */ name?: pulumi.Input<string | undefined>; /** * The number of times that the token is used */ numberOfUses?: pulumi.Input<number | undefined>; /** * The maximum number of times that the token can be used; a value of 0 implies infinite number of uses. Default: 0 */ numberOfUsesLimit?: pulumi.Input<number | undefined>; /** * The token. */ token?: pulumi.Input<string | undefined>; /** * The lifetime for the token in seconds. Default: 0 - not expiring */ ttl?: pulumi.Input<number | undefined>; } /** * The set of arguments for constructing a IdentityTokenAuthToken resource. */ export interface IdentityTokenAuthTokenArgs { /** * The ID of the identity to create a token for */ identityId: pulumi.Input<string>; /** * The name of the token auth token */ name?: pulumi.Input<string | undefined>; } //# sourceMappingURL=identityTokenAuthToken.d.ts.map