swarm-secret-client: log in with a service-account token under BAO_AUTH=jwt
This commit is contained in:
parent
0461d8add8
commit
a70710dc7d
1 changed files with 272 additions and 22 deletions
|
|
@ -89,7 +89,8 @@ pub enum Error {
|
|||
#[error("{0} is unset or empty")]
|
||||
MissingEnv(&'static str),
|
||||
|
||||
/// A client-certificate file named by the environment could not be read.
|
||||
/// A client-certificate, key or service-account-token file named by the
|
||||
/// environment could not be read.
|
||||
#[error("reading {path} (from {var}): {source}")]
|
||||
Identity {
|
||||
/// The variable that named the file.
|
||||
|
|
|
|||
Loading…
Reference in a new issue