Right now, CSI specification defines a secrets field inCreateSnapshotRequestand many other requests to pass credentials around.
However,GetCapacityRequest does not have this field. It is required to connect to the storage backend and retrieve the required information
I think we need an optional secrets field inGetCapacityRequest