Constructor
new FileSubjectTokenSupplier(opts)
Instantiates a new file based subject token supplier.
Parameters:
Name | Type | Description |
---|---|---|
opts |
The file subject token supplier options to build the supplier with. |
Methods
(async) getSubjectToken(context)
Returns the subject token stored at the file specified in the constructor.
Parameters:
Name | Type | Description |
---|---|---|
context |
ExternalAccountSupplierContext from the calling IdentityPoolClient, contains the requested audience and subject token type for the external account identity. Not used. |