For Babelfish Release 1.11.1.3

UserAuthenticationGenerateIAMCredentialsAsync Method

Generates the temporary IAM credentials for the logged in user. These would be AccessKey, SecretKey, and SessionToken. Invokes the GenerateIAMCredentialsSuccessful event on success, and GenerateIAMCredentialsFailed on failure. If the credentials do not need to be refreshed (have not expired yet), neither event is invoked.

Definition

Namespace: Scopos.BabelFish.Runtime.Authentication
Assembly: BabelFish (in BabelFish.dll) Version: 1.11.1.4+b1da393815f6638555a663d9a94167ecabea5695
C#
public Task GenerateIAMCredentialsAsync()

Return Value

Task

Exceptions

ScoposExceptionThrown when we are unabled to retreive temporary credentials.
InitializeAsyncNotCompletedExceptionThrown if InitializeAsync() was not called after calling the UserAuthentication constructor.

See Also