class TokenReview extends CustomResource
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?: inputs.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
The ID is of the form
namespace is omitted, then (per
Kubernetes convention) the ID becomes
Pulumi will keep track of this resource using
name as the Pulumi ID.
getProvider(moduleMember: string): ProviderResource | undefined
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/sig-architecture/api-conventions.md#resources
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/sig-architecture/api-conventions.md#types-kinds
public metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
public spec: pulumi.Output<outputs.authentication.v1.TokenReviewSpec>;
Spec holds information about the request being evaluated
public status: pulumi.Output<outputs.authentication.v1.TokenReviewStatus>;
Status is filled in by the server and indicates whether the request can be authenticated.