TemporaryTokenDuration Parameter (Connect-Elasticsearch Cmdlet)
The amount of time (in seconds) an AWS temporary token will last.
Syntax
Connect-Elasticsearch -TemporaryTokenDuration string
Data Type
cstr
Default Value
"3600"
Remarks
Temporary tokens are used with Role based authentication. Temporary tokens will eventually time out, at which time a new temporary token must be obtained. The CData Cmdlets PowerShell Module for Elasticsearch will internally request a new temporary token once the temporary token has expired.
For Role based authentication, the minimum duration is 900 seconds (15 minutes) while the maximum if 3600 (1 hour).
This is a required parameter.