Class TokenReviewStatusArgs
TokenReviewStatus is the result of the token authentication request.
Inherited Members
Namespace: Pulumi.Kubernetes.Types.Inputs.Authentication.V1
Assembly: Pulumi.Kubernetes.dll
Syntax
public class TokenReviewStatusArgs : ResourceArgs
Properties
View SourceAudiences
Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server.
Declaration
public InputList<string> Audiences { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Authenticated
Authenticated indicates that the token was associated with a known user.
Declaration
public Input<bool> Authenticated { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Error
Error indicates that the token couldn't be checked
Declaration
public Input<string> Error { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
User
User is the UserInfo associated with the provided token.
Declaration
public Input<UserInfoArgs> User { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<UserInfoArgs> |