pub struct LocalCredentialDescriptor {
pub provider: String,
pub auth_mode: String,
pub env_var: String,
pub material_ref: String,
pub scopes: Vec<String>,
pub secret: String,
}Expand description
Structured per-run credential provision request.
This is the local, no-network establishment surface for the OSS CLI: the
caller supplies the non-secret binding fields plus the raw secret value, and
the runtime turns it into a CredentialDelivery through the existing opaque
MaterialResolver. No secret state is persisted; the descriptor lives only
for the duration of a single run.
Fields§
§provider: StringProvider the credential authenticates against (for example github).
auth_mode: StringAuthentication mode label carried on the delivery profile/envelope.
env_var: StringEnvironment variable the secret is delivered into for the skill process.
material_ref: StringOpaque reference identifying the in-memory material for this run.
scopes: Vec<String>Scopes recorded on the credential envelope.
secret: StringThe raw secret value supplied for this run only.
Trait Implementations§
Source§impl Clone for LocalCredentialDescriptor
impl Clone for LocalCredentialDescriptor
Source§fn clone(&self) -> LocalCredentialDescriptor
fn clone(&self) -> LocalCredentialDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LocalCredentialDescriptor
impl Debug for LocalCredentialDescriptor
impl Eq for LocalCredentialDescriptor
Source§impl PartialEq for LocalCredentialDescriptor
impl PartialEq for LocalCredentialDescriptor
Source§fn eq(&self, other: &LocalCredentialDescriptor) -> bool
fn eq(&self, other: &LocalCredentialDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LocalCredentialDescriptor
Auto Trait Implementations§
impl Freeze for LocalCredentialDescriptor
impl RefUnwindSafe for LocalCredentialDescriptor
impl Send for LocalCredentialDescriptor
impl Sync for LocalCredentialDescriptor
impl Unpin for LocalCredentialDescriptor
impl UnsafeUnpin for LocalCredentialDescriptor
impl UnwindSafe for LocalCredentialDescriptor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.