Skip to main content

ProjectScopedIdentity

Resource ProjectScopedIdentity in pulumi-infisical.
4 min read

Resource ProjectScopedIdentity in pulumi-infisical.

Pulumi type: infisical:index/projectScopedIdentity:ProjectScopedIdentity.

name is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

Arguments#

PropertyTypeRequiredDescription
hasDeleteProtectionbooleannoWhether the identity has delete protection enabled. Defaults to false.
metadatasProjectScopedIdentityMetadata (input)[]noThe metadata associated with this identity.
namestringnoThe name of the identity.
projectIdstringyesThe ID of the project that owns this identity.
rolesProjectScopedIdentityRole (input)[]yesThe roles assigned to the project-scoped identity. At least one permanent (non-temporary) role is required.

Outputs#

Computed outputs are produced by the provider. They are not constructor arguments.

PropertyTypeComputedDescription
authMethodsstring[]yesThe authentication methods configured for the identity.
hasDeleteProtectionbooleannoWhether the identity has delete protection enabled. Defaults to false.
metadatasProjectScopedIdentityMetadata (output)[]noThe metadata associated with this identity.
namestringnoThe name of the identity.
projectIdstringnoThe ID of the project that owns this identity.
rolesProjectScopedIdentityRole (output)[]noThe roles assigned to the project-scoped identity. At least one permanent (non-temporary) role is required.

ProjectScopedIdentityMetadata (input)#

Input object ProjectScopedIdentityMetadata. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
keystringyesThe key of the metadata entry.
valuestringyesThe value of the metadata entry.

ProjectScopedIdentityRole (input)#

Input object ProjectScopedIdentityRole. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
customRoleIdstringnoThe id of the custom role. Read-only; reference custom roles via role_slug.
idstringnoThe ID of the project identity role.
isTemporarybooleannoFlag to indicate the assigned role is temporary or not. When isTemporary is true fields temporary_mode,temporaryRange and temporaryAccessStartTime is required.
roleSlugstringyesThe slug of the role. To assign a custom role, set this to the custom role's slug.
temporaryAccessEndTimestringnoISO time for which temporary access will end. Computed based on temporaryRange and temporary_access_start_time
temporaryAccessStartTimestringnoISO time for which temporary access should begin. The current time is used by default.
temporaryModestringnoType of temporary access given. Types: relative. Default: relative
temporaryRangestringnoTTL for the temporary time. Eg: 1m, 1h, 1d. Default: 1h

ProjectScopedIdentityMetadata (output)#

Output object ProjectScopedIdentityMetadata. Fields below belong to this object.

PropertyTypeAlways presentDescription
keystringyesThe key of the metadata entry.
valuestringyesThe value of the metadata entry.

ProjectScopedIdentityRole (output)#

Output object ProjectScopedIdentityRole. Fields below belong to this object.

PropertyTypeAlways presentDescription
customRoleIdstringyesThe id of the custom role. Read-only; reference custom roles via role_slug.
idstringyesThe ID of the project identity role.
isTemporarybooleanyesFlag to indicate the assigned role is temporary or not. When isTemporary is true fields temporary_mode,temporaryRange and temporaryAccessStartTime is required.
roleSlugstringyesThe slug of the role. To assign a custom role, set this to the custom role's slug.
temporaryAccessEndTimestringyesISO time for which temporary access will end. Computed based on temporaryRange and temporary_access_start_time
temporaryAccessStartTimestringyesISO time for which temporary access should begin. The current time is used by default.
temporaryModestringyesType of temporary access given. Types: relative. Default: relative
temporaryRangestringyesTTL for the temporary time. Eg: 1m, 1h, 1d. Default: 1h