[−][src]Struct tink_gcpkms::GcpClient
GcpClient
represents a client that connects to the GCP KMS backend, providing appropriate
authorization credentials.
Implementations
impl GcpClient
[src][−]
pub fn new(uri_prefix: &str) -> Result<GcpClient, TinkError>
[src][−]
Return a new GCP KMS client which will use default credentials to handle keys with
uri_prefix
prefix. uri_prefix
must have the following format: gcp-kms://[:path]
.
pub fn new_with_credentials(
uri_prefix: &str,
credential_path: &Path
) -> Result<GcpClient, TinkError>
[src][−]
uri_prefix: &str,
credential_path: &Path
) -> Result<GcpClient, TinkError>
Return a new GCP KMS client which will use given credentials to handle keys with
uri_prefix
prefix. uri_prefix
must have the following format: gcp-kms://[:path]
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GcpClient
impl Send for GcpClient
impl Sync for GcpClient
impl Unpin for GcpClient
impl UnwindSafe for GcpClient
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[+]
V: MultiLane<T>,