Skip to content

Secret manager bad decode base64 of data #445

@omer-shtivi

Description

@omer-shtivi

When using secrets_versions_access api, the serde tries to deserialize it as urlsafe, for some secrets it doesn't work as expected.
error:
Invalid byte 43, offset 19. at line 4 column
Unfortunately, I can't provide the full output as it contains the secret.
Here is the offending line:

#[serde_as(as = "Option<::client::serde::urlsafe_base64::Wrapper>")]
pub data: Option<Vec<u8>>,

Confirmed from version: 5.0.2+20230114

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions