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
My program already stores AWS credentials in its own way, so I need a way to get from ByteString -> ByteString -> Credentials
It's certainly possible to write that in my program, but then I have to worry about the v4SigningKeys and iamToken fields, which seem like implementation details that could change. And one of them, being an IORef, I'm wary of constructing on my own, since making an IORef that's empty when it should be full can lead to problems, for example.
My program already stores AWS credentials in its own way, so I need a way to get from ByteString -> ByteString -> Credentials
It's certainly possible to write that in my program, but then I have to worry about the v4SigningKeys and iamToken fields, which seem like implementation details that could change. And one of them, being an IORef, I'm wary of constructing on my own, since making an IORef that's empty when it should be full can lead to problems, for example.
My program already stores AWS credentials in its own way, so I need a way to get from ByteString -> ByteString -> Credentials
It's certainly possible to write that in my program, but then I have to worry about the v4SigningKeys and iamToken fields, which seem like implementation details that could change. And one of them, being an IORef, I'm wary of constructing on my own, since making an IORef that's empty when it should be full can lead to problems, for example.
So, I suggest providing in aws:
genCredentials :: ByteString -> ByteString -> IO Credentials
Using that might also simplify the implementation of loadCredentials*
The text was updated successfully, but these errors were encountered: