authentication.v1.tokenRequestSpec
"TokenRequestSpec contains client provided parameters of a token request."
Index
fn withAttestations(attestations)fn withAttestationsMixin(attestations)fn withAudiences(audiences)fn withAudiencesMixin(audiences)fn withExpirationSeconds(expirationSeconds)obj boundObjectRef
Fields
fn withAttestations
withAttestations(attestations)
"attestations is a map of well-known keys to string-slice values. The values for each key have a specific semantic meaning, which is documented on the key definition. Requesters of tokens may ask the Kubernetes API Server to attest to certain claims. The API Server may perform authorization checks depending on the key of this map."
fn withAttestationsMixin
withAttestationsMixin(attestations)
"attestations is a map of well-known keys to string-slice values. The values for each key have a specific semantic meaning, which is documented on the key definition. Requesters of tokens may ask the Kubernetes API Server to attest to certain claims. The API Server may perform authorization checks depending on the key of this map."
Note: This function appends passed data to existing values
fn withAudiences
withAudiences(audiences)
"audiences are the intendend audiences of the token. A recipient of a token must identify themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences."
fn withAudiencesMixin
withAudiencesMixin(audiences)
"audiences are the intendend audiences of the token. A recipient of a token must identify themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences."
Note: This function appends passed data to existing values
fn withExpirationSeconds
withExpirationSeconds(expirationSeconds)
"expirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response."
obj boundObjectRef
"BoundObjectReference is a reference to an object that a token is bound to."
fn boundObjectRef.withApiVersion
withApiVersion(apiVersion)
"apiVersion is API version of the referent."
fn boundObjectRef.withKind
withKind(kind)
"kind of the referent. Valid kinds are 'Pod', 'Secret', 'Node', 'ValidatingWebhookConfiguration', and 'MutatingWebhookConfiguration'."
fn boundObjectRef.withName
withName(name)
"name of the referent."
fn boundObjectRef.withUid
withUid(uid)
"uid of the referent."