Struct object_store::gcp::GcpSigningCredential
source · pub struct GcpSigningCredential {
pub email: String,
pub private_key: Option<ServiceAccountKey>,
}
Expand description
A Google Cloud Storage Credential for signing
Fields§
§email: String
The email of the service account
private_key: Option<ServiceAccountKey>
An optional RSA private key
If provided this will be used to sign the URL, otherwise a call will be made to
iam.serviceAccounts.signBlob
. This allows supporting credential sources
that don’t expose the service account private key, e.g. IMDS.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GcpSigningCredential
impl RefUnwindSafe for GcpSigningCredential
impl Send for GcpSigningCredential
impl Sync for GcpSigningCredential
impl Unpin for GcpSigningCredential
impl UnwindSafe for GcpSigningCredential
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more