Example usage for Java com.amazonaws.auth InstanceProfileCredentialsProvider fields, constructors, methods, implement or subclass
The text is from its open source code.
InstanceProfileCredentialsProvider() | |
InstanceProfileCredentialsProvider(boolean refreshCredentialsAsync) Spins up a new thread to refresh the credentials asynchronously if refreshCredentialsAsync is set to true, otherwise the credentials will be refreshed from the instance metadata service synchronously, It is strongly recommended to reuse instances of this credentials provider, especially when async refreshing is used since a background thread is created. |
AWSCredentials | getCredentials() |
InstanceProfileCredentialsProvider | getInstance() Returns a singleton InstanceProfileCredentialsProvider that does not refresh credentials asynchronously. |
void | refresh() |