You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have confirmed that this should be classified as an enhancement rather than a bug/feature.
Summary
Looking for a way to customize the way credentials are provided.
Motivation
To make it more flexible and secure.
Describe the Solution You'd Like
Here we propose to import a new interface SessionCredentialsProvider which has a method getCredentials. This is a common handling approach in other SDKs.
Describe Alternatives You've Considered
Currently the AclClientRPCHook takes SessionCredentials as input, and then invoke method getAccessKey, getSecretKey and getSecurityToken to get the different fields.
Extending SessionCredentials is not feasible as the credentials may need be refreshed and it could happen at any time, e.g.
getAccessKey()
refreshCredentials()
getSecretKey()
getSecurityToken()
then the accessKeyId is not match with secretKey and securityToken.
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Before Creating the Enhancement Request
Summary
Looking for a way to customize the way credentials are provided.
Motivation
To make it more flexible and secure.
Describe the Solution You'd Like
Here we propose to import a new interface SessionCredentialsProvider which has a method getCredentials. This is a common handling approach in other SDKs.
Describe Alternatives You've Considered
Currently the AclClientRPCHook takes SessionCredentials as input, and then invoke method getAccessKey, getSecretKey and getSecurityToken to get the different fields.
Extending SessionCredentials is not feasible as the credentials may need be refreshed and it could happen at any time, e.g.
then the accessKeyId is not match with secretKey and securityToken.
Additional Context
No response
The text was updated successfully, but these errors were encountered: