GetZeroTrustAccessServiceTokenResult

data class GetZeroTrustAccessServiceTokenResult(val accountId: String? = null, val clientId: String, val createdAt: String, val duration: String, val expiresAt: String, val filter: GetZeroTrustAccessServiceTokenFilter? = null, val id: String, val lastSeenAt: String, val name: String, val serviceTokenId: String? = null, val updatedAt: String, val zoneId: String? = null)

A collection of values returned by getZeroTrustAccessServiceToken.

Constructors

Link copied to clipboard
constructor(accountId: String? = null, clientId: String, createdAt: String, duration: String, expiresAt: String, filter: GetZeroTrustAccessServiceTokenFilter? = null, id: String, lastSeenAt: String, name: String, serviceTokenId: String? = null, updatedAt: String, zoneId: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val accountId: String? = null

The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.

Link copied to clipboard

The Client ID for the service token. Access will check for this value in the CF-Access-Client-ID request header.

Link copied to clipboard
Link copied to clipboard

The duration for how long the service token will be valid. Must be in the format 300ms or 2h45m. Valid time units are: ns, us (or µs), ms, s, m, h. The default is 1 year in hours (8760h).

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String

UUID

Link copied to clipboard
Link copied to clipboard

The name of the service token.

Link copied to clipboard
val serviceTokenId: String? = null

UUID

Link copied to clipboard
Link copied to clipboard
val zoneId: String? = null

The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.