Struct KeyLinkApiClient

Source
pub struct KeyLinkApiClient { /* private fields */ }

Implementations§

Source§

impl KeyLinkApiClient

Source

pub fn new(configuration: Arc<Configuration>) -> Self

Trait Implementations§

Source§

impl KeyLinkApi for KeyLinkApiClient

Source§

fn create_signing_key<'life0, 'async_trait>( &'life0 self, params: CreateSigningKeyParams, ) -> Pin<Box<dyn Future<Output = Result<SigningKeyDto, Error<CreateSigningKeyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Adds a new signing key to the workspace. The added key will be linked to the specific Fireblocks agent user ID. The same user will receive the proof of ownership message to be signed, and upon successful proof, the key will become enabled. Please note that this endpoint is available only for Key Link enabled workspaces.
Endpoint Permission: Admin and Non-Signing Admin.

Source§

fn create_validation_key<'life0, 'async_trait>( &'life0 self, params: CreateValidationKeyParams, ) -> Pin<Box<dyn Future<Output = Result<CreateValidationKeyResponseDto, Error<CreateValidationKeyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Adds a new validation key used to validate signing keys. The new validation key will undergo an approval process by the workspace quorum. Please note that this endpoint is available only for Key Link enabled workspaces.
Endpoint Permission: Admin and Non-Signing Admin.

Source§

fn disable_validation_key<'life0, 'async_trait>( &'life0 self, params: DisableValidationKeyParams, ) -> Pin<Box<dyn Future<Output = Result<ValidationKeyDto, Error<DisableValidationKeyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Allows disabling validation key even if it has not expired yet. It is not allowed to enable the validation key back. Another key has to be used for future validations. Please note that this endpoint is available only for Key Link enabled workspaces.
Endpoint Permission: Admin and Non-Signing Admin.

Source§

fn get_signing_key<'life0, 'async_trait>( &'life0 self, params: GetSigningKeyParams, ) -> Pin<Box<dyn Future<Output = Result<SigningKeyDto, Error<GetSigningKeyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Returns a signing key if it exists, identified by the specified Fireblocks provided keyId. Please note that this endpoint is available only for Key Link enabled workspaces.
Endpoint Permission: Admin and Non-Signing Admin.

Source§

fn get_signing_keys_list<'life0, 'async_trait>( &'life0 self, params: GetSigningKeysListParams, ) -> Pin<Box<dyn Future<Output = Result<GetSigningKeyResponseDto, Error<GetSigningKeysListError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Returns the list of signing keys in the workspace Please note that this endpoint is available only for Key Link enabled workspaces.
Endpoint Permission: Admin and Non-Signing Admin.

Source§

fn get_validation_key<'life0, 'async_trait>( &'life0 self, params: GetValidationKeyParams, ) -> Pin<Box<dyn Future<Output = Result<ValidationKeyDto, Error<GetValidationKeyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Returns a validation key if it exists, identified by the specified keyId. Please note that this endpoint is available only for Key Link enabled workspaces.
Endpoint Permission: Admin and Non-Signing Admin.

Source§

fn get_validation_keys_list<'life0, 'async_trait>( &'life0 self, params: GetValidationKeysListParams, ) -> Pin<Box<dyn Future<Output = Result<GetValidationKeyResponseDto, Error<GetValidationKeysListError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Returns the list of validation keys in the workspace Please note that this endpoint is available only for Key Link enabled workspaces.
Endpoint Permission: Admin and Non-Signing Admin.

Source§

fn set_agent_id<'life0, 'async_trait>( &'life0 self, params: SetAgentIdParams, ) -> Pin<Box<dyn Future<Output = Result<(), Error<SetAgentIdError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Can modify existing signing key id if the key is not enabled. The change done in background and will be visible once applied. If key is already enabled (after proof of ownership) the user cannot be changed. Please note that this endpoint is available only for Key Link enabled workspaces.
Endpoint Permission: Admin and Non-Signing Admin.

Source§

fn update_signing_key<'life0, 'async_trait>( &'life0 self, params: UpdateSigningKeyParams, ) -> Pin<Box<dyn Future<Output = Result<SigningKeyDto, Error<UpdateSigningKeyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Allows assigning the signing key to a vault account, if it hasn’t been assigned to any other vault accounts yet. Please note that this endpoint is available only for Key Link enabled workspaces.
Endpoint Permission: Admin and Non-Signing Admin.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,