Elastic Stack 7.10.2/SG 49.0.0.
I created a JWT token through the Kibana UI, however, unlike a token created through the REST API, it doesn’t display a value for the token
field, and when I attempt to retrieve the token through the rest API using:
GET /_searchguard/authtoken/<token-id>
I get the following, which also doesn’t show the value of the token
field:
{
"user_name" : "me@example.com",
"token_name" : "myindex-index-write-2021.02.26",
"requested" : {
"index_permissions" : [
{
"index_patterns" : [
"myindex-*"
],
"allowed_actions" : [
"SGS_WRITE"
]
}
],
"exclude_cluster_permissions" : [
"cluster:admin:searchguard:authtoken/_own/create"
]
},
"base" : {
"roles_be" : [
"SGS_ALL_ACCESS"
],
"config" : [
{
"type" : "ACTIONGROUPS",
"version" : 7
},
{
"type" : "ROLESMAPPING",
"version" : 7
},
{
"type" : "ROLES",
"version" : 7
},
{
"type" : "TENANTS",
"version" : 7
}
]
},
"created_at" : 1614371968000,
"expires_at" : 1645907968000
}