Skip to main content

ProjectUser

Resource ProjectUser in pulumi-infisical.
3 min read

Resource ProjectUser in pulumi-infisical.

Pulumi type: infisical:index/projectUser:ProjectUser.

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
projectIdstringyesThe id of the project
rolesProjectUserRole (input)[]yesThe roles assigned to the project user
usernamestringyesThe usename of the user. By default its the email

Outputs#

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

PropertyTypeComputedDescription
membershipIdstringyesThe membershipId of the project user
projectIdstringnoThe id of the project
rolesProjectUserRole (output)[]noThe roles assigned to the project user
userProjectUserUser (output)yesThe user details of the project user
usernamestringnoThe usename of the user. By default its the email

ProjectUserRole (input)#

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

PropertyTypeRequiredDescription
customRoleIdstringnoThe id of the custom role slug
idstringnoThe ID of the project user 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

ProjectUserRole (output)#

Output object ProjectUserRole. Fields below belong to this object.

PropertyTypeAlways presentDescription
customRoleIdstringyesThe id of the custom role slug
idstringyesThe ID of the project user 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

ProjectUserUser (output)#

Output object ProjectUserUser. Fields below belong to this object.

PropertyTypeAlways presentDescription
emailstringyesThe email of the user
firstNamestringyesThe first name of the user
idstringyesThe id of the user
lastNamestringyesThe last name of the user