Cmdlets for Amazon Athena

Build 20.0.7654

CredentialsLocation Parameter (Connect-AmazonAthena Cmdlet)

The location of the settings file where MFA credentials are saved.

Syntax

Connect-AmazonAthena -CredentialsLocation string

Remarks

MFA credentials are short lived and typically expire after an hour. At that point, a different MFAToken must be specified to continue connecting. MFA tokens only work once, so in the case of multi-threaded or multi-process applications, the credentials must be centrally located and shared to avoid problems. When MFAToken is not specified, this property does nothing.

If left unspecified, the default location is "%APPDATA%\\CData\\AmazonAthena Data Provider\\CredentialsFile.txt" with %APPDATA% being set to the user's configuration directory:

Platform %APPDATA%
Windows The value of the APPDATA environment variable
Mac ~/.config
Linux ~/.config

Copyright (c) 2020 CData Software, Inc. - All rights reserved.
Build 20.0.7654