TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.
new TokenReview(name: string, args?: inputApi.authentication.v1.TokenReview, opts?: pulumi.CustomResourceOptions)
Create a authentication.v1.TokenReview resource with the given unique name, arguments, and options.
nameThe unique name of the resource.
argsThe arguments to use to populate this resource's properties.
optsA bag of options that control this resource's behavior.
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): TokenReview
Get the state of an existing
TokenReview resource, as identified by
Typically this ID is of the form
Pulumi will keep track of this resource using
name as the Pulumi ID.
Returns true if the given object is an instance of TokenReview. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
public apiVersion: pulumi.Output<“authentication.k8s.io/v1”>;
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources
id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
public kind: pulumi.Output<“TokenReview”>;
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
public metadata: pulumi.Output<outputApi.meta.v1.ObjectMeta>;
public spec: pulumi.Output<outputApi.authentication.v1.TokenReviewSpec>;
Spec holds information about the request being evaluated
public status: pulumi.Output<outputApi.authentication.v1.TokenReviewStatus>;
Status is filled in by the server and indicates whether the request can be authenticated.