Skip to main content

GatewayEnrollmentToken

Resource GatewayEnrollmentToken in pulumi-infisical.
2 min read

Resource GatewayEnrollmentToken in pulumi-infisical.

Pulumi type: infisical:index/gatewayEnrollmentToken:GatewayEnrollmentToken.

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
gatewayIdstringyesThe ID of the gateway to mint the token for. The gateway must be configured with tokenAuth.
keepers{ [key: string]: string }noArbitrary values that force a new token when any of them changes. List whatever forces the machine that consumes the token to be rebuilt, for example the AMI ID and subnet of an EC2 instance. Nothing validates this list, so an input you leave out means the rebuilt machine boots with a token that was already consumed, stays offline, and shows no drift.

Outputs#

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

PropertyTypeComputedDescription
expiresAtstringyesWhen the token expires. A token that has already been used is invalid before this.
gatewayIdstringnoThe ID of the gateway to mint the token for. The gateway must be configured with tokenAuth.
keepers{ [key: string]: string }noArbitrary values that force a new token when any of them changes. List whatever forces the machine that consumes the token to be rebuilt, for example the AMI ID and subnet of an EC2 instance. Nothing validates this list, so an input you leave out means the rebuilt machine boots with a token that was already consumed, stays offline, and shows no drift.
tokenstringyesThe enrollment token. Single-use, valid for one hour, and stored in Terraform state in plaintext.