mirror of https://github.com/dapr/rust-sdk.git
Update main.rs
Co-authored-by: Mike Nguyen <hey@mike.ee> Signed-off-by: Zachary K Edgell <zacharyedgell@gmail.com>
This commit is contained in:
parent
fb1d6b3018
commit
034da1d5cc
|
@ -48,7 +48,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
let encrypted = client
|
||||
.encrypt(
|
||||
ReaderStream::new(image),
|
||||
EncryptRequestOptions {
|
||||
dapr::client::EncryptRequestOptions {
|
||||
component_name: "localstorage".to_string(),
|
||||
key_name: "rsa-private-key.pem".to_string(),
|
||||
key_wrap_algorithm: "RSA".to_string(),
|
||||
|
|
Loading…
Reference in New Issue