k8s v0.5.2 K8s.Conn.Auth.AuthProvider

auth-provider authentication support

Link to this section Summary

Functions

"Generate" a token using the auth-provider config in kube config.

Link to this section Types

Link to this type

t()

t() :: %K8s.Conn.Auth.AuthProvider{
  cmd_args: [String.t()],
  cmd_path: String.t(),
  expiry_key: [String.t()],
  token_key: [String.t()]
}

Link to this section Functions

Link to this function

generate_token(config)

generate_token(t()) ::
  {:ok, binary()} | {:error, binary() | atom(), {:auth_provider_fail, binary()}}

"Generate" a token using the auth-provider config in kube config.