Skip to main content

ProjectIdentity

Resource ProjectIdentity in pulumi-infisical.
4 min read

Resource ProjectIdentity in pulumi-infisical.

Pulumi type: infisical:index/projectIdentity:ProjectIdentity.

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
adoptExistingbooleannoWhen true, if the identity is already a member of the project (e.g. auto-added by Infisical when the project was created by this identity), the existing membership is adopted and its roles are updated to match the desired state instead of returning an error. Defaults to false.
identityIdstringyesThe id of the identity.
projectIdstringyesThe id of the project
rolesProjectIdentityRole (input)[]yesThe roles assigned to the project identity

Outputs#

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

PropertyTypeComputedDescription
adoptExistingbooleannoWhen true, if the identity is already a member of the project (e.g. auto-added by Infisical when the project was created by this identity), the existing membership is adopted and its roles are updated to match the desired state instead of returning an error. Defaults to false.
identityProjectIdentityIdentity (output)yesThe identity details of the project identity
identityIdstringnoThe id of the identity.
membershipIdstringyesThe membership Id of the project identity
projectIdstringnoThe id of the project
rolesProjectIdentityRole (output)[]noThe roles assigned to the project identity

ProjectIdentityRole (input)#

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

PropertyTypeRequiredDescription
customRoleIdstringnoThe id of the custom 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
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

ProjectIdentityIdentity (output)#

Output object ProjectIdentityIdentity. Fields below belong to this object.

PropertyTypeAlways presentDescription
authMethodsstring[]yesThe auth methods for the identity
idstringyesThe ID of the identity
namestringyesThe name of the identity

ProjectIdentityRole (output)#

Output object ProjectIdentityRole. Fields below belong to this object.

PropertyTypeAlways presentDescription
customRoleIdstringyesThe id of the custom 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
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