Test run of new docs
This commit is contained in:
66
docs/reference-security-get_service_credentials.asciidoc
Normal file
66
docs/reference-security-get_service_credentials.asciidoc
Normal file
@ -0,0 +1,66 @@
|
||||
[[reference-security-get_service_credentials]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| This file is autogenerated, DO NOT send pull requests that changes this file directly. ||
|
||||
|| You should update the script that does the generation, which can be found in: ||
|
||||
|| https://github.com/elastic/elastic-client-generator-js ||
|
||||
|| ||
|
||||
|| You can run the script with the following command: ||
|
||||
|| npm run elasticsearch -- --version <version> ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
===========================================================================================================================
|
||||
////////
|
||||
|
||||
[discrete]
|
||||
=== client.security.getServiceCredentials
|
||||
|
||||
Get service account credentials.
|
||||
|
||||
{ref}/security-api-get-service-credentials.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(SecurityGetServiceCredentialsRequest, options?): Promise<SecurityGetServiceCredentialsResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `SecurityGetServiceCredentialsRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface SecurityGetServiceCredentialsRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
namespace: <<shared-type-namespace, Namespace>>
|
||||
service: <<shared-type-name, Name>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `SecurityGetServiceCredentialsResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface SecurityGetServiceCredentialsResponse {
|
||||
service_account: string
|
||||
count: <<shared-type-integer, integer>>
|
||||
tokens: Record<string, <<shared-type-metadata, Metadata>>>
|
||||
nodes_credentials: SecurityGetServiceCredentialsNodesCredentials
|
||||
}
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user