Asynchronously load credentials required for generating OCI request signature.
Promise resolved with IAMCredentials or rejected with an error. Properties of type Buffer such as privateKey or passphrase will be erased once the signature is generated.
Generated using TypeDoc
You may implement IAMCredentialsProvider interface to securely obtain credentials required for generation of OCI request signature, as described in IAMConfig. IAMCredentialsProvider is set as credentialsProvider property of IAMConfig. Instead of a class implementing this interface, you may also set credentialsProvider to function with the signature of loadCredentials.
See