@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix mcr: <https://registry.apicrafter.io/vocab#> .
@prefix dt: <https://registry.apicrafter.io/datatype/> .
@prefix cat: <https://registry.apicrafter.io/category/> .
@prefix country: <https://registry.apicrafter.io/country/> .
@prefix tool: <https://registry.apicrafter.io/tool/> .

dt:grafana_cloud_token a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:notation "grafana_cloud_token" ;
    skos:prefLabel "Grafana Cloud access policy token"@en ;
    skos:definition "Token of a Grafana Cloud access policy, used by agents and API clients to send and query telemetry. Grafana documents that these tokens start with glc_; the regexp follows the gitleaks rule for the rest (32 to 400 Base64 characters). Service account tokens of a Grafana instance (glsa_) are grafana_service_account_token."@en ;
    skos:broader dt:access_token ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "identifier" ;
    mcr:regexp "^glc_[A-Za-z0-9+/]{32,400}={0,3}$" ;
    rdfs:seeAlso <https://grafana.com/docs/learning-paths/connect-agent-to-agent-observability/create-access-policy-and-token/> ;
    rdfs:seeAlso <https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml> .
