Module Values.ServiceAccountTokenSummaryWithKeySource

A structure that contains the information about a service account token. This structure is returned when creating the token. It is important to store the key that is returned, as it is not retrievable at a later time. If you lose the key, you can delete and recreate the token, which will create a new key.

Sourcetype nonrec t = {
  1. id : String_.t option;
    (*

    The unique ID of the service account token.

    *)
  2. name : String_.t option;
    (*

    The name of the service account token.

    *)
  3. key : ServiceAccountTokenKey.t option;
    (*

    The key for the service account token. Used when making calls to the Grafana HTTP APIs to authenticate and authorize the requests.

    *)
}
Sourceval make : ?id:??? -> ?name:??? -> ?key:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t