pub fn issue_worker_bootstrap_token(
signer: &ClusterSigner,
cluster_id: impl Into<String>,
valid_for_secs: i64,
max_uses: u32,
permitted_labels: Vec<(String, String)>,
) -> Result<WorkerBootstrapToken>Expand description
Issue a fresh bootstrap token signed by the supplied ClusterSigner.
ยงErrors
Returns SecretsError::Encryption on encoding failure.